##// END OF EJS Templates
Specify session in the form constructor
Specify session in the form constructor

File last commit:

r2068:24da88f2 default
r2069:f3964896 default
Show More
urls.py
24 lines | 746 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
Use generic django sessions, not specifically neboard ones
r2068 from django.conf import settings
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
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()