Changeset View
Changeset View
Standalone View
Standalone View
src/djangox_project/urls.py
- This file was added.
from django.conf import settings | |||||
from django.contrib import admin | |||||
from django.urls import path, include | |||||
urlpatterns = [ | |||||
path('admin/', admin.site.urls), | |||||
path('users/', include('django.contrib.auth.urls')), | |||||
path('accounts/', include('allauth.urls')), | |||||
path('', include('pages.urls')), | |||||
] | |||||
if settings.DEBUG: | |||||
import debug_toolbar | |||||
urlpatterns = [ | |||||
path('__debug__/', include(debug_toolbar.urls)), | |||||
] + urlpatterns |
Content licensed under Creative Commons Attribution-ShareAlike 3.0 (CC-BY-SA) unless otherwise noted; code licensed under GNU General Public License (GPL) or other open source licenses. By using this site, you agree to the Terms of Use, Privacy Policy, and Code of Conduct. · Wikimedia Foundation · Privacy Policy · Code of Conduct · Terms of Use · Disclaimer · CC-BY-SA · GPL