Hi! The createdb command is only for initially populating the database and
doing other bootstrapping required on first run. The other commands you see
there are required for subsequent deployments, they do the following:
- collectstatic: Gets all static resources from every installed app into a
Thank you for the great explanation - hitting the Django docs now!
On Friday, May 1, 2015 at 12:16:28 AM UTC-4, Eduardo Rivas wrote:
>
> Hi! The createdb command is only for initially populating the database and
> doing other bootstrapping required on first run. The other commands you see
> ther
Based on answer to the original question, it seems that adding:
python manage.py createdb --noinput
as the first command would be correct?
Also what does --noinput do? Having a hard time finding the answer to that.
On Friday, May 1, 2015 at 12:16:28 AM UTC-4, Eduardo Rivas wrote:
>
> Hi! The cre
> Based on answer to the original question, it seems that adding:
> python manage.py createdb --noinput
> as the first command would be correct?
Yes, but only if you have no database yet. The other commands can help you
update your database and installation if static data or the schema has chang