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.2.tar.gz
(434.2 kB
view hashes)
Built Distribution
Close
Hashes for djangocms-link-all-0.6.1.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ebb93b078d9bf428eb3735830cee9d7c164daa91619d7f77e687f3c05333ce20 |
|
MD5 | 3e799b11004c124c0800b454463a05ee |
|
BLAKE2b-256 | a0290c86e4a3d69ff1d8319cdd15e86d1d965aa17602cb710742fef97fe436a7 |
Close
Hashes for djangocms_link_all-0.6.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f38300ab54e2d9d0b04cb24440c2121a63aa2ef5940bc62282b085b82b83a33d |
|
MD5 | 12aa6851b492782a51a4a0c19ab87ee9 |
|
BLAKE2b-256 | 5a65209f2b853dc487a3197d0811271c5b0d53b7966ec5aac8beb20d34af1ef9 |