##// END OF EJS Templates
Allow pasting files from clipboard. Alpha release, removing or previewing images in the form not implemented yet
Allow pasting files from clipboard. Alpha release, removing or previewing images in the form not implemented yet

File last commit:

r1921:34a15215 default
r1985:7b9ffc10 default
Show More
urls.py
24 lines | 751 B | text/x-python | PythonLexer
from django.conf.urls import 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 = [
# 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)
if settings.DEBUG:
import debug_toolbar
urlpatterns.append(url(r'^__debug__/', include(debug_toolbar.urls)))
handler404 = NotFoundView.as_view()