Closed grantal closed 7 years ago
The problem is in the Django_Private_Chat admin.py
class DialogAdmin(admin.ModelAdmin):
list_display = ('id', 'created', 'modified', 'owner', 'opponent')
list_filter = ('created', 'modified', 'owner', 'opponent')
admin.site.register(Dialog, DialogAdmin)
class MessageAdmin(admin.ModelAdmin):
list_display = (
'id',
'created',
'modified',
'is_removed',
'dialog',
'sender',
'text',
)
list_filter = ('created', 'modified', 'is_removed', 'dialog', 'sender')
admin.site.register(Message, MessageAdmin)
django_private_chat messages should not show up on the admin interface