I have looked through the docs and search the group and web. Seems other's
are asking the question, but I haven't seen an answer yet.
class UserProfile(models.Model):
country = models.ForeignKey(Country, core=True)
user = models.ForeignKey(User, unique=True, edit_inline=models.TABULAR,
core=True)
When I save a User in the Admin page, the country (from this UserProfile) is
not getting saved.
The list of Countries are shown in the menu, there are no errors, but the DB
table userprofile is empty, and when I come back to the User admin page, no
country is selected.
Seems that the save is getting dropped on the floor.
I have
AUTH_PROFILE_MODULE = 'app.userprofile'
set. The system doesn't throw any errors. Just doesn't save.
I saw a post suggesting subclassing User and overriding saving to save my
profile But, I can't find this recommended in the docs. The documented way
to do this is has nothing to do with subclassing
Please clarify.
--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---