mirror of
https://github.com/r4sas/py-i2phosts
synced 2025-01-09 22:38:08 +00:00
14 lines
297 B
Python
14 lines
297 B
Python
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),
|
|
})
|