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.0.tar.gz
(434.9 kB
view hashes)
Built Distribution
Close
Hashes for djangocms-link-all-0.6.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | b2bd3a4ba0aedae4a27dd66a368110eccd8ef3447a61defc9079817000db9a0f |
|
MD5 | 7f374d347d06036605f55b92dd2c08cc |
|
BLAKE2b-256 | c6eec2d5609e2773c30547cec24d4ca6f1cbb28c6427a335ed35e8ac2e2e8fd9 |
Close
Hashes for djangocms_link_all-0.6.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7d4e270c8714997be97e5571bf403cdf994597a5a8f22b781470842d16b2935a |
|
MD5 | 9f6b29088927f315c5ef324283f9c162 |
|
BLAKE2b-256 | 644d4e5dfb649d098d2474e0025f0884358ef308b6892694bd174d2830ebc53d |