kopia lustrzana https://github.com/jointakahe/takahe
leave comment on storage setting in tests
rodzic
98c5dc2adb
commit
2951b4985d
|
@ -58,6 +58,8 @@ kwIDAQAB
|
|||
|
||||
@pytest.fixture(autouse=True)
|
||||
def _test_settings(settings):
|
||||
# We use `StaticFilesStorage` instead of `ManifestStaticFilesStorage` in tests
|
||||
# since want stable filenames (`css/styles.css`) instead of hashed (`css/styles.55e7cbb9ba48.css`)
|
||||
settings.STORAGES = {
|
||||
"staticfiles": {
|
||||
"BACKEND": "django.contrib.staticfiles.storage.StaticFilesStorage"
|
||||
|
|
Ładowanie…
Reference in New Issue