##// END OF EJS Templates
Closed 1.6 branch
Closed 1.6 branch

File last commit:

r130:2cca92a8 default
r512:866075aa 1.6-dev
Show More
urls.py
23 lines | 767 B | text/x-python | PythonLexer
neko259
Initial commit. One test doesn't work, missing posting form.
r0 from django.conf.urls import patterns, include, url
# 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
Initial commit. One test doesn't work, missing posting form.
r0 admin.autodiscover()
urlpatterns = patterns('',
# Examples:
# url(r'^$', 'neboard.views.home', name='home'),
# url(r'^neboard/', include('neboard.foo.urls')),
# Uncomment the admin/doc line below to enable admin documentation:
# url(r'^admin/doc/', include('django.contrib.admindocs.urls')),
# Uncomment the next line to enable the admin:
url(r'^admin/', include(admin.site.urls)),
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')),
Ilyas
developer version fixes....
r49 ) + static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)
neko259
Added error 404 page
r130 handler404 = 'boards.views.page_404'