Changes between Initial Version and Version 4 of Ticket #28018


Ignore:
Timestamp:
Apr 5, 2017, 7:30:43 AM (8 years ago)
Author:
Tim Graham
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #28018

    • Property Component Uncategorizedcontrib.admin
    • Property Type UncategorizedBug
    • Property Resolutioninvalid
    • Property Status newclosed
  • Ticket #28018 – Description

    initial v4  
    44
    55models.py:
     6{{{
    67class d:
    78  pass
     
    1011class b:
    1112  pass
     13}}}
     14admin.py
     15{{{
    1216class dInlineAdmin(admin.TabularInline):
    1317    model = d
    1418
    15 # admin.py
    1619@admin.register(b)
    1720class bSpecializedAdmin(admin.ModelAdmin):
     
    1922        dInlineAdmin,
    2023    ]
    21 
     24}}}
    2225Error message:
    23 <class 'x.admin.RequirementInlineAdmin'>: (admin.E202) 'x.Requirement' has no field named 'host'.
     26`<class 'x.admin.RequirementInlineAdmin'>: (admin.E202) 'x.Requirement' has no field named 'host'.`
    2427
    2528'host' is the related_name
Back to Top