mirror of
https://github.com/Hopiu/django-rosetta.git
synced 2026-05-28 13:58:19 +00:00
Why we can't use override_settings…
This commit is contained in:
parent
dd4d653a84
commit
00f7e5a432
1 changed files with 4 additions and 0 deletions
|
|
@ -69,6 +69,10 @@ class RosettaTestCase(TestCase):
|
|||
('zh_Hans', u'Chinese (simplified)'),
|
||||
)
|
||||
|
||||
# This stinks. We'd rather use `override_settings`, but because of
|
||||
# this bug, it can't be done: https://code.djangoproject.com/ticket/25911
|
||||
# We're relying on settings.SETTINGS_MODULE to be there
|
||||
# to get the projetct's base dir
|
||||
self.__session_engine = settings.SESSION_ENGINE
|
||||
self.__storage_class = rosetta_settings.STORAGE_CLASS
|
||||
self.__require_auth = rosetta_settings.ROSETTA_REQUIRES_AUTH
|
||||
|
|
|
|||
Loading…
Reference in a new issue