Hi: i am trying to establish a one to one relationship between 2 tables, i am using the OneToOneFields in the models.py, this is working in the first time. but the problems are as follows: 1) how can i force the person to create a user every time? (person and user are the 2 tables in the database) 2) how can i make the user name unique. i wrote unique = true next to the user name in the model class, but it didnot work. 3) when trying to update an existing person a key error appears.
Thanks --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/django-users -~----------~----~----~----~------~----~------~--~---

