You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
15 lines
456 B
15 lines
456 B
6 months ago
|
from django.contrib import admin
|
||
|
from django.urls import path, include
|
||
|
from django.conf import settings
|
||
|
from django.conf.urls.static import static
|
||
|
|
||
|
urlpatterns = [
|
||
|
path('admin/', admin.site.urls),
|
||
|
path('account/', include('account.urls', namespace='account')),
|
||
|
path('', include('survey.urls', namespace='survey')),
|
||
|
]
|
||
|
|
||
|
if settings.DEBUG:
|
||
|
urlpatterns += static(settings.MEDIA_URL,
|
||
|
document_root=settings.MEDIA_ROOT)
|