Spaces:
Sleeping
Sleeping
File size: 500 Bytes
685732c | 1 2 3 4 5 6 7 8 9 10 11 12 13 14 | from django.contrib import admin
from django.urls import path, include
from django.conf import settings
# Update this specific line below:
from django.conf.urls.static import static
urlpatterns = [
path('admin/', admin.site.urls), # Note: corrected to .urls
path('', include('transcriber.urls')),
]
# This allows Django to serve files from the media folder during development
if settings.DEBUG:
urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT) |