Ajaxifying Django using pure javascript without jquery approach
As most of the people are shifting to the pure JavaScript but while using Django with Ajax there are tons of tutorial available with jquery but rearly with pure JS way(not enough in stackoverflow too). I like to do every stuff with pure JS way rather that Jquery way. So this is Django Ajax CRUD app . There are clear comments in every section of ajax usage for creating a single page User app.
1.Clone repo like this:
git clone https://github.com/Aasess/Django_AJAX_NativeJSway.git
2.Create a virtualenv in cmd
python3 -m venv virtualenv
3.Activate virtualenv in cmd
virtualenv\Scripts\activate.bat
4.Install packages from requirements.txt file
pip install -r /path/to/requirements.txt
5.Run migrations as:
python manage.py makemigrations python manage.py migrate
6.Start the development:
python manage.py runserver
7.visit http://127.0.0.1:8000/