Ticket #3377: __init__.diff

File __init__.diff, 513 bytes (added by Brut[all] <brut.alll@…>, 18 years ago)

Sorry for that above. I hope this will be ok.

  • django/db/models/__init__.py

     
    5050        return (datetime.datetime.now() + self.delta).date()
    5151
    5252    def __getattr__(self, attr):
     53        if attr == 'delta':
     54            raise AttributeError
    5355        return getattr(self.__get_value__(), attr)
Back to Top