Changes between Initial Version and Version 1 of Ticket #19467


Ignore:
Timestamp:
12/13/2012 07:59:28 PM (3 years ago)
Author:
kmtracey
Comment:

Fixed formatting, please use WikiFormatting and preview before posting.

Could you provide a complete example of parent/child models plus the admin classes you are using? It's going to require a bit of guesswork to try to replicate the error you describe with just a single model definition and no guidance on how you have set up the admin defs.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #19467

    • Property Status changed from new to closed
    • Property Patch needs improvement unset
    • Property Needs tests unset
    • Property Needs documentation unset
    • Property Resolution changed from to needsinfo
  • Ticket #19467 – Description

    initial v1  
    11Seems that model forms or admin dones't clean correctly inline forms.
    2 
     2{{{
     3#!python
    34class Child(models.Model):
    45   parent = models.ForeignKey(Parent)
     
    910           self.something = None
    1011       super(Child, self).clean()
    11 
     12}}}
    1213
    1314Postgres raises a: duplicate key value violates unique constraint "child_something_key"
Back to Top