summaryrefslogtreecommitdiffstats
path: root/admin_tools/urls.py
blob: fb1f49ed2f6f332a96a5c59692bbaa658dcb762f (plain)
1
2
3
4
5
6
7
8
9
10
from django.conf import settings
from django.conf.urls import patterns, url, include

urls = []
if 'admin_tools.menu' in settings.INSTALLED_APPS:
    urls.append(url(r'^menu/', include('admin_tools.menu.urls')))
if 'admin_tools.dashboard' in settings.INSTALLED_APPS:
    urls.append(url(r'^dashboard/', include('admin_tools.dashboard.urls')))

urlpatterns = patterns('', *urls)