#3934: edit_inline foreign key in profile module
-----------------------------+----------------------------------------------
Reporter: [EMAIL PROTECTED] | Owner: adrian
Status: new | Component: Admin interface
Version: 0.95 | Keywords: profile, user, module
Stage: Unreviewed | Has_patch: 0
-----------------------------+----------------------------------------------
Example of error:
class MyUserProfile(models.Model):
user = models.ForeignKey(User, unique=True,
edit_inline=models.TABULAR, db_index=True)
some_data = models.CharField(maxlength=20, blank=False, null=False,
unique=True, core=True)
Then some_data is correctly shown in User module of admin menu, but when
you try to change it and save it:
Request URL: http://localhost/printeq/admin/auth/user/1/
Exception Type: TypeError
Exception Value: Cannot resolve keyword 'some_data' into field
Exception Location: C:\Server\Python\lib\site-
packages\django\db\models\query.py in lookup_inner, line 936
I'd really appreciate if you correct this or send me what should I do.
Thank's a lot
--
Ticket URL: <http://code.djangoproject.com/ticket/3934>
Django Code <http://code.djangoproject.com/>
The web framework for perfectionists with deadlines
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"Django updates" 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-updates?hl=en
-~----------~----~----~----~------~----~------~--~---