Skip to content

Commit

Permalink
Use path in test_urls.py.
Browse files Browse the repository at this point in the history
  • Loading branch information
valberg committed Mar 30, 2022
1 parent 4aec98d commit e1124e5
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions test_urls.py
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
from django.conf.urls import url, include
from django.conf.urls import path, include
from django.contrib import admin
from django.conf import settings

admin.autodiscover()

urlpatterns = [
url(r'^invitations/', include('invitations.urls')),
url(r'^admin/', admin.site.urls),
path('invitations/', include('invitations.urls')),
path('admin/', admin.site.urls),
]

if 'allauth' in settings.INSTALLED_APPS:
urlpatterns.append(
url(r'^accounts/', include('allauth.urls'))
path('accounts/', include('allauth.urls'))
)

0 comments on commit e1124e5

Please sign in to comment.