huh new thing
This commit is contained in:
1 parent
d40476ebc3
commit
0975a125c7
125 files changed
+2195
-21409
No files matched your search
@@ -17,14 +17,12 @@ Including another URLconf
|
||||
|
||||
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("", RedirectView.as_view(url="/admin/", permanent=False)),
|
||||
path("", include("app.urls")),
|
||||
]
|
||||
+ static(settings.STATIC_URL, document_root=settings.STATIC_ROOT)
|
||||
|
||||
Reference in new issue
Block a user