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 Distributions
No source distribution files available for this release.See tutorial on generating distribution archives.
Built Distribution
Close
Hashes for djangocms_link_all-0.2.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3243059ac781164db7de016f5ec5770bc63b430780c7b78d96d2e35cf2e9551b |
|
MD5 | 5116e5e529c70580e9b55415cf3ca07d |
|
BLAKE2b-256 | 6e0b04a3b4bcfcd912021030165397bf4d4f964c3eeed7c93cdb467263069058 |