#8748: Problems in admin/form with primary keys in an abstract superclass
---------------------------------------------+------------------------------
          Reporter:  [EMAIL PROTECTED]  |         Owner:  nobody
            Status:  new                     |     Milestone:        
         Component:  django.contrib.admin    |       Version:  SVN   
        Resolution:                          |      Keywords:        
             Stage:  Unreviewed              |     Has_patch:  0     
        Needs_docs:  0                       |   Needs_tests:  0     
Needs_better_patch:  0                       |  
---------------------------------------------+------------------------------
Comment (by bromske):

 I've same problems here, i think there is a problem with own primary keys
 and inlines in the admin/form view.
 [[BR]]
 I found 2 solutions to solve the problem.

 1. Set the primary key fields editable=True, but then the values can
 mofified manuelly in the form. :([[BR]]

 2. A little change to the models.py. The primary key fields will be
 inserted in the form as hidden fields.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/8748#comment:2>
Django <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
-~----------~----~----~----~------~----~------~--~---

Reply via email to