from django.contrib import admin from contributions.views import IndexView from django.conf.urls import patterns, include, url admin.autodiscover() urlpatterns = patterns("", url(r"^$", IndexView.as_view(), name="index"), url(r"^admin/", include(admin.site.urls)))
from django.contrib import admin from contributions.views import IndexView, Notes, Query from django.conf.urls import patterns, include, url admin.autodiscover() urlpatterns = patterns('', url(r'^$', IndexView.as_view(), name='index'), url(r'^admin/', include(admin.site.urls)), url(r'^contributions/notes.html', Notes.as_view(), name='notes'), url(r'^services/query.json', Query.as_view(), name='query'), )