djangocms-link-all


Namedjangocms-link-all JSON
Version 0.6.1.4 PyPI version JSON
download
home_pagehttps://gitlab.com/what-digital/djangocms-link-all
Summary
upload_time2023-08-20 18:40:04
maintainer
docs_urlNone
authorVictor Yunenko
requires_python>= 3.7
license
keywords
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            ![](/docs/screenshot.png)

In order to add more link types add to your `settings.py` `LINK_ALL_MODELS`, eg

```python
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`

            

Raw data

            {
    "_id": null,
    "home_page": "https://gitlab.com/what-digital/djangocms-link-all",
    "name": "djangocms-link-all",
    "maintainer": "",
    "docs_url": null,
    "requires_python": ">= 3.7",
    "maintainer_email": "",
    "keywords": "",
    "author": "Victor Yunenko",
    "author_email": "victor@what.digital",
    "download_url": "https://files.pythonhosted.org/packages/ae/e3/68adc7000d2df848b635e27f1f3721ce8d992836615a579e6fc2b297b957/djangocms-link-all-0.6.1.4.tar.gz",
    "platform": null,
    "description": "![](/docs/screenshot.png)\n\nIn order to add more link types add to your `settings.py` `LINK_ALL_MODELS`, eg\n\n```python\nfrom link_all.dataclasses import LinkAllModel\n\n\nLINK_ALL_MODELS_ADDITIONAL = [\n    LinkAllModel(app_label='djangocms_blog', model_name='Post'),\n    LinkAllModel(app_label='djangocms_blog', model_name='BlogCategory', url_method='get_absolute_url', is_show_url_in_select=True),\n]\n```\n\nThe add the urls to your urls.py file:\n```\nurlpatterns = [\n    path('', include('link_all.api.urls')),\n]\n```\n\nYou 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`.\n\n\n### Frontend development\n- add `IS_LINK_ALL_DEV=true` to your `.env-local` file\n- `cd link_all/static/link_all`\n- `yarn install`\n- `yarn start` or `yarn build`\n",
    "bugtrack_url": null,
    "license": "",
    "summary": "",
    "version": "0.6.1.4",
    "project_urls": {
        "Homepage": "https://gitlab.com/what-digital/djangocms-link-all"
    },
    "split_keywords": [],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "aee368adc7000d2df848b635e27f1f3721ce8d992836615a579e6fc2b297b957",
                "md5": "c5ee9c9ee69635e5111977a303deb838",
                "sha256": "b3814c24d9b6e440b1aad72b6d358ce12e2897478495b07fc05a844b467d1255"
            },
            "downloads": -1,
            "filename": "djangocms-link-all-0.6.1.4.tar.gz",
            "has_sig": false,
            "md5_digest": "c5ee9c9ee69635e5111977a303deb838",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": ">= 3.7",
            "size": 434722,
            "upload_time": "2023-08-20T18:40:04",
            "upload_time_iso_8601": "2023-08-20T18:40:04.331987Z",
            "url": "https://files.pythonhosted.org/packages/ae/e3/68adc7000d2df848b635e27f1f3721ce8d992836615a579e6fc2b297b957/djangocms-link-all-0.6.1.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2023-08-20 18:40:04",
    "github": false,
    "gitlab": true,
    "bitbucket": false,
    "codeberg": false,
    "gitlab_user": "what-digital",
    "gitlab_project": "djangocms-link-all",
    "lcname": "djangocms-link-all"
}
        
Elapsed time: 0.47001s