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.
16 lines
435 B
16 lines
435 B
1 year ago
|
from django.contrib import admin
|
||
|
from django.urls import path, include
|
||
|
from django.views.generic import RedirectView
|
||
|
from django.conf import settings
|
||
|
from django.conf.urls.static import static
|
||
|
|
||
|
urlpatterns = [
|
||
|
path('admin/', admin.site.urls),
|
||
|
path('', include('adminpanel.urls')),
|
||
|
path('', RedirectView.as_view(url='/admin/adminpanel/orders'), name='')
|
||
|
] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
|
||
|
|
||
|
|
||
|
|
||
|
|