class MyModel (models.Model):
name = models.CharField(...)
class MyProxy (MyModel):
class Meta:
proxy = True
ordering = ["name"]
class MyAdmin (admin.ModelAdmin):
pass
admin.site.register(MyProxy, MyAdmin)
The above example does not seem to honor the ordering field within the
admin pages (svn rev: 11298). If the ordering is placed into the
MyModel or MyAdmin, it works as expected.
Does the admin site honor this meta attribute if registered as such?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---