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=true
to your.env-local
file cd link_all/static/link_all
yarn install
yarn start
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
djangocms-link-all-0.5.0.0.tar.gz
(431.1 kB
view hashes)
Built Distribution
Close
Hashes for djangocms-link-all-0.5.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 76b41625653a1835b804991cb0b42ce8c5d9171ca44553253313a15416994933 |
|
MD5 | 8546a9b1d6773c586a7933168164e920 |
|
BLAKE2b-256 | a292852d4c0a724ba8694477f64c3dcbe13e6968c109da4f94a24c0719a956fa |
Close
Hashes for djangocms_link_all-0.5.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 0d36b038490543f254bb1e4e43d53a345e8386f965db20f536a119f4354de6f6 |
|
MD5 | 7c597de0e9585a8be53a5536e3c304d7 |
|
BLAKE2b-256 | b1e4b6f9ef7715d6090d11a5029dc6329b724fe9613284ab68e42bfa2f372e83 |