Loading django/conf/__init__.py +1 −1 Original line number Diff line number Diff line Loading @@ -107,7 +107,7 @@ class Settings(BaseSettings): setattr(self, setting, setting_value) if not self.SECRET_KEY: raise DeprecationWarning("The SECRET_KEY setting must not be empty.") warnings.warn("The SECRET_KEY setting must not be empty.", DeprecationWarning) if hasattr(time, 'tzset') and self.TIME_ZONE: # When we can, attempt to validate the timezone. If we can't find Loading Loading
django/conf/__init__.py +1 −1 Original line number Diff line number Diff line Loading @@ -107,7 +107,7 @@ class Settings(BaseSettings): setattr(self, setting, setting_value) if not self.SECRET_KEY: raise DeprecationWarning("The SECRET_KEY setting must not be empty.") warnings.warn("The SECRET_KEY setting must not be empty.", DeprecationWarning) if hasattr(time, 'tzset') and self.TIME_ZONE: # When we can, attempt to validate the timezone. If we can't find Loading