Skip to main content

An extension for Django CMS that displays the current local weather pulled from wunderground.com

Project description

django-cms-wunderground
=================
An extension for Django CMS that pulls current weather information
based on the website visitor's IP address and displays it on the
screen. You will need a www.wunderground.com API key to use this.

Dependancies
============

- django (tested with 1.3)
- django-cms (tested with 2.2)

Getting Started
=============

To get started simply install using ``pip``:
::
pip install django-cms-wungerground

Add ``cmsplugin_wunderground`` to your installed apps.

Add WUNDERGROUND_KEY to your settings file.
::
WUNDERGROUND_KEY = 'abcdefgh12345678'

Usage
=============

Simply drop a Current Local Weather plugin on a page. You will probably
want to override the ``cmsplugin_wunderground/local_weather.html``
template. Any of the fields from the wunderground.com "conditions" api
call should be available in the template under the context variable
``weather_info``.

Project details


Download files

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

Source Distribution

django-cms-wunderground-1.0.0.tar.gz (3.9 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page