import ObjectDoesNotExist closes #427
authorBryan <btbonval@gmail.com>
Mon, 30 Mar 2015 17:18:41 +0000 (13:18 -0400)
committerBryan <btbonval@gmail.com>
Mon, 30 Mar 2015 17:18:41 +0000 (13:18 -0400)
karmaworld/apps/notes/views.py

index 4efd0de5219dbed0c499b182e3aa3f61afeec826..dc469efe6e136ab5805f47418dd78ffede6efa5e 100644 (file)
@@ -10,6 +10,7 @@ from django.contrib import messages
 
 from django.core import serializers
 from django.core.exceptions import ValidationError
+from django.core.exceptions import ObjectDoesNotExist
 from django.forms.formsets import formset_factory
 
 from django.http import HttpResponse