fnp
/
cas.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
More SSH management.
[cas.git]
/
src
/
cas
/
urls.py
diff --git
a/src/cas/urls.py
b/src/cas/urls.py
index
2d44e70
..
f3785ac
100644
(file)
--- a/
src/cas/urls.py
+++ b/
src/cas/urls.py
@@
-1,10
+1,11
@@
-# -*- coding: utf-8 -*-
from django.urls import path, include
from django.views.generic import RedirectView
from django.contrib import admin
from django.conf import settings
from django.urls import path, include
from django.views.generic import RedirectView
from django.contrib import admin
from django.conf import settings
-admin.autodiscover()
+
+admin.site.site_header = settings.SITE_TITLE
+
urlpatterns = [
path('', RedirectView.as_view(url='/accounts/', permanent=False)),
urlpatterns = [
path('', RedirectView.as_view(url='/accounts/', permanent=False)),
@@
-17,6
+18,9
@@
urlpatterns = [
path('admin/', admin.site.urls),
path('accounts/', include('accounts.urls')),
path('admin/', admin.site.urls),
path('accounts/', include('accounts.urls')),
+ path('services/', include('services.urls')),
+ path('ssh/', include('ssh_keys.urls')),
+ path('auth/', include('django.contrib.auth.urls')),
]
]