Database Migrations - Django Web Development with Python 8
82 بار بازدید -
6 سال پیش
-
Welcome to Part 8 of
Welcome to Part 8 of our Django web development with Python tutorial.
Remember how when you create a new app, the first thing you need to do is install it? Whenever you define new models, you want to migrate. If you are familiar with older versions of Django, the old syncdb command is deprecated. Nowadays, first you will do
python manage.py makemigrations
Text-based tutorial and sample code: https://pythonprogramming.net/database-migration-django-python-tutorial/
https://pythonprogramming.net
https://
6 سال پیش
در تاریخ 1397/05/04 منتشر شده
است.
82
بـار بازدید شده