Skip to content

Instantly share code, notes, and snippets.

View gonzalez-aj's full-sized avatar

A.J. Gonzalez gonzalez-aj

View GitHub Profile
  1. Create your models
    • This is how you define the data stored in the database and how that data is saved
  2. Create your forms (using ModelForm: https://docs.djangoproject.com/en/4.2/topics/forms/modelforms)
  3. Created view
    • This makes the data (aka: context) available to the html template
  4. Create the template that interpolates the data from the view
    • This renders the form
  5. Create a URL that serves the view to users
    • EXAMPLE: