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 details)

Uploaded Source

File details

Details for the file django-cms-wunderground-1.0.0.tar.gz.

File metadata

File hashes

Hashes for django-cms-wunderground-1.0.0.tar.gz
Algorithm Hash digest
SHA256 e144b0d4e3402f95f491e63489e219d6d4b5ed6561ae7c6eeac40e6b3de53890
MD5 890c038786e250c2bfec8e7932755b6d
BLAKE2b-256 69c7b98da4eef25069ca297524f3a72cbe83a5fb979a16ee26950bd7b01b29a0

See more details on using hashes here.

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