Skip to content

Instantly share code, notes, and snippets.

@gowram
Created October 30, 2014 06:03
Show Gist options
  • Save gowram/47fd1ff656b2ff814cfd to your computer and use it in GitHub Desktop.
Save gowram/47fd1ff656b2ff814cfd to your computer and use it in GitHub Desktop.
from django.conf.urls import patterns, include, url
from django.contrib import admin
from quiz2.views import QuizListView
admin.autodiscover()
urlpatterns = patterns('',
url(r'^$', QuizListView.as_view(),
name='listing'),
url(r'^admin/', include(admin.site.urls)),
url(r'^i18n/', include('django.conf.urls.i18n')),
url(r'^djangojs/', include('djangojs.urls')),
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment