My Wiki!

Django-hvad Tutorial

Problems

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)

Navigation