]> git.openstreetmap.org Git - osqa.git/blobdiff - forum/views/admin.py
allow the # character in tags, changing the tags regular expression and the error...
[osqa.git] / forum / views / admin.py
index c46bf1e50223e7f43da9f25b2223bba33847be96..67047ba9c36f301131712b2c7cefc53f1a4e10c8 100644 (file)
@@ -464,7 +464,7 @@ def node_management(request):
             selected_nodes = request.POST.getlist('_selected_node')
 
             if selected_nodes and request.POST.get('action', None):
-                action = request.POST['action']
+                action = str(request.POST['action'])
                 selected_nodes = Node.objects.filter(id__in=selected_nodes)
 
                 message = _("No action performed")