Django admin ignores dynamically generated form fields

2020-07-15 Thread Random Body Parts
I'm trying to have the django admin display a model form with dynamically generated fields. I setup my form like this: class EulogyTextForm(f.ModelForm): class Meta: model = EulogyText fields = '__all__' def __init__(self, *args, **kwargs): super(EulogyTextForm, s

Correct Design: one app depending on another app

2019-11-20 Thread Random Body Parts
So I want to realise a small content management system. I want to make an app that allows for the creation of site content. A site content element can be a headline, an image, a block of text, etc... Individual content elements will be associated with a content container, which is essentially a