-
Notifications
You must be signed in to change notification settings - Fork 173
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #161 from modlinltd/support-py310-django40
Support python 3.10 and django 4.0
- Loading branch information
Showing
7 changed files
with
20 additions
and
40 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -18,3 +18,4 @@ tests/db.sqlite* | |
/tests/local.db | ||
/.venv | ||
.vscode/settings.json | ||
pyrightconfig.json |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,14 @@ | ||
from django.conf.urls import url | ||
from django.urls import path | ||
|
||
from advanced_filters.views import GetFieldChoices | ||
|
||
urlpatterns = [ | ||
url(r'^field_choices/(?P<model>.+)/(?P<field_name>.+)/?', | ||
path('field_choices/<model>/<field_name>/', | ||
GetFieldChoices.as_view(), | ||
name='afilters_get_field_choices'), | ||
|
||
# only to allow building dynamically | ||
url(r'^field_choices/$', | ||
path('field_choices/', | ||
GetFieldChoices.as_view(), | ||
name='afilters_get_field_choices'), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,7 @@ | ||
from django.conf.urls import include, url | ||
from django.urls import include, path | ||
from django.contrib import admin | ||
|
||
urlpatterns = [ | ||
url(r'^admin/', admin.site.urls), | ||
url(r'^advanced_filters/', include('advanced_filters.urls')) | ||
path('admin/', admin.site.urls), | ||
path('advanced_filters/', include('advanced_filters.urls')) | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters