Skip to content

urlpatterns doesnt conform to UPPER_CASE naming style #161

Closed
@ohcibi

Description

@ohcibi

In a new django project that uses the admin module there is this code in urls.py

urlpatterns = [
    path('admin/', admin.site.urls),
]

When using pylint with pylint-django the line containing urlpatterns is still marked with a warning:

invalid-name: Constant name "urlpatterns" doesn't conform to UPPER_CASE naming style

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions