How-To-Execute-CRUD-Using-Django-Ajax-and-JSON
How-To-Execute-CRUD-Using-Django-Ajax-and-JSON copied to clipboard
How To Execute CRUD Using Django Ajax and JSON
How-To-Execute-CRUD-Using-Django-Ajax-and-JSON
Tutorial Link - http://studygyaan.com/django/how-to-execute-crud-using-django-ajax-and-json
In this tutorial, you’ll learn how to do CRUD operations using Django, Ajax Form Submission and JSON. We will be using the Class Based Views Functions. CRUD operation is the most basic operation that we perform on databases. CRUD stands for Create, Read, Update, Delete. We’ll take an example of a User Management System where we will add, update and delete users and its detail.
Setup
- Create a folder and put all the files inside it.
- Create a virtual environtment -
virtualenv env
- Activate VirtualENV -
. env/bin/activate
- Run requirements.txt -
pip3 install -r requirements.txt
- Run the Application -
python3 manage.py runserver
- Go to - http://localhost:8000/