Other user aliases view.
[cas.git] / src / cas / urls.py
index abe01e8..6f7a09e 100644 (file)
@@ -3,7 +3,9 @@ from django.views.generic import RedirectView
 from django.contrib import admin
 from django.conf import settings
 
 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)),
@@ -16,6 +18,7 @@ urlpatterns = [
     path('admin/', admin.site.urls),
 
     path('accounts/', include('accounts.urls')),
     path('admin/', admin.site.urls),
 
     path('accounts/', include('accounts.urls')),
+    path('email/', include('emails.urls')),
     path('services/', include('services.urls')),
     path('ssh/', include('ssh_keys.urls')),
     path('auth/', include('django.contrib.auth.urls')),
     path('services/', include('services.urls')),
     path('ssh/', include('ssh_keys.urls')),
     path('auth/', include('django.contrib.auth.urls')),