Ticket #3350: Fix3350.diff

File Fix3350.diff, 486 bytes (added by mboersma, 8 years ago)

One-liner that fixes #3350.

  • django/conf/__init__.py

     
    112112            # Move the time zone info into os.environ. See ticket #2315 for why
    113113            # we don't do this unconditionally (breaks Windows).
    114114            os.environ['TZ'] = self.TIME_ZONE
     115            time.tzset()
    115116
    116117    def get_all_members(self):
    117118        return dir(self)
Back to Top