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.3.1.1.tar.gz
(363.9 kB
view hashes)
Built Distribution
Close
Hashes for djangocms-link-all-0.3.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3a0d96f5c40fdf6a4ddf9f59cb6871ec7caf6f5aa56e324880966fd0a1a9fb4c |
|
MD5 | c77b46f8463ae5eb4afbc4699e70f5e4 |
|
BLAKE2b-256 | ca87db8ab795fe1a5070ac109a39e58b9cb0d0b6cfcb91d919b7b7e932389dd8 |
Close
Hashes for djangocms_link_all-0.3.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | f49b6cc4a281822e2e0663adbff0a5f55963c96cc7835077dfd7dc12067d11b1 |
|
MD5 | 6bd7eb1b052a2469afcda4298918738c |
|
BLAKE2b-256 | a40117af34929c78dc47ea87ec5cce09ffc7aeaa8a6e59d8e6225361d1f92cff |