django.conf.settings.ADD_TO_CALENDAR_

Here are the examples of the python api django.conf.settings.ADD_TO_CALENDAR_ taken from open source projects. By voting up you can indicate which examples are most useful and appropriate.

1 Examples 7

3 Source : views.py
with Apache License 2.0
from aropan

def get_add_to_calendar(request):
    ret = settings.ADD_TO_CALENDAR_
    if request.user.is_authenticated and hasattr(request.user, "coder"):
        ret = request.user.coder.settings.get("add_to_calendar", ret)
    return settings.ACE_CALENDARS_[ret]['id']


def get_timezone(request):