Collect .html files, required by drf-yasg
Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
@@ -2,9 +2,10 @@ from __future__ import unicode_literals
|
|||||||
|
|
||||||
from django.core import management
|
from django.core import management
|
||||||
|
|
||||||
|
# '*.html*', removed. It is required by drf-yasg/ to serve oauth2-redirect.html
|
||||||
IGNORE_LIST = [
|
IGNORE_LIST = [
|
||||||
'AUTHORS*', 'CHANGE*', 'CONTRIBUT*', 'CODE_OF_CONDUCT*', 'Grunt*',
|
'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*',
|
'*.nuspec', '*.scss*', '*.sh', '*tests*', 'bower*', 'composer.json*',
|
||||||
'demo*', 'docs', 'grunt*', 'gulp*', 'install', 'less', 'package.json*',
|
'demo*', 'docs', 'grunt*', 'gulp*', 'install', 'less', 'package.json*',
|
||||||
'package-lock*', 'test', 'tests', 'variable*',
|
'package-lock*', 'test', 'tests', 'variable*',
|
||||||
|
|||||||
@@ -70,6 +70,7 @@ INSTALLED_APPS = (
|
|||||||
'django.contrib.messages',
|
'django.contrib.messages',
|
||||||
'django.contrib.sessions',
|
'django.contrib.sessions',
|
||||||
'django.contrib.sites',
|
'django.contrib.sites',
|
||||||
|
# Allow using WhiteNoise in development
|
||||||
'whitenoise.runserver_nostatic',
|
'whitenoise.runserver_nostatic',
|
||||||
'django.contrib.staticfiles',
|
'django.contrib.staticfiles',
|
||||||
# 3rd party
|
# 3rd party
|
||||||
|
|||||||
Reference in New Issue
Block a user