No project description provided
Project description
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
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
djangocms-link-all-0.6.1.4.tar.gz
(434.7 kB
view details)
File details
Details for the file djangocms-link-all-0.6.1.4.tar.gz.
File metadata
- Download URL: djangocms-link-all-0.6.1.4.tar.gz
- Upload date:
- Size: 434.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.2 CPython/3.10.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b3814c24d9b6e440b1aad72b6d358ce12e2897478495b07fc05a844b467d1255
|
|
| MD5 |
c5ee9c9ee69635e5111977a303deb838
|
|
| BLAKE2b-256 |
aee368adc7000d2df848b635e27f1f3721ce8d992836615a579e6fc2b297b957
|