Skip to main content

A reusable Django app to manage and display a calendar in your templates.

Project description

A Django application for managing and displaying a calendar and it’s events in your templates.

It will be heavily influenced by the awesome django-schedule

Since that project is unfortunately no longer maintained, we will try to revive it’s ideas with TDD, class based views and AJAX in mind.

Installation

You need to install the following prerequisites in order to use this app:

pip install Django
pip install South
pip install python-dateutil

If you want to install the latest stable release from PyPi:

$ pip install django-calendarium

If you feel adventurous and want to install the latest commit from GitHub:

$ pip install -e git://github.com/bitmazk/django-calendarium.git#egg=calendarium

Add calendarium to your INSTALLED_APPS:

INSTALLED_APPS = (
    ...,
    'calendarium',
)

Run the South migrations:

./manage.py migrate calendarium

Usage

First think about the layout you want to integrate. In most cases you might want to add the calendar for the current month first. Reverse with:

{% url "calendar_current_month" %}

Then use the different URLs to let the user navigate through months, weeks and days. The event management should be intuitive. Be sure to add Rule models, if you want to use occurences.

Contribute

If you want to contribute to this project, please perform the following steps:

# Fork this repository
# Clone your fork
$ mkvirtualenv -p python2.7 django-calendarium
$ pip install -r requirements.txt
$ ./logger/tests/runtests.sh
# You should get no failing tests

$ git co -b feature_branch master
# Implement your feature and tests
# Describe your change in the CHANGELOG.txt
$ git add . && git commit
$ git push origin feature_branch
# Send us a pull request for your feature branch

Whenever you run the tests a coverage output will be generated in tests/coverage/index.html. When adding new features, please make sure that you keep the coverage at 100%.

Roadmap

Check the issue tracker on github for milestones and features to come.

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-calendarium-0.1.1.tar.gz (74.8 kB view details)

Uploaded Source

File details

Details for the file django-calendarium-0.1.1.tar.gz.

File metadata

File hashes

Hashes for django-calendarium-0.1.1.tar.gz
Algorithm Hash digest
SHA256 87901e80e3588b0039fbbc9acbb63924d2372311c2eb33270458ea2fb87a3a88
MD5 0ba8384fa18b73c520f64a778e3b8cff
BLAKE2b-256 bc90c74e2a397af436c1ce8cd9a1228bad8cf34ff078e316bd4555f8611c0b55

See more details on using hashes here.

Supported by

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