How should embeddedmodelfields appear in django-nonrel admin?

175 views Asked by At

In using Django-nonrel, I have used ListField and EmbeddedModelFields.

But when I register the models with admin.py, I do not see any separate input fields for fields in a model which is "embedded" in to another model.

I see that using models.ForeignKey gives the result but with a loss of EmbeddedModelFields.

I am using the latest(git) version of Django-nonrel, djangotoolbox, and django-mongodb-engine.

1

There are 1 answers

0
delta24 On BEST ANSWER

I think if we want to do this, make a custom widgets to get "inline input boxes" and a form subclass to get the desired fields in admin panel.

Rather add testdata through mongo shell and see how it is displayed in admin.