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.1.1.tar.gz
(433.6 kB
view hashes)
Built Distribution
Close
Hashes for djangocms-link-all-0.5.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | d85321caca749c136cf1d307fd05ce24477dd6e0929de44c7889c01c12afb309 |
|
MD5 | ba0bc7af6001b48d042019c6b0afcc1a |
|
BLAKE2b-256 | 592b03dbfe9ad6b43b2a9ce25562faf2df0f74587d58fbb8a6ba7e5ad16f3063 |
Close
Hashes for djangocms_link_all-0.5.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e5f90adf3833ec145d442c62dda43bb86f5618d605fd7ddfda316b46167e69d |
|
MD5 | df6b9fd83ef3a5959bad21a60836bf87 |
|
BLAKE2b-256 | a7304ee135abc58a26655877a35437967fe97725d35e6698148c98ba7de8556d |