1 | from django.urls import re_path |
||
0 ignored issues
–
show
|
|||
2 | from rest_framework_simplejwt import views |
||
0 ignored issues
–
show
|
|||
3 | |||
4 | urlpatterns = [ |
||
0 ignored issues
–
show
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. ![]() |
|||
5 | re_path(r"^jwt/create/?", views.TokenObtainPairView.as_view(), name="jwt-create"), |
||
6 | re_path(r"^jwt/refresh/?", views.TokenRefreshView.as_view(), name="jwt-refresh"), |
||
7 | re_path(r"^jwt/verify/?", views.TokenVerifyView.as_view(), name="jwt-verify"), |
||
8 | ] |
||
9 |
The coding style of this project requires that you add a docstring to this code element. Below, you find an example for methods:
If you would like to know more about docstrings, we recommend to read PEP-257: Docstring Conventions.