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.4.0.0.tar.gz
(431.0 kB
view hashes)
Built Distribution
Close
Hashes for djangocms-link-all-0.4.0.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | a98a1cc288cc77c899c7fbf4cb2e49824e61640a97692c172e3a7e951e571a03 |
|
MD5 | ed34b773d8546bb60f75fb9990cc4cdf |
|
BLAKE2b-256 | 309e84c3ac9e69ae63f1f49cce3483c59a0593b8cc2d40414fb5be38c0d2dc2c |
Close
Hashes for djangocms_link_all-0.4.0.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 470c9a7672f765dd7441cb32d2fd90244f9024d72c06c1e427c4eee5e6f6af42 |
|
MD5 | f67dcec19d60067c77623b4d02a0223f |
|
BLAKE2b-256 | 411da4e2c4143b87597d26b62ef8dcb691ac28aa816f33565d280d790a2e872e |