'''

docs / reference:
    - https://docs.djangoproject.com/en/1.11/topics/http/urls/

'''
from decorator_include import decorator_include

from django.conf.urls import include, url
from django.contrib import admin
from django.contrib.auth.decorators import login_required
from django.urls import reverse_lazy
from django.views.generic import base as django_views

urlpatterns = [

    # includes
    url(r'^account/', include('callisto_core.accounts.urls')),
    url(r'^reports/', decorator_include(login_required, 'callisto_core.delivery.urls')),

    # login / signup
    url(r'^$', django_views.RedirectView.as_view(
        url=reverse_lazy('signup'), permanent=True)),
    url(r'^signup/$', django_views.RedirectView.as_view(
        url=reverse_lazy('signup'), permanent=True)),
    url(r'^logout/$', django_views.RedirectView.as_view(
        url=reverse_lazy('logout'), permanent=True)),
    url(r'^login/$', django_views.RedirectView.as_view(
        url=reverse_lazy('login'), permanent=True)),

    # admin
    url(r'^nested_admin/', include('nested_admin.urls')),
    url(r'^admin/', admin.site.urls),

]

@@ -648,36 +648,20 @@
 signup')
-, permanent=True
 )),%0A
+
     url(
@@ -743,32 +743,16 @@
 signup')
-, permanent=True
 )),%0A    
@@ -838,32 +838,16 @@
 logout')
-, permanent=True
 )),%0A    
@@ -890,32 +890,32 @@
 ctView.as_view(%0A
+
         url=reve
@@ -935,24 +935,8 @@
 in')
-, permanent=True
 )),%0A

make redirects not permanent