What are Models?7:14 with Kenneth Love
Django's ORM, like many others, uses classes to define a database table, and that class's attributes to define the columns in the table. We call these classes "models".
django.db.models has most of the model functionality you'll use to create models and their fields.
CharField holds strings.
TextField holds an unspecified amount of text.
More Django model field types.
python manage.py makemigrations [app] will make the migrations for a specific app.
python manage.py migrate [app] will run the pending migrations for a specific app. If you leave off the app name, any pending migrations for any apps will be run.
Here is the list of
You need to sign up for Treehouse in order to download course files.Sign up