Anonymous avatar 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)
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.