Hello Raghav,
Once you register something in admin.py, you should see that update in the
admin page. Login there and click on "candidates" , now you can add the
candidates multiple times.
Regards,
Amitesh Sahay91-750 797 8619
On Friday, 1 March, 2019, 6:34:56 pm IST, raghav b
wrote:
Hi,
You can look here:
https://docs.djangoproject.com/en/2.1/ref/contrib/admin/#django.contrib.admin.InlineModelAdmin
This is the functionality you want.
Regards,
Andréas
Den fre 1 mars 2019 kl 14:05 skrev raghav b <
raghav.balasubraman...@gmail.com>:
> I have created two apps with the name
I have created two apps with the name candidate and another training. In the
Django admin I want to create trainings and add candidates to that. I have
created candidate and training and registered in the admin view. But for the
last part I want to add multiple candidates into a training from ad
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
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
5 matches
Mail list logo