IT
[django] Debug False 시 static 처리
self log
2019. 1. 27. 15:20
django로 간단한 앱을 만든 이후 호스팅에 올리긴 전에 Debug=False를 적용했더니 static에 올라간
css, 이미지가 다 깨지는 사태가 ;;
https://blog.hannal.com/2015/04/start_with_django_webframework_06/
https://fbdjango.wordpress.com/2016/08/25/183432721693235_1080086298694535/
https://docs.djangoproject.com/en/2.1/ref/contrib/staticfiles/
결국엔 정규식으로 staic을 매핑하고 insecure로 처리