Issues (463)

djoser/social/urls.py (3 issues)

1
from django.urls import re_path
0 ignored issues
show
This module should have a docstring.

The coding style of this project requires that you add a docstring to this code element. Below, you find an example for methods:

class SomeClass:
    def some_method(self):
        """Do x and return foo."""

If you would like to know more about docstrings, we recommend to read PEP-257: Docstring Conventions.

Loading history...
The name re_path does not seem to exist in module django.urls.
Loading history...
2
3
from djoser.social import views
4
5
urlpatterns = [
0 ignored issues
show
Coding Style Naming introduced by
The name urlpatterns does not conform to the constant naming conventions ((([A-Z_][A-Z0-9_]*)|(__.*__))$).

This check looks for invalid names for a range of different identifiers.

You can set regular expressions to which the identifiers must conform if the defaults do not match your requirements.

If your project includes a Pylint configuration file, the settings contained in that file take precedence.

To find out more about Pylint, please refer to their site.

Loading history...
6
    re_path(
7
        r"^o/(?P<provider>\S+)/$",
8
        views.ProviderAuthView.as_view(),
9
        name="provider-auth",
10
    )
11
]
12