farm-news
Overview
A django application which provides news articles and related views.
Installation
Install with pip install farm-news.
Add news to your installed apps.
Set NUM_LATEST_ARTICLES in your settings, default is 3.
Add news.context_processors.latest_articles to your TEMPLATE_CONTEXT_PROCESSORS.
Run manage.py syncdb.
Run manage.py migrate news.
Usage
First you will need to add at least one Article in the admin.
Then override the templates by creating new ones in your own app’s template directory * Article list found at /news/ news/article_list.html * Article detail found at /news/<slug> news/article_detail.html
You can also include the following template like this: * Article list (useful for including in a sidebar) {% include 'news/article_list.html' %}
Or create your own.
License
Imperavi Redactor is licensed under Creative Commons Attribution-NonCommercial 3.0 license.
For commercial use please buy license here: http://redactorjs.com/download/ or use earlier version.
Contact
Metadata
Release files for farm-news 0.9
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| farm-news-0.9.tar.gz | 7.4 kB | Without provenance | Details for farm-news-0.9.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| farm_news-0.9-py2.7.egg | Legacy Egg format | - | - | Details for farm_news-0.9-py2.7.egg |
Total release size: 24.9 kB
Release files / farm-news-0.9.tar.gz
| Download URL | farm-news-0.9.tar.gz |
|---|---|
| Size | 7.4 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
493a852b2d2932f1ced4e07a1f5d21c348fec1ae822333395f765d30d4487edb
|
|
BLAKE2b-256 checksum How to use checksums |
8cc3398449b7f2a7f073ad4daa9ffaf56df2b3ae1751a316d93041f7bb01bb25
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Release files / farm_news-0.9-py2.7.egg
| Download URL | farm_news-0.9-py2.7.egg |
|---|---|
| Size | 17.5 kB |
| Tags | Egg |
|
SHA-256 checksum How to use checksums |
c0669c17f0e3bc976d54afd7c57d688e3a94d66af756f43e707ea55a4f63de9e
|
|
BLAKE2b-256 checksum How to use checksums |
69787f2d824126da77d13197bdeecc1799dcac702283d20844ef93d5b85394ac
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for farm-news 0.9
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.