Commits

Anonymous committed 91f9f48

[soc2009/multidb] Whitespace and comment cleanup. Patch from Russell Keith-Magee.

Comments (0)

Files changed (3)

django/contrib/contenttypes/generic.py

             content_type_field_name = self.field.content_type_field_name,
             object_id_field_name = self.field.object_id_field_name
         )
+
         return manager
 
     def __set__(self, instance, value):

django/contrib/localflavor/us/models.py

         defaults = {'form_class': USPhoneNumberField}
         defaults.update(kwargs)
         return super(PhoneNumberField, self).formfield(**defaults)
+

django/contrib/sessions/backends/db.py

             session_data = self.encode(self._get_session(no_load=must_create)),
             expire_date = self.get_expiry_date()
         )
-        # TODO update for multidb
         sid = transaction.savepoint(using=self.using)
         try:
             obj.save(force_insert=must_create)