lemoncurry/wellknowns/views/static.py

9 lines
241 B
Python

from django.views.generic.base import RedirectView
from django.templatetags.static import static
def redirect_to_static(file):
return RedirectView.as_view(url=static("wellknowns/" + file))
keybase = redirect_to_static("keybase.txt")