robosats/frontend/views.py

7 lines
251 B
Python
Raw Normal View History

2022-01-01 23:05:55 +00:00
from django.shortcuts import render
2022-01-18 00:50:54 +00:00
from decouple import config
2022-01-01 23:05:55 +00:00
# Create your views here.
def index(request, *args, **kwargs):
2022-01-18 00:50:54 +00:00
context={'ONION_LOCATION': config('ONION_LOCATION')}
return render(request, 'frontend/index.html', context=context)