paluh / django-timetable

Generic (it uses abstract model factory) calendar app for Django

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

django_timetable

INTRODUCTION

“What does this application do?”

This application implements as little as possible to allow you easily create calendar/schedule models.

It provides only abstract models (to be precise: abstract models factories) with timing related fields (start, end etc.). These models represent occurrences series and single occurrence. Additionally there are two fields which allows you to store custom “recurrence rules” (I’m using wonderful dateutil library) – of course you can provide your own fields if they can quack like mine.

.. what doesn’t?

It doesn’t implement any ,,Event’’ class or ,,Calendar’’ class – it’s up to you how you define calendar (it can be User or any other object) or how your Event object looks like. Because all ‘models’ in this aplication are based on abstract class factory you can easly subclass them in very flexible manner.

USAGE

I’m going to implement exmple app soon. Till then you have to look into test.py if you want to see any example.

TESTING

To test this app just add django_timetable to INSTALLED_APPS and run ./manage.py test django_timetable.

About

Generic (it uses abstract model factory) calendar app for Django

License:MIT License


Languages

Language:Python 100.0%