Table of Contents
Django-hvad Tutorial
Problems
- admin can not handle translated fields: https://github.com/KristianOellegaard/django-hvad/issues/314
- M2M, 1to1 translation model:
Design issue
- normal model User, translatable model Profile –> How to design admin forms??
- Profile has foreign key to User:
- User can be added when editing profile (FK)
- Editing user without profile
- Problem: create user sends signal to create profile but profile cannot be editted / show up on profile list.
- Editing user with profile: create Profile inline and CustomUserAdmin (nested inline not supported)
- User has foreignkey to Profile:
- Edit user and create Profile (through fk)