https://github.com/philipp-x/aldryn-quote
Easy to use quote plugin for Aldryn Cloud and django CMS.
https://github.com/philipp-x/aldryn-quote
Last synced: 5 months ago
JSON representation
Easy to use quote plugin for Aldryn Cloud and django CMS.
- Host: GitHub
- URL: https://github.com/philipp-x/aldryn-quote
- Owner: philipp-x
- License: mit
- Created: 2016-03-05T11:45:37.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2016-03-05T11:48:30.000Z (about 9 years ago)
- Last Synced: 2024-02-13T09:07:57.331Z (about 1 year ago)
- Language: Python
- Size: 5.86 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
- awesome-django-cms - aldryn-quote - cms.) (Add-ons)
README
aldryn-quote
============Easy to use quote plugin for [Aldryn Cloud](https://www.divio.com/) and [django CMS](http://www.django-cms.org/).
Requirements
------------* Django 1.7 or higher
* django CMS 3.0 or higherInstallation
------------1. Run the following commands in the given order:
```bash
pip install -e git+https://github.com/philipp-x/aldryn-quote#egg=aldryn-quote
```2. Add `aldryn_quote` to your `INSTALLED_APPS`:
```python
# settings.py
INSTALLED_APPS += [
'aldryn_quote',
]
```3. To sync the `aldryn-quote` models to the database run:
```bash
python manage.py migrate aldryn_quote
```Additional style choices
------------------------1. Within the `templates/aldryn_quote/plugins` folder, create a subfolder with a name of your choice.
2. Make sure your template is called `quote.html` and copy it to the subfolder created in step 1.
3. Add the name of your subfolder to a tuple called `QUOTE_STYLES`:
```python
# settings.py
QUOTE_STYLES = (
'subfolder',
)
```