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.0.tar.gz
(431.1 kB
view hashes)
Built Distribution
Close
Hashes for djangocms-link-all-0.5.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 1d8cacc807b39d28eb24f3c5077786a5ef13788260f3db959d889a142009ecea |
|
MD5 | 11344697ef1f6a3ab65ec755105416f9 |
|
BLAKE2b-256 | e94ce6ff6e33b76b467c0fa0b71cc7f826e71df8caf3cda2244b130f2dc2f1c5 |
Close
Hashes for djangocms_link_all-0.5.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2ae6865320da684d9030b24cd9a276f9ee12e111dd12ec10b5f2453a964e5b8b |
|
MD5 | a1891199787203e13b1ff77f2b848df8 |
|
BLAKE2b-256 | 459e07e87cc891d1c93eaf720d126a1dfe2952e6d759c0c6e95a74d36034aa24 |