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.2.tar.gz
(434.4 kB
view hashes)
Built Distribution
Close
Hashes for djangocms-link-all-0.5.1.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 82bcee8035c4020c368c5d4321f3e762b1ef66964c4a9b34ffed66708bdddb3c |
|
MD5 | 0e78153f58779302a4876a219f286240 |
|
BLAKE2b-256 | 046f46b6d125eed0b406b5c319218d0b7a59e99527c148ac16ef35b507e7c785 |
Close
Hashes for djangocms_link_all-0.5.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 76bb1a77f3556b262fee144e35768acb35d1921c3ac3926e4dc8f773d0fdba23 |
|
MD5 | f5f738d7cc068b4952b45c2f6754b4f8 |
|
BLAKE2b-256 | d78a09e96b0d026674c06b024a52259f34d63f2be29aba40a62dd9129bb73629 |