From 25f959c44b39e117857d2d300b8798671351978d Mon Sep 17 00:00:00 2001 From: Sandro Date: Mon, 25 Nov 2019 12:07:07 +0100 Subject: [PATCH] Add hint to run db migration in production --- README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/README.md b/README.md index 325f13be..dba3d723 100644 --- a/README.md +++ b/README.md @@ -395,6 +395,7 @@ in production. Run the `manage.py collectstatic` command whenever files in the `/static/` directory change. This command collects all the static files inside the `static-collected` directory. Configure your web server to serve files from this directory under the `/static/` prefix. + * Database migration should be run after each update to make sure the database schemas are up to date. You can do that with `./manage.py migrate`. * Processes that need to be running constantly. * `manage.py runserver` is intended for development only. Do not use it in production, instead consider using [uWSGI](https://uwsgi-docs.readthedocs.io/en/latest/) or