Browse Source

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

pull/1/head
Hidden Z 14 years ago
parent
commit
866c451a67
  1. 5
      pyi2phosts/other/views.py

5
pyi2phosts/other/views.py

@ -1,8 +1,13 @@ @@ -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),
})

Loading…
Cancel
Save