gva/gnuviechadmin/gnuviechadmin/urls.py

30 lines
970 B
Python
Raw Normal View History

from __future__ import absolute_import
2014-05-18 00:07:32 +02:00
from django.conf.urls import patterns, include, url
from django.conf import settings
from django.contrib import admin
admin.autodiscover()
2014-05-18 00:07:32 +02:00
urlpatterns = patterns(
'',
url(r'', include('dashboard.urls')),
2015-01-17 16:28:19 +01:00
url(r'^accounts/', include('allauth.urls')),
url(r'^database/', include('userdbs.urls')),
url(r'^domains/', include('domains.urls')),
url(r'^hosting/', include('hostingpackages.urls')),
url(r'^website/', include('websites.urls')),
url(r'^mail/', include('managemails.urls')),
url(r'^osuser/', include('osusers.urls')),
2014-05-18 00:07:32 +02:00
url(r'^admin/', include(admin.site.urls)),
)
# Uncomment the next line to serve media files in dev.
# urlpatterns += static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
if settings.DEBUG:
import debug_toolbar
urlpatterns += patterns('',
url(r'^__debug__/', include(debug_toolbar.urls)),
)