src/cm/utils/dj.py
author gibus
Thu, 03 Oct 2013 10:46:05 +0200
changeset 544 18ac07f35974
parent 0 40c8f766c9b8
permissions -rw-r--r--
Get rid of 'allow_contact' field for UserProfile since it is unused.

# django helpers collections
from django.conf import settings
from django.core.urlresolvers import reverse

def absolute_reverse(view_id, args):
    return settings.SITE_URL + reverse(view_id, args=args)