Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

Already on GitHub? Sign in to your account

Fixed #13696 -- ensured inline pk field is rendered #1381

Closed
wants to merge 1 commit into
from

Conversation

Projects
None yet
3 participants
Member

kmtracey commented Jul 19, 2013

No description provided.

Member

ptone commented Jul 20, 2013

I didn't read EVERY comment on the ticket, but this looks good to me - maybe a quick comment in the newly renamed func that notes that _meta.pk already checks parents when it is set - as my only quick question was why the parent check wasn't needed for parity with auth_field there. Verified tests passing 2.7, 3.3

Member

kmtracey commented Jul 21, 2013

Thanks Preston. Added some comments on that code and went ahead and committed it.

@kmtracey kmtracey closed this Jul 21, 2013

@kmtracey kmtracey deleted the kmtracey:ticket_13696 branch Jul 21, 2013

Previous
class UserProfileInline(admin.StackedInline):
""" As you are noticed your profile will be edited as inline form """
model = model.UserProfile
Now
class UserProfileInline(admin.StackedInline):
""" As you are noticed your profile will be edited as inline form """
model = UserProfile

working

my child model is

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment