More ignore

master
daz 2014-01-07 13:49:34 +01:00
parent 1aec098d6d
commit f42795d30a
3 changed files with 5 additions and 2 deletions

View File

@ -4,3 +4,4 @@
from django.conf import settings
REDIS_TTL = getattr(settings, "PAPIEZATOR_REDIS_TTL", 60*60*12)
LOLGITHUB_URL = "I'm shy."

View File

@ -27,7 +27,7 @@
</style>
<body>
<a href="https://github.com/you"><img style="position: absolute; top: 0; left: 0; border: 0;" src="{% static 'img/forkme.png' %}" alt="Fork me on GitHub"></a>
<a href="{{github_url}}"><img style="position: absolute; top: 0; left: 0; border: 0;" src="{% static 'img/forkme.png' %}" alt="Fork me on $%#@^%@^%"></a>
<div class="container">

View File

@ -2,6 +2,7 @@
from django.shortcuts import render
from django.http import HttpResponse
from django.core.urlresolvers import reverse
from papiezator.papiezator_settings import LOLGITHUB_URL
from papiezator.pope_utils import select_best_pope, read_pope, unpopable, pope_or_death
from papiezator.models import DECIMAL_PLACES, Pope
@ -9,7 +10,8 @@ from papiezator.models import DECIMAL_PLACES, Pope
def index(request):
c = {
"absolute_url": request.build_absolute_uri(reverse("papiezator:conclave", args=[200,300])),
"absolute_url_exp": request.build_absolute_uri("width/height/")
"absolute_url_exp": request.build_absolute_uri("width/height/"),
"github_url": LOLGITHUB_URL
}
return render(request, "papiezator/index.html", c)