##// END OF EJS Templates
Fixes to previous commit
Fixes to previous commit

File last commit:

r811:af0a7a15 default
r1057:eaae8ea1 default
Show More
urls.py
20 lines | 654 B | text/x-python | PythonLexer
from django.conf.urls import patterns, include, url
# Uncomment the next two lines to enable the admin:
from django.conf.urls.static import static
from django.contrib import admin
from neboard import settings
from boards.views.not_found import NotFoundView
admin.autodiscover()
urlpatterns = patterns('',
# Uncomment the admin/doc line below to enable admin documentation:
# url(r'^admin/doc/', include('django.contrib.admindocs.urls')),
url(r'^admin/', include(admin.site.urls), name='admin'),
url(r'^', include('boards.urls')),
) + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
handler404 = NotFoundView.as_view()