Collect .html files, required by drf-yasg

Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
Roberto Rosario
2019-06-12 01:16:36 -04:00
parent 590c76bf64
commit 2e80c6a00b
2 changed files with 3 additions and 1 deletions

View File

@@ -2,9 +2,10 @@ from __future__ import unicode_literals
from django.core import management
# '*.html*', removed. It is required by drf-yasg/ to serve oauth2-redirect.html
IGNORE_LIST = [
'AUTHORS*', 'CHANGE*', 'CONTRIBUT*', 'CODE_OF_CONDUCT*', 'Grunt*',
'LICENSE*', 'MAINTAIN*', 'README*', '*.html*', '*.less', '*.md', '*.nupkg',
'LICENSE*', 'MAINTAIN*', 'README*', '*.less', '*.md', '*.nupkg',
'*.nuspec', '*.scss*', '*.sh', '*tests*', 'bower*', 'composer.json*',
'demo*', 'docs', 'grunt*', 'gulp*', 'install', 'less', 'package.json*',
'package-lock*', 'test', 'tests', 'variable*',

View File

@@ -70,6 +70,7 @@ INSTALLED_APPS = (
'django.contrib.messages',
'django.contrib.sessions',
'django.contrib.sites',
# Allow using WhiteNoise in development
'whitenoise.runserver_nostatic',
'django.contrib.staticfiles',
# 3rd party