def localtoday(): """ Get the current date in the local timezone for the user (timezone set by timezone.activate()).""" return timezone.localtime(utcnow(), timezone=timezone.get_current_timezone()).date()