Commits

Anonymous committed b448236

Look up email forms by proper field

Comments (0)

Files changed (1)

gnocchi/mail/views.py

 
 @csrf_exempt
 def email(request, name):
-    obj = get_object_or_404(Email, name=name)
+    obj = get_object_or_404(Email, path=name)
 
     ctx = RequestContext(request, {
         'data': request.POST,