Loading...

Database & Migrations - Django Web Development with Python 8

99,352 views

Loading...

Loading...

Transcript

The interactive transcript could not be loaded.

Loading...

Rating is available when the video has been rented.
This feature is not available right now. Please try again later.
Published on Jan 30, 2016

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/databas...



https://pythonprogramming.net
https://twitter.com/sentdex
https://www.facebook.com/pythonprogra...
https://plus.google.com/+sentdex

Loading...

Advertisement
to add this to Watch Later

Add to

Loading playlists...