|
@@ -16,8 +16,12 @@ Including another URLconf
|
|
|
from django.conf.urls import include, url
|
|
|
from django.contrib import admin
|
|
|
import costs.urls
|
|
|
+from django.views.generic import RedirectView
|
|
|
+
|
|
|
|
|
|
urlpatterns = [
|
|
|
url(r'^admin/', include(admin.site.urls)),
|
|
|
url(r'^transparency/', include(costs.urls)),
|
|
|
+ url(r'^/?$', RedirectView.as_view(
|
|
|
+ pattern_name='index', permanent=False)),
|
|
|
]
|