Issues (463)

testproject/urls.py (4 issues)

1
from django.urls import include, 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 include does not seem to exist in module django.urls.
Loading history...
The name re_path does not seem to exist in module django.urls.
Loading history...
2
3
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...
4
    re_path(r"^auth/", include("djoser.urls.base")),
5
    re_path(r"^auth/", include("djoser.urls.authtoken")),
6
    re_path(r"^auth/", include("djoser.urls.jwt")),
7
    re_path(r"^auth/", include("djoser.social.urls")),
8
)
9