Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

21 lines (15 sloc) 0.9 kB
from django.conf.urls.defaults import patterns, include, url
# Uncomment the next two lines to enable the admin:
# from django.contrib import admin
# admin.autodiscover()
urlpatterns = patterns('',
# Examples:
url(r'^$', 'box.views.list_questions', name='home'), # match urls of type http://urlname - and hook to listq function in
url(r'^question/(\d+)/$', 'box.views.list_answers', name='list of answers'), #match urls of type http://urlname/question/10 - and hoot to lista function in
(r'^login/$', 'django.contrib.auth.views.login', {'template_name': 'qbox/login.html'}),
# url(r'^qbox/', include('')),
# 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(,
Jump to Line
Something went wrong with that request. Please try again.