Last change
on this file since 9142 was 9139, checked in by dennisw, 14 years ago |
Structure overhaul part 2; added website folder with the template, changes to urls.py and settings.py.
|
File size:
307 bytes
|
Line | |
---|
1 | from django.conf.urls.defaults import *
|
---|
2 | from django.views.generic.simple import direct_to_template
|
---|
3 | from django.views.generic.base import TemplateView
|
---|
4 | from django.conf import settings
|
---|
5 |
|
---|
6 | class HomeView(TemplateView):
|
---|
7 | template_name = 'home.html'
|
---|
8 |
|
---|
9 | urlpatterns = patterns('',
|
---|
10 | ('^$', HomeView.as_view())
|
---|
11 | )
|
---|
Note:
See
TracBrowser
for help on using the repository browser.