flake8
failed.
JSHint
passed.
flake8
-
djblets/integrations/urls.py (Diff revision 1) Show all issues
Review Request #12745 — Created Nov. 28, 2022 and submitted
Information | |
---|---|
chipx86 | |
Djblets | |
release-3.x | |
Reviewers | |
djblets | |
Django 3.x and higher require specifying an app name when also
specifying a namespace forinclude()
when building URL patterns.
This change addsapp_name
to complementnamespace
in
build_integration_urlpatterns()
.The function itself now expects keyword arguments. Positional arguments
are supported but deprecated with a warning.Type hints have also been added throughout
djblets.integrations.urls
.
Made use of this with RBCommons, which needs this on Django 3.2.
Summary | |
---|---|
Description | From | Last Updated |
---|---|---|
'django.urls.URLResolver' imported but unused Column: 1 Error code: F401 |
![]() |
Removed an unused import.
Commits: |
|
|||||||||
---|---|---|---|---|---|---|---|---|---|---|
Diff: |
Revision 2 (+102 -10) |