In order to add more link types add to your settings.py LINK_ALL_MODELS, eg
from link_all.dataclasses import LinkAllModel
LINK_ALL_MODELS_ADDITIONAL = [
LinkAllModel(app_label='djangocms_blog', model_name='Post'),
LinkAllModel(app_label='djangocms_blog', model_name='BlogCategory', url_method='get_absolute_url', is_show_url_in_select=True),
]
The add the urls to your urls.py file:
urlpatterns = [
path('', include('link_all.api.urls')),
]
You can also add link all field to your plugin by using the LinkAllMixin model mixin and inheriting from LinkAllPlugin setup in link_all.cms_plugins.
Frontend development
- add
IS_LINK_ALL_DEV=trueto your.env-localfile cd link_all/static/link_allyarn installyarn startoryarn build
Metadata
Release files for djangocms-link-all 0.6.1.4
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 | |
|---|---|---|---|---|
| djangocms-link-all-0.6.1.4.tar.gz | 434.7 kB | Without provenance | Details |
Release files / djangocms-link-all-0.6.1.4.tar.gz
| Download URL | djangocms-link-all-0.6.1.4.tar.gz |
|---|---|
| Size | 434.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
b3814c24d9b6e440b1aad72b6d358ce12e2897478495b07fc05a844b467d1255
|
|
BLAKE2b-256 checksum How to use checksums |
aee368adc7000d2df848b635e27f1f3721ce8d992836615a579e6fc2b297b957
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.2 CPython/3.10.6
|
Security for djangocms-link-all 0.6.1.4
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.