urls.py 309 Bytes
Newer Older
1 2 3 4 5 6 7 8 9
from django.conf.urls import patterns, include, url
from roomlist import views
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'),
)