Custom Crud

Student Crud

A Student Information Crud .

Logo

create an app using the following command

Add App With Django Project

project urls.py

create a model: In the models.py file of the students app, define a model for the students.

models.py

Create a form: In the forms.py file of the students app

forms.py

Create views: In the views.py file of the students app

views.py

Create templates: Create templates for the student list, create, update and delete operations

templates/students/student_list.html

templates/students/student_form.html

Create URL patterns: In the urls.py file of the students app urls.py

*Link student app urls.py with project urls.py

Run migrations

Logo

Last updated