20 lines
538 B
Python
20 lines
538 B
Python
"""
|
|
URL configuration for seduttomotorsports project.
|
|
"""
|
|
|
|
from django.urls import path
|
|
from . import views
|
|
from django.conf import settings
|
|
from django.conf.urls.static import static
|
|
|
|
urlpatterns = [
|
|
path("", views.quote_upload, name="quote_upload"),
|
|
]
|
|
|
|
if settings.DEBUG:
|
|
urlpatterns += [
|
|
path("test-iframe/", views.test_iframe, name="test_iframe"),
|
|
]
|
|
urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
|
|
urlpatterns += static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)
|