Browse files

Removed hack to disable admin logging for releases app.

The bug that caused the crash was fixed in Django 1.6.
  • Loading branch information...
1 parent 46b1d7b commit b5a49087236453829f7bfddf572def606518c7af @timgraham timgraham committed Aug 25, 2014
Showing with 0 additions and 4 deletions.
  1. +0 −4 releases/admin.py
View
4 releases/admin.py
@@ -14,9 +14,5 @@ def show_status(self, obj):
show_status.admin_order_field = 'status'
show_status.short_description = 'status'
- # Hack -- disable logging because it crashes on the non-integer pk
- def log_addition(self, request, object): pass
- def log_change(self, request, object, message): pass
- def log_deletion(self, request, object, object_repr): pass
admin.site.register(Release, ReleaseAdmin)

0 comments on commit b5a4908

Please sign in to comment.