Security News
Research
Data Theft Repackaged: A Case Study in Malicious Wrapper Packages on npm
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
.. image:: https://travis-ci.org/aldryn/aldryn-blog.svg?branch=master :target: https://travis-ci.org/aldryn/aldryn-blog
.. image:: https://img.shields.io/coveralls/aldryn/aldryn-blog.svg :target: https://coveralls.io/r/aldryn/aldryn-blog
Simple blogging application. It allows you to:
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 Blog
app.
Redeploy the site.
NOTE: If you are using a database other than PostgresSQL, check out the table below.
Database support:
+---------------+----------------------------+-----------------+ | SQLite3 | MySQL | PostgresSQL | +===============+============================+=================+ | Not supported | Requires Time zone support | Fully supported | +---------------+----------------------------+-----------------+
Run pip install aldryn-blog
.
Add below apps to INSTALLED_APPS
: ::
INSTALLED_APPS = [
…
'aldryn_blog',
'aldryn_common',
'django_select2',
'djangocms_text_ckeditor',
'easy_thumbnails',
'filer',
'hvad',
'taggit',
# for search
'aldryn_search',
'haystack',
…
]
You can add post messages in the admin interface now. Search for the label Aldryn_Blog
.
In order to display them, create a CMS page and install the app there (choose Blog
from the Advanced Settings -> Application
dropdown).
Now redeploy/restart the site again.
The above CMS site has become a blog post archive view.
In Aldryn Blog, there are two content fields in each Post which may be confusing:
The Lead-In is text/html only and is intended to be a brief "teaser" or introduction into the blog post. The lead-in is shown in the blog list-views and is presented as the first paragraph (or so) of the blog post itself. It is not intended to be the whole blog post.
To add the body of the blog post, the CMS operator will:
Latest Blog Entries
plugin lets you list n most frequent blog entries filtered by tags.Blog Authors
plugin lists blog authors and the number of posts they have authored.Tags
plugin lists the tags applied to all posts and allows filtering by these tags.If you want the blog posts to be searchable, be sure to install aldryn-search
and its dependencies.
Your posts will be searchable using django-haystack
.
You can turn it this behavior off by setting ALDRYN_BLOG_SEARCH = False
in your django settings.
ALDRYN_BLOG_SHOW_ALL_LANGUAGES
: By default, only the blog posts in the current language will be displayed. By setting the value of this option to True
, you can change the behaviour to display all posts from all languages instead.ALDRYN_BLOG_USE_RAW_ID_FIELDS
: Enable raw ID fields in admin (default = False)FAQs
Adds blogging abilities to django CMS
We found that aldryn-blog demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Research
The Socket Research Team breaks down a malicious wrapper package that uses obfuscation to harvest credentials and exfiltrate sensitive data.
Research
Security News
Attackers used a malicious npm package typosquatting a popular ESLint plugin to steal sensitive data, execute commands, and exploit developer systems.
Security News
The Ultralytics' PyPI Package was compromised four times in one weekend through GitHub Actions cache poisoning and failure to rotate previously compromised API tokens.