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 = [
LinkAllModel(app_label='djangocms_blog', model_name='Post'),
LinkAllModel(app_label='djangocms_blog', model_name='BlogCategory'),
LinkAllModel(app_label='cms', model_name='Page'),
]
Those models must have get_absolute_url
method.
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 commands
cd link_all/static/link_all
yarn install
yarn serve
oryarn 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
Close
Hashes for djangocms-link-all-0.1.0.5.macosx-10.15-x86_64.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | fd87f8e14554505bb152113471ea12885d15f1ca1e5dbc1860809a78e8287d12 |
|
MD5 | e673a4702ad6aac63cbe24783160e7af |
|
BLAKE2b-256 | 7aa781eef27f7242d6c0b909993df06612396b1c3d46160af695a9a3c739463a |