urls.py 309 Bytes
Newer Older
1
from django.conf.urls import patterns, include, url
Jason D Yeomans's avatar
Jason D Yeomans committed
2 3
from housing import views

4 5 6 7 8 9 10
from django.contrib import admin
admin.autodiscover()

urlpatterns = patterns('',
    url(r'^buildings/$', views.buildings, name='buildings'),
    url(r'^building/(?P<buildingName>[a-zA-Z]+)$', views.building, name='building'),
)