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.6.1.0.tar.gz
(435.2 kB
view hashes)
Built Distribution
Close
Hashes for djangocms-link-all-0.6.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | dee71665b872e7797524aff8d5e46f27fcef7886fe5db2552b2b431d4b4b426c |
|
MD5 | a6aac5c8883a3cd97f94f583be54384d |
|
BLAKE2b-256 | 5c41f57e5961190141739da60f636ce891bf08d5790d4e3c0c92fad5df79c591 |
Close
Hashes for djangocms_link_all-0.6.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | bcd96b29139f83eef2a18048807f9c0c8a0548a5b9daf1cf5db2507c04f45318 |
|
MD5 | ed2f6bef62b0e3a5177968ded297f2d8 |
|
BLAKE2b-256 | e7e8cd0f785cd7b254ffc9af6d0324f9c20104ab7490c658f31f63a5eedc5a6c |