#
# Copyright (C) 2007 by Johan De Taeye
#
# This library is free software; you can redistribute it and/or modify it
# under the terms of the GNU Lesser General Public License as published
# by the Free Software Foundation; either version 2.1 of the License, or
# (at your option) any later version.
#
# This library is distributed in the hope that it will be useful,
# but WITHOUT ANY WARRANTY; without even the implied warranty of
# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser
# General Public License for more details.
#
# You should have received a copy of the GNU Lesser General Public
# License along with this library; if not, write to the Free Software
# Foundation Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
#
# file : $URL: https://frepple.svn.sourceforge.net/svnroot/frepple/tags/0.8.0/contrib/django/freppledb/common/__init__.py $
# revision : $LastChangedRevision: 1019 $ $LastChangedBy: jdetaeye $
# date : $LastChangedDate: 2009-08-11 17:30:11 +0200 (Tue, 11 Aug 2009) $
r'''
An reusable application that contains common functionality of different
frePPLe data models.
The common functionality handles:
- user preferences: reporting buckets, report start and end dates, report output type
- breadcrumbs
- login using the e-mail address
- generic report framework
- database utility functions, mainly to handle SQL dates in a portable way
- date and time bucket definition
- extra template tags ifgreaterthan, iflessthan, ifgreaterthanorequal, iflessthanorequal
'''
from django import template
# Make our tags built-in, so we don't have to load them any more in our
# templates with a 'load' tag.
template.add_to_builtins('common.templatetags.base_utils')
|