Bummer! This is just a preview. You need to be signed in with a Basic account to view the entire video.
Model Upgrades4:47 with Kenneth Love
We introduced model inheritance in Django Forms. Let's go back over that, review our other models, and update our Course model for one handy new feature.
You can create fixture data with
python manage.py dumpdata and then optionally provide an app or model name. You can load that data with
python manage.py loaddata and then providing the name of the fixture file. Django's documentation on fixtures is well worth a read.
You need to sign up for Treehouse in order to download course files.Sign up