LOL!
parent
0dd51262f2
commit
6de1d5a343
|
@ -1,6 +1,6 @@
|
||||||
# Django settings for papiez_ipsum project.
|
# Django settings for papiez_ipsum project.
|
||||||
|
|
||||||
DEBUG = True
|
DEBUG = False
|
||||||
TEMPLATE_DEBUG = DEBUG
|
TEMPLATE_DEBUG = DEBUG
|
||||||
|
|
||||||
ADMINS = (
|
ADMINS = (
|
||||||
|
@ -23,7 +23,7 @@ DATABASES = {
|
||||||
|
|
||||||
# Hosts/domain names that are valid for this site; required if DEBUG is False
|
# 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
|
# 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:
|
# Local time zone for this installation. Choices can be found here:
|
||||||
# http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
|
# http://en.wikipedia.org/wiki/List_of_tz_zones_by_name
|
||||||
|
|
|
@ -33,8 +33,8 @@ def select_best_pope(aspect_ratio):
|
||||||
|
|
||||||
|
|
||||||
def _select_pope(aspect_ratio, pope):
|
def _select_pope(aspect_ratio, pope):
|
||||||
pp = PerfectPope(aspect_ratio=aspect_ratio, pope=pope)
|
#pp = PerfectPope(aspect_ratio=aspect_ratio, pope=pope)
|
||||||
pp.save()
|
#pp.save() # FIXME:
|
||||||
return pope.path
|
return pope.path
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue