mirror of
https://github.com/django/django.git
synced 2025-10-24 06:06:09 +00:00
Fixed #18658 -- Improved ModelAdmin.message_user API
Thanks to Lowe Thiderman for the patch and tests
This commit is contained in:
@@ -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):
|
||||
"""
|
||||
|
||||
Reference in New Issue
Block a user