Re: How to have Multiple models in Admin View

2016-08-18 Thread ludovic coues
You should add a foreign key to language on translation. To save the language from the dropbox. Then I would create a ModelAdmin and set the form value. If I remember correctly, the save method is on the form and you could save new objet for each word at the same time as saving the translation obj

How to have Multiple models in Admin View

2016-08-18 Thread Hanh Kieu
I'm a little new to django. I would like to display multiple models in one admin view in django. when I do this: admin.site.register(Language) admin.site.register(Word) admin.site.register(Translation) b It would register 3 different models. My models look like this (this is for a dictionary a