annotate bandmap/urls.py @ 978:a828e80223d2
Prevent 500 error when previewing no text.
Don't call image_check() when there is no data.
author |
Brian Neal <bgneal@gmail.com> |
date |
Mon, 05 Oct 2015 20:26:14 -0500 |
parents |
5103edd3acc4 |
children |
5ba2508939f7 |
rev |
line source |
bgneal@820
|
1 """urls for the bandmap application"""
|
bgneal@820
|
2 from django.conf.urls import patterns, url
|
bgneal@820
|
3
|
bgneal@820
|
4 urlpatterns = patterns('',
|
bgneal@820
|
5 url(r'^$',
|
bgneal@820
|
6 'bandmap.views.map_view',
|
bgneal@820
|
7 name='bandmap-map'),
|
bgneal@820
|
8 url(r'^add/$',
|
bgneal@820
|
9 'bandmap.views.add_band',
|
bgneal@820
|
10 name='bandmap-add'),
|
bgneal@827
|
11 url(r'^query/$',
|
bgneal@827
|
12 'bandmap.views.query',
|
bgneal@827
|
13 name='bandmap-query'),
|
bgneal@820
|
14 )
|