Skip to content

Commit

Permalink
Updated url parsing in testproject (#61)
Browse files Browse the repository at this point in the history
- updated changelog
- bumped version
  • Loading branch information
vittoriozamboni authored Jan 29, 2022
1 parent 99a732b commit a1bafd8
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 7 deletions.
6 changes: 5 additions & 1 deletion docs/source/changelog.rst
Original file line number Diff line number Diff line change
@@ -1,11 +1,15 @@
Changelog
=========
- 22-01-29 (1.2.0):
- Support Django 4: uses correct url parser function `re_path` (see issue #60, thank you Lukas Hennies!)
- Updated intro.rst, fixed wrong example (see issue #57, thank you Areski Belaid!)

- 21-04-11 (1.1.0):
- Removed `awesome-slugify` from requirements. It needs to be installed separately due to his licence (see issue #54, thank you BoPeng!);
- Added a new settings to customize the slugify functions for username and other cases.

- 20-06-17 (1.0.2):
- Changed jsonfield2 to jsonfield in requirements
- Changed jsonfield2 to jsonfield in requirements and tests (see issue #49, thank you ioio!);

- 20-03-07 (1.0.1):
- Amended Django 3 deprecations
Expand Down
2 changes: 1 addition & 1 deletion groups_manager/__init__.py
Original file line number Diff line number Diff line change
@@ -1 +1 @@
VERSION = '1.1.0'
VERSION = '1.2.0'
9 changes: 4 additions & 5 deletions testproject/testproject/urls.py
Original file line number Diff line number Diff line change
@@ -1,13 +1,12 @@
import django
from django.conf import settings
from django.conf.urls import include, url
from django.urls import include, re_path
from django.conf.urls.static import static
from django.contrib import admin

from testproject import views

urlpatterns = [
url(r'^admin/', admin.site.urls),
url(r'^$', views.TestView.as_view(), name='home'),
url(r'^groups-manager/', include('groups_manager.urls', namespace='groups_manager')),
re_path(r'^admin/', admin.site.urls),
re_path(r'^$', views.TestView.as_view(), name='home'),
re_path(r'^groups-manager/', include('groups_manager.urls', namespace='groups_manager')),
] + static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)

0 comments on commit a1bafd8

Please sign in to comment.