mirror of
https://github.com/jazzband/django-constance.git
synced 2026-04-08 01:10:58 +00:00
14 lines
313 B
Python
14 lines
313 B
Python
from django.contrib.staticfiles.urls import staticfiles_urlpatterns
|
|
from django.contrib import admin
|
|
from django.conf import settings
|
|
from django.urls import re_path
|
|
|
|
|
|
admin.autodiscover()
|
|
|
|
urlpatterns = [
|
|
re_path('admin/', admin.site.urls),
|
|
]
|
|
|
|
if settings.DEBUG:
|
|
urlpatterns += staticfiles_urlpatterns()
|