I am trying to save myself a bit of typing by writing the following code, but it seems I can't do this:
class lgrAdminObject(admin.ModelAdmin):
fields = ["title","owner"]
list_display = ["title","origin","approved", "sendToFrames"]
class Photos(lgrAdminObject):
fields.extend(["albums"])
why doesn't that work? Also since they're not functions, I can't do the super trick
fields = super(Photos, self).fields
fields.extend(["albums"])