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.

For further information, please check out the django-calendarium documentation on readthedocs.

Settings

If you want your calendar to start on a different date, you can set the CALENDARIUM_SHIFT_WEEKSTART setting to be the offset in days, that the calendar should add or subtract from the start day of the week. Most common case is probably, that you want your calendar week to start on sunday in which case you would add the following to your settings:

.. code-block:: python

CALENDARIUM_SHIFT_WEEKSTART = -1

Extending the app

It is almost inevitable that you will want to add more fields or more functionality to the Event model of this app. However, this app is already quite complex and we would like to keep it as simple and focused as possible. This app should do one thing and do it well, and that thing is: to output (recurring) events for a given day, week, month or timeframe.

A very common usecase is to display public events that are open for registration. For this case we have created another app django-event-rsvp which plays nicely with this app.

You might do it in a similar way. Since events created in the calendarium app can easily be tied to any object via generic foreign keys, you can therefore tie them to the objects of any of your own apps. The only thing left for you is to create nice CRUD views that create your own objects and our Event objects simultaneously behind the scenes.

Roadmap

Check the issue tracker on github for milestones and features to come. If you have ideas or questions, please don’t hesitate to open an issue on the issue tracker.

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.5.tar.gz (74.1 kB view details)

Uploaded Source

File details

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

File metadata

File hashes

Hashes for django-calendarium-0.5.tar.gz
Algorithm Hash digest
SHA256 b3a1e4c7bd976f6531d701b10c6632681e82fbe2b81bd13bddeb91d572d2e5c2
MD5 73397570e9826335eaafac2d7fa5e366
BLAKE2b-256 9b5879c8e455d0f5f798d5958d0f5cd4c972621f78172f5f5fa696490e497aea

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