Ticket #4359: unicode-default-list-display.diff

File unicode-default-list-display.diff, 614 bytes (added by anonymous, 17 years ago)
  • db/models/options.py

     
    215215        save_on_top=False, list_select_related=False, manager=None, list_per_page=100):
    216216        self.fields = fields
    217217        self.js = js or []
    218         self.list_display = list_display or ['__str__']
     218        self.list_display = list_display or ['__unicode__']
    219219        self.list_display_links = list_display_links or []
    220220        self.list_filter = list_filter or []
    221221        self.date_hierarchy = date_hierarchy
Back to Top