- 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
-
-
Save gonzalez-aj/936feefe43fa4aa3d1ad09f4821b5429 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