##// END OF EJS Templates
Version bump
Version bump

File last commit:

r1986:0b41439a default
r2009:75a09d90 4.8.0 default
Show More
urls.py
24 lines | 742 B | text/x-python | PythonLexer
neko259
Updated urls list to be a plain list instead of 'patterns' method which is...
r1486 from django.conf.urls import include, url
neko259
Initial commit. One test doesn't work, missing posting form.
r0
# Uncomment the next two lines to enable the admin:
neko259
Added images upload. Changed the design a bit. Reformatted some code by PEP 8. Changed the urls: not the main site is located at /, not /boards/.
r22 from django.conf.urls.static import static
neko259
Initial commit. One test doesn't work, missing posting form.
r0 from django.contrib import admin
neko259
Added images upload. Changed the design a bit. Reformatted some code by PEP 8. Changed the urls: not the main site is located at /, not /boards/.
r22 from neboard import settings
neko259
Fixed tests failing with error 404 handler not imported
r564 from boards.views.not_found import NotFoundView
neko259
Initial commit. One test doesn't work, missing posting form.
r0 admin.autodiscover()
neko259
Updated urls list to be a plain list instead of 'patterns' method which is...
r1486 urlpatterns = [
neko259
Initial commit. One test doesn't work, missing posting form.
r0 # Uncomment the admin/doc line below to enable admin documentation:
# url(r'^admin/doc/', include('django.contrib.admindocs.urls')),
neko259
Adapt to django-2.0
r1986 url(r'^admin/', admin.site.urls, name='admin'),
neko259
Added images upload. Changed the design a bit. Reformatted some code by PEP 8. Changed the urls: not the main site is located at /, not /boards/.
r22 url(r'^', include('boards.urls')),
neko259
Updated urls list to be a plain list instead of 'patterns' method which is...
r1486 ] + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
Ilyas
developer version fixes....
r49
neko259
Reenable debug toolbar in debug mode
r1921 if settings.DEBUG:
import debug_toolbar
urlpatterns.append(url(r'^__debug__/', include(debug_toolbar.urls)))
neko259
Fixed tests failing with error 404 handler not imported
r564 handler404 = NotFoundView.as_view()