app/soc/views/helper/templatetags/__init__.py
author Sverre Rabbelier <srabbelier@gmail.com>
Mon, 13 Apr 2009 21:46:33 +0000
changeset 2181 3ebe6cb63aa0
parent 1308 35b75ffcbb37
permissions -rw-r--r--
Place the getSingleton call in view decorator in the try This way timeouts on the getSingleton() call are also catched. Patch by: Sverre Rabbelier

#
# Copyright 2008 the Melange authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# 
#   http://www.apache.org/licenses/LICENSE-2.0
# 
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

"""Module contains custom Django template tags used in Melange."""