Core Parser App
XSD parser, renderers and modules for the curator core project.
Quick start
1. Add “core_parser_app” to your INSTALLED_APPS setting
INSTALLED_APPS = [
...
"core_parser_app",
"core_parser_app.tools.modules",
"core_parser_app.tools.parser",
]
2. Include the core_parser_app URLconf in your project urls.py
url(r'^parser/', include("core_parser_app.urls")),
Migration to the Bootstrap modal
Breaking changes during the migration from the jQuery UI modal to the Bootstrap modal for the module :
The JavaScript global variables openModule, openPopUp and initialState from the popup.js file have been deleted.
The JavaScript variable openModule has been renamed to moduleElement.
The modal management has been changed. JQuery UI reused the same DOM element for all modal loaded in the page. Bootstrap use a unique DOM element for each modal. Consequently the main modal container will have the following unique ID : modal-{{module_id}}.
The save callback uses the new variable openModule to get the unique DOM container and get the value to save.
The Django form id must be changed be because it is not unique and can create conflict if the page includes a module more than one time (example with the BLOBHostForm):
form = BLOBHostForm()
form.fields["file"].widget.attrs.update(
{"id": "file-input-%s" % str(module_id)}
)
Metadata
Release files for core-parser-app 2.23.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| core_parser_app-2.23.0.tar.gz | 81.2 kB | Details |
Release files / core_parser_app-2.23.0.tar.gz
| Download URL | core_parser_app-2.23.0.tar.gz |
|---|---|
| Size | 81.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
2d547af4451321f36ddcf062d348ab261ab27bb130b82d75768f460709c13c93
|
|
BLAKE2b-256 checksum How to use checksums |
49d65b8dc628f964f237951aee2c0261f9463ef63f22ae4e105ded9e6b9ac711
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/7.0.0 CPython/3.11.16
|