Hi
Thanks for your answer.
Actually, I'm working on a clean migrate :
find . -path "*/migrations/*.py" -not -name "__init__.py" -not -path
"./data/*" -delete
find . -path "*/migrations/*.pyc" -delete
psql -U postgres $DB_NAME <
> make sure you tell django that you have make changes the by ru
make sure you tell django that you have make changes the by running this
python manage.py makemigrations
after that
enter python manage.py migrate
it will automatically update your database
On Tuesday, March 24, 2020 at 7:36:31 PM UTC+14, Yves de Champlain wrote:
>
> Hi
>
> I added a new app 'po
Hi
I added a new app 'portfolio' in my project, but since then migrations
won't work anymore because Django seems to be trying to do them in the
wrong order.
*Running migrations:*
Applying core.0001_initial...* OK*
Applying contenttypes.0001_initial...* OK*
Applying contenttypes.0002_remove_
3 matches
Mail list logo