Skip to content

Commit 6c110dc

Browse files
authored
Merge pull request #109 from HackSoftware/whitenoise/use-in-development
Use `whitenoise` in development
2 parents 6bd76f3 + db348ee commit 6c110dc

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

config/django/base.py

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@
5959
'django.contrib.contenttypes',
6060
'django.contrib.sessions',
6161
'django.contrib.messages',
62+
# http://whitenoise.evans.io/en/stable/django.html#using-whitenoise-in-development
63+
'whitenoise.runserver_nostatic',
6264
'django.contrib.staticfiles',
6365
*THIRD_PARTY_APPS,
6466
*LOCAL_APPS,

requirements/production.txt

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
11
-r base.txt
22

3-
whitenoise==5.3.0
43
gunicorn==20.1.0
54
sentry-sdk==1.5.4

0 commit comments

Comments
 (0)