Giter Club home page Giter Club logo

django-calendarium's Introduction

Django Calendarium

A Django application for managing and displaying a calendar and its events.

Installation

For further information, like requirements, please check out the [django-calendarium documentation](https://django-calendarium.readthedocs.org/) on readthedocs.

Calendar Example

We added some basic bootstrap styles to start with. If you're not using Bootstrap we recommend to build your own styles, otherwise try:

{% load static %}
<link rel="stylesheet" href="https://maxcdn.bootstrapcdn.com/bootstrap/3.3.6/css/bootstrap.min.css">
<link rel="stylesheet" href="{% static "calendarium/css/calendar.css" %}">

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:

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](https://github.com/bitmazk/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.

Compatibility

pydj 1.5 1.6 1.7 1.8 1.9
2.6

X

X

X

X

X

2.7

X

PASS

PASS

PASS

PASS

3.2

X

PASS

PASS

PASS

PASS

3.5

PASS

PASS

PASS

PASS

PASS

django-calendarium's People

Contributors

atvonk avatar bobbowles avatar claudep avatar dannyim avatar dkaufhold avatar hnykda avatar jaycrossler avatar jenstimmerman avatar keithhackbarth avatar mbrochh avatar micrypt avatar pablocastellano avatar timgates42 avatar treyhunner avatar tyrdall avatar vinamelody avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.