Publish news in django CMS
Project description
Simple news application. It allows you to:
write a tagable news
plug in latest new messages (optionally filtered by tags)
attach news archive view
Installation
Aldryn Platrofm Users
Choose a site you want to install the add-on to from the dashboard. Then go to Apps -> Install app and click Install next to News app.
Redeploy the site.
Manuall Installation
Run pip install aldryn-news.
Add below apps to INSTALLED_APPS:
INSTALLED_APPS = [ … 'taggit', 'aldryn_news', 'aldryn_search', 'django_select2', 'djangocms_text_ckeditor', 'easy_thumbnails', 'filer', 'hvad', 'haystack', # for search … ]
Posting news
You can add news in the admin interface now. Search for the label Aldryn_News.
In order to display them, create a CMS page and install the app there (choose News from the Advanced Settings -> Application dropdown).
Now redeploy the site again.
The above CMS site has become a news archive view.
Available Plug-ins
Latest News Entries plugin lets you list n most frequent news filtered by tags.
Search
If you want the news entries to be searchable, be sure to install aldryn-search and its dependencies. Your entries will be searchable using django-haystack.
You can turn it this behavior off by setting ALDRYN_NEWS_SEARCH = False in your django settings.
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
File details
Details for the file aldryn-news-0.1.16.tar.gz
.
File metadata
- Download URL: aldryn-news-0.1.16.tar.gz
- Upload date:
- Size: 22.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | efc9ecc3bf42fbf8bc063457a51444128b02d56bba10b6120df1cf587f247b35 |
|
MD5 | 0ced5d4ef89066cdee50ef9b37a922ca |
|
BLAKE2b-256 | b7c01c4a5d6cf46b807983959e21a05aa22b86e0dc1aa6f98f3701c34ade60ed |