Commits

George Notaras committed 31f9bc6

Added code (currently commented out) that ties saving Domain instances with the serial update.

  • Participants
  • Parent commits 822d6a9

Comments (0)

Files changed (1)

File src/powerdns_manager/models.py

     def __unicode__(self):
         return self.name
     
+#    def save(self, *args, **kwargs):
+#        """Saves the instance to the database.
+#        
+#        The serial of the zone is updated.
+#        
+#        """
+#        self.update_serial()
+#        return super(Domain, self).save(*args, **kwargs)
+    
     def get_minimum_ttl(self):
         """Returns the minimum TTL.