Code

Changes between Initial Version and Version 1 of Ticket #2666


Ignore:
Timestamp:
11/26/06 17:28:42 (7 years ago)
Author:
adrian
Comment:

Fixed formatting in description.

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #2666 – Description

    initial v1  
    11Given something loseley like this 
    22 
     3{{{ 
     4#!python 
    35class a(models.Model): 
    46  def save(self): 
     
    911  def save(self): 
    1012    super(b, self).save() 
     13}}} 
    1114 
    1215when I edit an a in the admin and press save the save method is called. However if I edit the b objects inline the save method for a is not called even if there were changes made to the a object aswell, the object seems to be getting saved with the superclass' save method not the new redefined one.