* Added example project to demonstrate usage.
[django-tables2.git] / example / urls.py
1 from django.conf.urls.defaults import patterns, include, url
2
3
4 from django.contrib import admin
5 admin.autodiscover()
6
7
8 urlpatterns = patterns('',
9     url(r'^$', 'example.app.views.home', name='home'),
10
11     # Uncomment the admin/doc line below to enable admin documentation:
12     url(r'^admin/doc/', include('django.contrib.admindocs.urls')),
13
14     # Uncomment the next line to enable the admin:
15     url(r'^admin/', include(admin.site.urls)),
16 )