Canned Views
Views, as in SQL views.
SQL views presented as simple Django ListView reports rendered by DataTables.
Overview
The online report renders from the results of an SQL VIEW using DataTables.
Each report is defined in the model CannedViews;
The SQL VIEW must exist in the DB and the name must be prefixed with canned_;
The rendered report is limited to 500 records for now. If the query returns more than 500 records, the report will only render the first 500 in the order of the query;
You can specify one column to render as a hyperlink. In almost all cases this will be the subject_identifier column.
Rendering one column as a url
To reverse a url, include the columns by name separated by commas in the reverse_url_args column. It is up to you to ensure that the reverse_url_name is valid and in the global dictionary `url_names`.
Metadata
Release files for canned-views 0.1.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| canned-views-0.1.8.tar.gz | 35.6 kB | Without provenance | Details for canned-views-0.1.8.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| canned_views-0.1.8-py3-none-any.whl | Python 3 | none | any | Details for canned_views-0.1.8-py3-none-any.whl |
Total release size: 78.3 kB
Release files / canned-views-0.1.8.tar.gz
| Download URL | canned-views-0.1.8.tar.gz |
|---|---|
| Size | 35.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
fba41b52c0a78702a88bc43ae9bc5098af72aa3231f118c3dde756d218a635fa
|
|
BLAKE2b-256 checksum How to use checksums |
b8bdcf262cc24a0ce4e11fa0a8f2e49b8e7938732ca29800f973b1116268206b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|
Release files / canned_views-0.1.8-py3-none-any.whl
| Download URL | canned_views-0.1.8-py3-none-any.whl |
|---|---|
| Size | 42.7 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
8bb276b554cd68a50bbc68e4278a6f277cacc40e9cb42c03ea783a5fb60b3908
|
|
BLAKE2b-256 checksum How to use checksums |
11caf0eeb0384737a509fb8766ede64c68241b97199c8ff71b755f623d4fec0b
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.11.4
|
Security for canned-views 0.1.8
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.