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

admin.autodiscover()

urlpatterns = patterns('',
    # Example:

    # Uncomment this for admin:
    #(r'^admin/', include('django.contrib.admin.urls')),
    url('^admin/', include(admin.site.urls)),
    #('^blog/', include('blog.urls')),
    ('^mail/', include('mail.urls')),
    #(r'^site_media/(?P<path>.*)$', 'django.views.static.serve', {'document_root': '/path/to/media', 'show_indexes': True}),
    ('^site_media/(?P<path>.*)$', 'django.views.static.serve', {'document_root': 'media/'}),
    ('^accounts/login/$', 'django.contrib.auth.views.login', {'template_name': 'admin/login.html'}),
)
