2015-01-17 14:01:22 +01:00
|
|
|
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
|
|
|
|
|
2015-01-17 14:01:22 +01:00
|
|
|
from django.contrib import admin
|
|
|
|
admin.autodiscover()
|
2014-05-18 00:07:32 +02:00
|
|
|
|
2015-01-17 14:01:22 +01:00
|
|
|
urlpatterns = patterns(
|
|
|
|
'',
|
2015-01-20 00:51:05 +01:00
|
|
|
url(r'', include('dashboard.urls')),
|
2015-01-17 16:28:19 +01:00
|
|
|
url(r'^accounts/', include('allauth.urls')),
|
2015-01-26 12:07:56 +01:00
|
|
|
url(r'^database/', include('userdbs.urls')),
|
2015-01-25 00:40:43 +01:00
|
|
|
url(r'^domains/', include('domains.urls')),
|
2015-01-20 00:51:05 +01:00
|
|
|
url(r'^hosting/', include('hostingpackages.urls')),
|
2015-01-26 22:47:49 +01:00
|
|
|
url(r'^website/', include('websites.urls')),
|
2015-01-25 12:16:18 +01:00
|
|
|
url(r'^mail/', include('managemails.urls')),
|
2015-01-24 16:26:32 +01:00
|
|
|
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)),
|
|
|
|
)
|