1
0
mirror of https://github.com/r4sas/py-i2phosts synced 2025-02-02 01:44:40 +00:00

pyi2phosts/other/views.py: pass b32, b64 variables to template

This commit is contained in:
Hidden Z 2010-11-05 14:38:38 +00:00
parent 5ead4d4e78
commit 866c451a67

View File

@ -1,8 +1,13 @@
from django.shortcuts import render_to_response
from pyi2phosts.lib.utils import get_b32
import settings
def index(request):
return render_to_response('index.html', {
'title': settings.SITE_NAME,
'domain': settings.DOMAIN,
'b64': settings.MY_B64,
'b32': get_b32(settings.MY_B64),
})