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.1.tar.gz
(434.2 kB
view hashes)
Built Distribution
Close
Hashes for djangocms-link-all-0.6.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 88e8c53b10dae08a799b73c68bcc6817aa151d5774efdcbade22f443ffc413b1 |
|
MD5 | 683bb465011d5e3751bf69f3fd80814d |
|
BLAKE2b-256 | c03727ecd5b071a4a92d989ee5a86a6b462ff7fa78218a41dc0db9492893979a |
Close
Hashes for djangocms_link_all-0.6.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | a5a8c7197c8ae0a736b4879a32f5b2ea22033b12a6ca926eb5c3e0c14b7184b1 |
|
MD5 | 3d4350112a1985156d061292c111e5c8 |
|
BLAKE2b-256 | f2d9a01a928780a8939945c34be60c1d490f3ca7d5ebb19155e7902d0dd6eb5f |