#13952: r13363 brokes add model in admin for models with inheritance
---------------------------------------------------+------------------------
          Reporter:  krejcik                       |         Owner:  nobody     
      
            Status:  closed                        |     Milestone:             
      
         Component:  Database layer (models, ORM)  |       Version:  SVN        
      
        Resolution:  invalid                       |      Keywords:  postgres 
sequence
             Stage:  Unreviewed                    |     Has_patch:  0          
      
        Needs_docs:  0                             |   Needs_tests:  0          
      
Needs_better_patch:  0                             |  
---------------------------------------------------+------------------------
Changes (by ales_zoulek):

  * keywords:  => postgres sequence
  * resolution:  => invalid
  * status:  new => closed
  * component:  django.contrib.admin => Database layer (models, ORM)
  * milestone:  1.3 =>

Comment:

 Marking as invalid.

 The problem wasn't in django it self. The r13362 introduced
 pg_get_serial_sequence().

 When altering a column and asigning the sequence to it, you need to call
 "ALTER SEQUENCE name OWNED BY table.column;" in order to make
 pg_get_serial_sequence() work properly.

-- 
Ticket URL: <http://code.djangoproject.com/ticket/13952#comment:3>
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