from django.conf.urls import patterns, include, url

# Uncomment the next two lines to enable the admin:
from django.contrib import admin
admin.autodiscover()

urlpatterns = patterns('',
    # Examples:
    # url(r'^$', 'pyDnsAdmin.views.home', name='home'),
    # url(r'^pyDnsAdmin/', include('pyDnsAdmin.foo.urls')),
    url(r'^$', 'dashboard.views.index', name='dashboard'),

    url(r'^customer/', include('customer.urls')),
    url(r'^user/', include('useraccount.urls')),
    url(r'^recordtype/', include('recordtype.urls')),
    url(r'^nameserver/', include('nameserver.urls')),
    url(r'^domain/', include('domain.urls')),
    url(r'^revision/', include('revision.urls')),
#    url(r'^record/', include('record.urls')),

    # Uncomment the admin/doc line below to enable admin documentation:
    # url(r'^admin/doc/', include('django.contrib.admindocs.urls')),

    # Uncomment the next line to enable the admin:
    url(r'^admin/', include(admin.site.urls)),
)
