openpolitics.com

  • writing
  • quotes
  • Topics
    • academia
    • corruption
    • economics
    • education
    • environment
    • finance
    • history
    • hypertext
    • media
    • philosophy
    • psychology
    • religion
    • russia
    • ted nelson
  • about
← Previous Next →

Django and jQuery — pulling info from a long-running process

Another sample of how to integrate Django and jQuery.

This starts a function in views.py that takes a long time to finish. It sets a session variable so that another function can report on the situation. We use jquery and ajax to ‘pull’ that data from Django so as to provide a progress report.

source: $link[host]

Tags: django, jquery, programming

Read Original Source

Tim Langeman © 2025 · Genesis Framework · WordPress · Log in