robosats/frontend/views.py
redphix c426d11473
Add pre-commit-config (#298)
* Add pre-commit-config

* Fix pre commit config to run on frontend files
2022-10-24 14:34:21 +00:00

13 lines
390 B
Python

from decouple import config
from django.shortcuts import render
def basic(request, *args, **kwargs):
context = {"ONION_LOCATION": config("ONION_LOCATION")}
return render(request, "frontend/basic.html", context=context)
def pro(request, *args, **kwargs):
context = {"ONION_LOCATION": config("ONION_LOCATION")}
return render(request, "frontend/pro.html", context=context)