Skip to main content

A set of utilities/mini-frameworks for building CRUD apps with Django

Project description

qnc_crud

WORK IN PROGRESS

A collection of django and js utilities to help create multi-page CRUD apps.

Intended to be installed as an "app" in a django project, but also useful in other web projects just for the js files.

No Full-Page Form Submissions

You should never use standard form submission (which loads a new page). Meaningless entries end up in browser history, page state is lost, file inputs are cleared if there are form errors. The list of issues is long.

ajax_all_forms.js automatically makes all of your forms submit via ajax, and executes the code returned by your server.

set_form_errors.js provides useful helper utilities for generating form error messages.

Automatic Page Invalidation

reload_if_necessary.js will cause pages to reload automatically, if any form has been POSTED by the user (same browsing session) at some time after the page was initially rendered

This means the user can navigate back in history (after logging in/out, manipulating data, etc.), and the page will reload. Also, the user can make changes in one window, and those changes will be reflected in another window as soon as the user focuses that window.

Form Pages Removed From History

Edit Forms Go Back

Add Forms Replace Location

Automatic Back Button

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

qnc_crud-0.1.0.tar.gz (5.9 kB view details)

Uploaded Source

Built Distribution

qnc_crud-0.1.0-py3-none-any.whl (8.1 kB view details)

Uploaded Python 3

File details

Details for the file qnc_crud-0.1.0.tar.gz.

File metadata

  • Download URL: qnc_crud-0.1.0.tar.gz
  • Upload date:
  • Size: 5.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.10

File hashes

Hashes for qnc_crud-0.1.0.tar.gz
Algorithm Hash digest
SHA256 032b581a15e08b6d9ada804a407490d15cf2ab10f9cd11ed42439e96f4634278
MD5 5052636591ff8b5e546637dd3ff7d6dc
BLAKE2b-256 c8addb5df7a77dd1e1d1d26db1e788f9788892bc5b54ab5d60da6dcdff7b7e00

See more details on using hashes here.

File details

Details for the file qnc_crud-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: qnc_crud-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 8.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.0.0 requests-toolbelt/0.9.1 tqdm/4.43.0 CPython/3.6.10

File hashes

Hashes for qnc_crud-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 9c1b4147fd561122322789ae0e0202fcfd565926af0e5bd1ab9154fa14fa5cfd
MD5 8f61194563b62c235d80aeca7e0be7da
BLAKE2b-256 5fa776679f91eca77d2710ebab351099feb8141acfe0808915b5cbad12d64115

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page