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.0.1.tar.gz
(434.9 kB
view hashes)
Built Distribution
Close
Hashes for djangocms-link-all-0.6.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b220a03d6bbfc5ebfe3c0a53d88503a22459fabf337731a579374dfa87198436 |
|
MD5 | 1c769ecc3245390731c250801a6d31f2 |
|
BLAKE2b-256 | 1c39a5f1985bf6ca1fb0d03fece13b0709d4efbffd0a2f14ce40346292a167a3 |
Close
Hashes for djangocms_link_all-0.6.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c8f69d151d32aa5753af8665ceadb5815664836b0f23799774d55714245d830b |
|
MD5 | f554a3572a8b030f4632ac381509eacc |
|
BLAKE2b-256 | a20e8c8a1c5697f6ec1905db9386243b5c463eb973224cfe31e82f9d42091b34 |