annotate bns_website/urls.py @ 5:04991ccaf30c
Prototyped home page. Used fancybox effect on cover art.
author |
Brian Neal <bgneal@gmail.com> |
date |
Fri, 28 Oct 2011 21:58:54 -0500 |
parents |
71f2941161e9 |
children |
48ff23eab86a |
rev |
line source |
bgneal@0
|
1 from django.conf.urls.defaults import patterns, include, url
|
bgneal@3
|
2 #from django.contrib import admin
|
bgneal@3
|
3 from django.views.generic.base import TemplateView
|
bgneal@0
|
4
|
bgneal@3
|
5
|
bgneal@3
|
6 #admin.autodiscover()
|
bgneal@0
|
7
|
bgneal@0
|
8 urlpatterns = patterns('',
|
bgneal@3
|
9 url(r'^$',
|
bgneal@3
|
10 TemplateView.as_view(template_name="home.html"),
|
bgneal@3
|
11 name="home"),
|
bgneal@3
|
12
|
bgneal@0
|
13 # Examples:
|
bgneal@0
|
14 # url(r'^$', 'bns_website.views.home', name='home'),
|
bgneal@0
|
15 # url(r'^bns_website/', include('bns_website.foo.urls')),
|
bgneal@0
|
16
|
bgneal@0
|
17 # url(r'^admin/doc/', include('django.contrib.admindocs.urls')),
|
bgneal@0
|
18 # url(r'^admin/', include(admin.site.urls)),
|
bgneal@0
|
19 )
|