urls.py 554 Bytes
Newer Older
Jason D Yeomans's avatar
Jason D Yeomans committed
1
from django.views.generic import TemplateView
2
3
4
5
6
7
from django.conf.urls import patterns, include, url

from django.contrib import admin
admin.autodiscover()

urlpatterns = patterns('',
8
9

    # project-level urls
Jason D Yeomans's avatar
Jason D Yeomans committed
10
    url(r'^$', TemplateView.as_view( template_name="index.html" ), name='index'),
11
12
13
14
    # url(r'^$', about.html

    # app-level urls
    url(r'^housing/', include('housing.urls')),
Jason D Yeomans's avatar
Jason D Yeomans committed
15
    url(r'^accounts/', include('accounts.urls')),
16
17

    # alternate interfaces
18
19
20
    url(r'^api/', include('api.urls')),
    url(r'^admin/', include(admin.site.urls)),
)