view bandmap/urls.py @ 917:0365fdbb4d78

Fix app conflict with messages. Django's messages app label conflicts with our messages app. We can't easily rename our label as that will make us rename database tables. Since our app came first we'll just customize Django messages label. For Django 1.7.7 upgrade.
author Brian Neal <bgneal@gmail.com>
date Mon, 06 Apr 2015 20:02:25 -0500
parents 5103edd3acc4
children 5ba2508939f7
line wrap: on
line source
"""urls for the bandmap application"""
from django.conf.urls import patterns, url

urlpatterns = patterns('',
    url(r'^$',
        'bandmap.views.map_view',
        name='bandmap-map'),
    url(r'^add/$',
        'bandmap.views.add_band',
        name='bandmap-add'),
    url(r'^query/$',
        'bandmap.views.query',
        name='bandmap-query'),
)