Skip to main content

Provides news

Project description


A django application which provides news articles and related views.


  • 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 syncdb.
  • Run migrate news.


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.


Imperavi Redactor is licensed under Creative Commons Attribution-NonCommercial 3.0 license.

For commercial use please buy license here: or use earlier version.

Project details

Release history Release notifications | RSS feed

This version


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Files for farm-news, version 0.9
Filename, size File type Python version Upload date Hashes
Filename, size farm_news-0.9-py2.7.egg (17.5 kB) File type Egg Python version 2.7 Upload date Hashes View
Filename, size farm-news-0.9.tar.gz (7.4 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring DigiCert DigiCert EV certificate Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page