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

from django.contrib import admin
admin.autodiscover()

handler404 = 'wifiadmin.main.views.redirect_404'

urlpatterns = patterns('',
    # Examples:
    # url(r'^$', 'wifiadmin.views.home', name='home'),
    # url(r'^wifiadmin/', include('wifiadmin.foo.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)),
)

urlpatterns += patterns('wifiadmin.main.views',
    (r'^$', 'login'),
)
