Skip to main content

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 or yarn build

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for djangocms-link-all, version 0.3.1.1
Filename, size File type Python version Upload date Hashes
Filename, size djangocms_link_all-0.3.1.1-py3-none-any.whl (343.2 kB) File type Wheel Python version py3 Upload date Hashes View
Filename, size djangocms-link-all-0.3.1.1.tar.gz (363.9 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page