From 6de1d5a343c4ae7e5bb16241c998b7d4d37609be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?dzikie=20dro=C5=BCd=C5=BCe?= Date: Tue, 26 Nov 2013 19:14:52 +0100 Subject: [PATCH] LOL! --- papiez_ipsum/settings.py | 4 ++-- papiezator/pope_utils.py | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/papiez_ipsum/settings.py b/papiez_ipsum/settings.py index 63706ef..7834daf 100644 --- a/papiez_ipsum/settings.py +++ b/papiez_ipsum/settings.py @@ -1,6 +1,6 @@ # Django settings for papiez_ipsum project. -DEBUG = True +DEBUG = False TEMPLATE_DEBUG = DEBUG ADMINS = ( @@ -23,7 +23,7 @@ DATABASES = { # Hosts/domain names that are valid for this site; required if DEBUG is False # See https://docs.djangoproject.com/en/1.5/ref/settings/#allowed-hosts -ALLOWED_HOSTS = [] +ALLOWED_HOSTS = ["*"] # Local time zone for this installation. Choices can be found here: # http://en.wikipedia.org/wiki/List_of_tz_zones_by_name diff --git a/papiezator/pope_utils.py b/papiezator/pope_utils.py index bf47ea2..540d007 100644 --- a/papiezator/pope_utils.py +++ b/papiezator/pope_utils.py @@ -33,8 +33,8 @@ def select_best_pope(aspect_ratio): def _select_pope(aspect_ratio, pope): - pp = PerfectPope(aspect_ratio=aspect_ratio, pope=pope) - pp.save() + #pp = PerfectPope(aspect_ratio=aspect_ratio, pope=pope) + #pp.save() # FIXME: return pope.path