diff --git a/khaganat/urls.py b/khaganat/urls.py index c4fb89b..15ae96d 100644 --- a/khaganat/urls.py +++ b/khaganat/urls.py @@ -17,12 +17,14 @@ from django.views.generic.base import RedirectView from django.conf.urls.i18n import i18n_patterns from django.contrib import admin from django.urls import include,path +from pages.views import index urlpatterns = [ - path('', RedirectView.as_view(url='/page', permanent=False)), + path('', index), path('admin/', admin.site.urls), ] urlpatterns += i18n_patterns( + path('', index), path('page/', include('pages.urls')), )