Ticket #8028: docstring_fix_on_backends.diff

File docstring_fix_on_backends.diff, 832 bytes (added by Leo Soto M., 16 years ago)
  • django/db/backends/__init__.py

    diff -r ede5a4bbe810 django/db/backends/__init__.py
    a b  
    277277    def value_to_db_datetime(self, value):
    278278        """
    279279        Transform a datetime value to an object compatible with what is expected
    280         by the backend driver for date columns.
     280        by the backend driver for datetime columns.
    281281        """
    282282        if value is None:
    283283            return None
     
    286286    def value_to_db_time(self, value):
    287287        """
    288288        Transform a datetime value to an object compatible with what is expected
    289         by the backend driver for date columns.
     289        by the backend driver for time columns.
    290290        """
    291291        if value is None:
    292292            return None
Back to Top