Allow editing twitter notifications from list

This commit is contained in:
Felipe Martín 2015-10-11 10:34:06 +02:00
parent 08bb8748d3
commit 7ca4f983f2
1 changed files with 2 additions and 2 deletions

View File

@ -11,8 +11,8 @@ from .models import AmiiboNotification
class AmiiboNotificationAdmin(reversion.VersionAdmin):
list_display = ('amiibo', 'max_price', 'interval', 'shops_list', 'last_notification',)
list_editable = ('interval', )
list_display = ('amiibo', 'max_price', 'interval', 'shops_list', 'notify_twitter', 'last_notification',)
list_editable = ('interval', 'notify_twitter', )
filter_horizontal = ('shops', )
def shops_list(self, obj):