Commits

Luke Plant  committed ad866b4

Removed trailing whitespace

  • Participants
  • Parent commits e0e3662

Comments (0)

Files changed (3)

File lukeplant_me_uk/django/validator/middleware.py

         if response.status_code == 200:
             ValidationFailure.do_validation(request, response)
         return response
-        
+

File lukeplant_me_uk/django/validator/urls.py

 }
 
 urlpatterns = patterns('',
-    (r'^$', 
-        'django.views.generic.list_detail.object_list', 
+    (r'^$',
+        'django.views.generic.list_detail.object_list',
         dict(info_dict, allow_empty=True)),
-    (r'^(?P<object_id>\d+)/$', 
+    (r'^(?P<object_id>\d+)/$',
         'django.views.generic.list_detail.object_detail',
         info_dict),
-    (r'^(?P<object_id>\d+)/delete/$', 
+    (r'^(?P<object_id>\d+)/delete/$',
         'lukeplant_me_uk.django.validator.views.delete'),
-    (r'^delete/$', 
+    (r'^delete/$',
         'lukeplant_me_uk.django.validator.views.bulkdelete'),
 )

File lukeplant_me_uk/django/validator/views.py

                         vf.delete()
                     except ValidationFailure.DoesNotExist:
                         pass
-            
+
     return HttpResponseRedirect("../")
-    
+
 def delete(request, object_id):
     if request.POST:
         try:
         except ValidationFailure.DoesNotExist:
             pass
     return HttpResponseRedirect("../../")
-        
+