- Create your models
- This is how you define the data stored in the database and how that data is saved
- Create your forms (using ModelForm: https://docs.djangoproject.com/en/4.2/topics/forms/modelforms)
- Created view
- This makes the data (aka: context) available to the html template
- Create the template that interpolates the data from the view
- This renders the form
- Create a URL that serves the view to users
- EXAMPLE:
from api.views import register path("register/", register, name="register")
- On submit of the form, the view will deal with the data after the form gets submitted
Last active
May 25, 2023 02:20
-
-
Save drteresavasquez/c3df2250e9efcf2584a1e979543d58be to your computer and use it in GitHub Desktop.
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment