def setUp(self):
     # Configure a new lazy storage instance so it will pick up
     # any new settings
     storage.staticfiles_storage = storage.ConfiguredStorage()
Beispiel #2
0
 def setUp(self):
     settings.STATIC_ROOT = self.tmp_dir()
     settings.STATICFILES_DIRS = (self.tmp_dir(), )
     # Configure a new lazy storage instance so it will pick up our
     # new settings
     storage.staticfiles_storage = storage.ConfiguredStorage()