Skip to content

Commit 7289228

Browse files
authored
Merge pull request #134 from haikoschol/whitenoise-warnings
Stop WhiteNoise from emitting warnings during test runs
2 parents 196b80c + c376e75 commit 7289228

2 files changed

Lines changed: 2 additions & 0 deletions

File tree

.travis.yml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@ before_script:
1616
- ./manage.py migrate
1717

1818
script:
19+
- ./manage.py collectstatic
1920
- pytest
2021

2122
notifications:

vulnerablecode/dev.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,3 +5,4 @@
55
ALLOWED_HOSTS = ['localhost', '127.0.0.1', '::1']
66

77
SECRET_KEY = 'hhismo6l@1uj)nr6@o7$b2u68w5*_o^liji+=uzq=954-f$8_1'
8+
WHITENOISE_AUTOREFRESH = True

0 commit comments

Comments
 (0)