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.3.tar.gz
(179.8 kB
view hashes)
Close
Hashes for djangocms-link-all-0.6.1.3.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a0869c92b7aa001d05dc35171b029088704f88824a90a2263844e0b6ccfeb50d |
|
MD5 | ab68dc0d80b7d25c80f28c58d8c71eb7 |
|
BLAKE2b-256 | 2a8d160617001436207d63f0435f0dbf05bb756bdd27670aa2e57e2d62153724 |