Ticket #11715: patch.diff

File patch.diff, 330 bytes (added by Alexander Ivanov, 15 years ago)
  • django/contrib/admin/options.py

    class ModelAdmin(BaseModelAdmin):  
    187187    save_as = False
    188188    save_on_top = False
    189189    ordering = None
    190     inlines = []
     190    inlines = ()
    191191
    192192    # Custom templates (designed to be over-ridden in subclasses)
    193193    change_form_template = None
Back to Top