1
0
mirror of https://github.com/django/django.git synced 2025-10-24 22:26:08 +00:00

[1.5.x] Fixed #18658 -- Improved ModelAdmin.message_user API

Thanks to Lowe Thiderman for the patch and tests
This commit is contained in:
Preston Holmes
2012-11-17 22:53:31 +01:00
parent 5b6db35a74
commit 3a0e0230f7
8 changed files with 133 additions and 7 deletions

View File

@@ -651,6 +651,10 @@ class UndeletableObject(models.Model):
"""
name = models.CharField(max_length=255)
class UserMessenger(models.Model):
"""
Dummy class for testing message_user functions on ModelAdmin
"""
class Simple(models.Model):
"""