Articles management app for Django CMS
Project description
# cmsplugin-articles-ai
Articles manager for Django CMS
This CMS app provides a way to manage articles. You need to implement the frontend by yourself.
## Getting started
1. Install with pip: `pip install cmsplugin-articles-ai`
- Note that if you want to use factories and management for generating test data, you need to install optional requirements too. You can do that either by manually
installing them by running `pip install cmsplugin-articles-ai[utils]`
2. Add `'cmsplugin_articles_ai'` and `'publisher'` to `INSTALLED_APPS`
3. Add `'publisher.middleware.PublisherMiddleware'` to `MIDDLEWARE_CLASSES`
4. Implement frontend
- This package includes only reference templates in (`templates/cmsplugin-articles-ai/`).
- This package does not include any styling.
## Usage
You will see additional publish workflow buttons in the article edit page.
Article needs to be saved before you can preview the changes by clicking "Preview Draft" button
in the top bar. You need to be logged in as staff user and have edit mode on when previewing the changes.
If you are happy with the changes, go to the article edit page and click "Publish Draft" button.
Changes will be visible to anonymous users only after publishing the draft.
If you are updating existing project which has articles in the database already, you can use
`python manage.py publish_model cmsplugin_articles_ai.models.Article` command to generate
published versions for all of them. Without a published version, article is not visible
to anonymous users!
## Installing for development
Use `pip install -e /path/to/checkout` to install as "editable" package to your venv
Articles manager for Django CMS
This CMS app provides a way to manage articles. You need to implement the frontend by yourself.
## Getting started
1. Install with pip: `pip install cmsplugin-articles-ai`
- Note that if you want to use factories and management for generating test data, you need to install optional requirements too. You can do that either by manually
installing them by running `pip install cmsplugin-articles-ai[utils]`
2. Add `'cmsplugin_articles_ai'` and `'publisher'` to `INSTALLED_APPS`
3. Add `'publisher.middleware.PublisherMiddleware'` to `MIDDLEWARE_CLASSES`
4. Implement frontend
- This package includes only reference templates in (`templates/cmsplugin-articles-ai/`).
- This package does not include any styling.
## Usage
You will see additional publish workflow buttons in the article edit page.
Article needs to be saved before you can preview the changes by clicking "Preview Draft" button
in the top bar. You need to be logged in as staff user and have edit mode on when previewing the changes.
If you are happy with the changes, go to the article edit page and click "Publish Draft" button.
Changes will be visible to anonymous users only after publishing the draft.
If you are updating existing project which has articles in the database already, you can use
`python manage.py publish_model cmsplugin_articles_ai.models.Article` command to generate
published versions for all of them. Without a published version, article is not visible
to anonymous users!
## Installing for development
Use `pip install -e /path/to/checkout` to install as "editable" package to your venv
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
Built Distribution
Close
Hashes for cmsplugin-articles-ai-0.2.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 814f3f11550544ca8da884ecda157f2bad089419322d637e9a4bacd558b491f6 |
|
MD5 | 3d8a60cb6f322ddc84f5bd06512e72fe |
|
BLAKE2b-256 | af56068404f0de2ad6964d9feb18b3a72de173e8c8514571cd01bfc87fc63173 |
Close
Hashes for cmsplugin_articles_ai-0.2.0-py2.py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | aa5e6cd44b25e0ee076cf4935ee1f27539acab29c81ff98df3ac94e343384a27 |
|
MD5 | 5cb81737c63ef6d0f47709421fb99230 |
|
BLAKE2b-256 | b5a89e4b66777ae9ca38cd8dcc0e6aa2ca98efaf17dbb02a02de70f4c528a547 |