##// END OF EJS Templates
Added GET request handler, command for key generation. Changed KeyPair format for ecdsa (use to_string instead of to_pem because it's shorter)
Added GET request handler, command for key generation. Changed KeyPair format for ecdsa (use to_string instead of to_pem because it's shorter)

File last commit:

r561:2045aa89 1.7-dev
r836:9ee107b9 decentral
Show More
authors.py
13 lines | 339 B | text/x-python | PythonLexer
from django.shortcuts import render
from boards.authors import authors
from boards.views.base import BaseBoardView
class AuthorsView(BaseBoardView):
def get(self, request):
context = self.get_context_data(request=request)
context['authors'] = authors
return render(request, 'boards/authors.html', context)