Skip to main content

qnc_crud

WORK IN PROGRESS

A rather opinionated framework to help create multi-page CRUD/form-heavy web apps. Comes with a collection of django and js utilities which can also be used in a more flexible way, without opting-in to the entire framework.

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

Release files for qnc-crud 3.0.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for qnc-crud 3.0.4
File Size Uploaded
qnc_crud-3.0.4.tar.gz 57.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for qnc-crud 3.0.4
File Interpreter ABI Platform
qnc_crud-3.0.4-py3-none-any.whl Python 3 none any Details

Total release size:125.4 kB

Release files / qnc_crud-3.0.4.tar.gz

Download URL qnc_crud-3.0.4.tar.gz
Size 57.2 kB
Tags Source
SHA-256 checksum
How to use checksums
bf9486abdb0b8c01836291df7941f2552b8daff86b84b93f57b86b64dd6bd9ca
BLAKE2b-256 checksum
How to use checksums
56efafd84457b0f47b827214281a74fbaebc2b7891f14db2830de80e8959ff9c
Upload date
Uploaded using Trusted Publishing?
What is 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

Release files / qnc_crud-3.0.4-py3-none-any.whl

Download URL qnc_crud-3.0.4-py3-none-any.whl
Size 68.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
b7f5d7b7e7005ffcca39b1957f660834035be9cb431603b96b77581f6563c42d
BLAKE2b-256 checksum
How to use checksums
78648e11310fd201434262b07d1546de638df86fbbe8db9fe27ff6c0d3dfd8e6
Upload date
Uploaded using Trusted Publishing?
What is 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

Release history Release notifications | RSS feed

This release

3.0.4 This release

2 release files

3.0.3

2 release files

3.0.2

2 release files

3.0.1

2 release files

3.0.0

2 release files

2.1.1

2 release files

2.1.0

2 release files

2.0.1

2 release files

2.0.0

2 release files

1.0.4

2 release files

1.0.3

2 release files

1.0.2

2 release files

1.0.1

2 release files

1.0.0

2 release files

0.1.0

2 release files

0.0.0

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page