Commits

Mikhail Korobov committed e48c499

a bit prettier look

Comments (0)

Files changed (3)

     def short_debug_info(self, obj):
         if obj.debug_info:
             if len(obj.debug_info) > 15:
-                return obj.debug_info[:15]+' ...'
+                return obj.debug_info[:14]+' ...'
         return obj.debug_info
     short_debug_info.short_description = 'debug info'
 
         signals.data.send(sender = data_handler, order=order)
         return HttpResponse()
 
+    # deny query on validation errors
     errors = form.plain_errors()[:255]
     order.debug_info = errors
     order.trusted = False
 
 setup(
     name='django-netcash',
-    version='0.1.10',
+    version='0.1.11',
     author='Mikhail Korobov',
     author_email='kmike84@gmail.com',