Giter VIP home page Giter VIP logo

django-ajax-example's Introduction

Django Ajax Example

CRUD operations form basics for database operations at the backend. Conventional Django apps result in a page reload after HTTP methods such as 'POST' and 'GET'. To overcome this and to implementing more immersive User experience we can use Ajax along with JQuery for posting data to the server.

django-ajax-example's People

Contributors

sureshmelvinsigera avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar

Forkers

sk-subroto zoneam

django-ajax-example's Issues

Template file incompatible with Django 3.0+

I had trouble running this example on Django 3.1.7
It seems that the issue is with line 1 of booksite/templates/index.html
{% load staticfiles %} has been removed as of Django 3.0
Changing it to {% load static %} resolves the issue
If you would prefer to leave it as is, you may consider updating the readme to mention that the code is not compatible with Django 3.0+

Edit Button Not Working

Dear bro following are the issues in your example:

1- Edit button is not working.
2- When we want to add second record and click Add new Book it still shows previously saved record no page refresh.

Please rectify errors.

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.