Skip to content

Commit a970090

Browse files
committed
Updated needed settings so the example app can work with Browsable API
1 parent f1c7415 commit a970090

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

example/settings.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717

1818
INSTALLED_APPS = [
1919
'django.contrib.contenttypes',
20+
'django.contrib.staticfiles',
2021
'django.contrib.sites',
2122
'django.contrib.sessions',
2223
'django.contrib.auth',
@@ -25,6 +26,8 @@
2526
'example',
2627
]
2728

29+
STATIC_URL = '/static/'
30+
2831
ROOT_URLCONF = 'example.urls'
2932

3033
SECRET_KEY = 'abc123'

0 commit comments

Comments
 (0)