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.4.1.0.tar.gz
(431.0 kB
view hashes)
Built Distribution
Close
Hashes for djangocms-link-all-0.4.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a9ea3e8edce2072033ba820edb08d495a5e4306ae43250e445c83dff1fe4f608 |
|
MD5 | 641bdfd00782485b1663c901e517817c |
|
BLAKE2b-256 | eab94a239d0516085c965f0079ecdecf13a02fb54467f9ba3f119bac60fff93e |
Close
Hashes for djangocms_link_all-0.4.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6334356b29957680c4acf22290080088a05d40373d66cad013cb0f94fc5c94dd |
|
MD5 | a8d9d2d738438cdf066ea77c64cee7a1 |
|
BLAKE2b-256 | 3d342a7fc0a23fe9eac519dab4fe492150b45061e0086c0f6ce51c586a5ebbcb |