File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 9494
9595INSTALLED_APPS = (
9696 'whitenoise.runserver_nostatic' ,
97+ 'django.contrib.staticfiles' ,
9798 'django.contrib.admin' ,
9899 'django.contrib.auth' ,
99100 'django.contrib.contenttypes' ,
Original file line number Diff line number Diff line change @@ -36,8 +36,6 @@ h1.logo a {
3636 height : 98px ;
3737 width : 69px ;
3838 overflow : hidden;
39- /*登录页logo图标*/
40- /*background: url(../logo-vertical.png);*/
4139 background-repeat : no-repeat
4240}
4341
Original file line number Diff line number Diff line change @@ -27,6 +27,10 @@ echo ""
2727echo " Database Migrations:"
2828python /app/manage.py migrate --noinput
2929
30+ echo " "
31+ echo " Collect static files in a single location:"
32+ python manage.py collectstatic --noinput
33+
3034echo " "
3135if [ " ${ADMIN_USERNAME} " ] && [ " ${ADMIN_PASSWORD} " ] && [ " ${ADMIN_EMAIL} " ]; then
3236 echo " Create administrator"
You can’t perform that action at this time.
0 commit comments