comparison bandmap/views.py @ 840:7735f8a6bd1f

Bandmap fix: Unicode band names were causing a crash.
author Brian Neal <bgneal@gmail.com>
date Sat, 04 Oct 2014 17:15:22 -0500
parents f31168465953
children 09ed84a7394c
comparison
equal deleted inserted replaced
839:36d988b800c2 840:7735f8a6bd1f
13 13
14 from bandmap.forms import BandForm 14 from bandmap.forms import BandForm
15 from bandmap.models import BandEntry 15 from bandmap.models import BandEntry
16 16
17 17
18 SUCCESS = "Successfully submitted {} for admin review. Thanks!" 18 SUCCESS = u"Successfully submitted {} for admin review. Thanks!"
19 19
20 20
21 def map_view(request): 21 def map_view(request):
22 return render(request, 'bandmap/map.html') 22 return render(request, 'bandmap/map.html')
23 23