Coder Social home page Coder Social logo

django_ajax_nativejsway's Introduction

Django_AJAX_NativeJSway

Ajaxifying Django using pure javascript without jquery approach

Motivation of Work

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.

Quick Start

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/

Demo

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.