Changes between Initial Version and Version 1 of Ticket #18848
- Timestamp:
- Aug 24, 2012, 6:42:19 AM (12 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #18848
- Property Resolution → wontfix
- Property Status new → closed
-
Ticket #18848 – Description
initial v1 1 1 I'm working through the tutorial and noticed the following snippet: 2 2 {{{ 3 3 class Poll(models.Model): 4 4 # ... … … 8 8 was_published_recently.boolean = True 9 9 was_published_recently.short_description = 'Published recently?' 10 10 }}} 11 11 All 3 attributes admin_order_field, boolean, and short_description seem to be related to how was_published_recently is presented in the admin interface. I guess there might be other such attributes in models.Model as well. 12 12 13 Maybe such attributes should be moved to admin.ModelAdmin?13 Maybe such attributes should be moved to `admin.ModelAdmin`? 14 14 15 15