# Django static files in deployment DEBUG = FALSE

**URL:** <https://forum.djangoproject.com/t/django-static-files-in-deployment-debug-false/16675>\
**Category:** Deployment\
**Created:** [October 26, 2022, 10:48pm UTC](https://forum.djangoproject.com/t/django-static-files-in-deployment-debug-false/16675 "2022-10-26T22:48:31Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![KenWhitesell](https://sea2.discourse-cdn.com/flex026/user_avatar/forum.djangoproject.com/kenwhitesell/32/280_2.png) [@KenWhitesell](https://forum.djangoproject.com/u/KenWhitesell)\
**Post date:** [October 26, 2022, 10:58pm UTC](https://forum.djangoproject.com/t/django-static-files-in-deployment-debug-false/16675/2 "2022-10-26T22:58:31Z")

</div>

Review the docs at:

- [How to deploy Django | Django documentation | Django](https://docs.djangoproject.com/en/4.1/howto/deployment/)
- [How to deploy static files | Django documentation | Django](https://docs.djangoproject.com/en/4.1/howto/static-files/deployment/)
- [How to manage static files (e.g. images, JavaScript, CSS) | Django documentation | Django](https://docs.djangoproject.com/en/4.1/howto/static-files/).

Also, you don’t mention how you’re trying to run your Django app in your deployment environment, so I’ll just emphasize this particular lines in the docs for [`runserver`](https://docs.djangoproject.com/en/4.1/ref/django-admin/#runserver):

> **DO NOT USE THIS SERVER IN A PRODUCTION SETTING.**

If you’re not using runserver, then it would help if you describe how you’re running your application and how you have _it_ configured to serve the static files. Also note that in most common situations, you do _not_ want your STATIC\_ROOT to be anywhere within your project directory.

---

_[View the full topic](https://forum.djangoproject.com/t/django-static-files-in-deployment-debug-false/16675)._
