master
daz 2013-11-26 19:14:52 +01:00
parent 0dd51262f2
commit 6de1d5a343
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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