Date Category blog

Tags: Python, Django Status: draft

Create an app

In the directory for your Django project, run the following command python manage.py startapp my_app

This will create a directory that looks like this

my_app/
    __init__.py
    models.py
    tests.py
    views.py

Create your models

Edit the my_app/models.py file to add your models there.

You can see quick examples of how to make your modes here.

If you are having trouble finding the field types in the documentation, I know I did, take a look here.