On woensdag 14 februari 2018 15:01:15 CET Andy wrote: > Well, i know this and the related entry is accessible even without > explicitly defining the related_name. You can change defaults defining the > related_name, tho. > But still trying to add a UserInline to the ProfileAdmin wont work due to > the missing FK on the user model.
Your reasoning is flawed. The model that is inlined never has a foreign key to the model that it is inlined with. It is the reverse of the foreign key. Foreign keys are not inlined, they are rendered via select widgets. Something else is preventing this from working and without code and corresponding backtrace we cannot diagnose what. -- Melvyn Sopacua -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To post to this group, send email to django-users@googlegroups.com. Visit this group at https://groups.google.com/group/django-users. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/4800835.jqWV0GJcnh%40fritzbook. For more options, visit https://groups.google.com/d/optout.