##// END OF EJS Templates
Refactored post image code. Added a method to create an image or get an...
Refactored post image code. Added a method to create an image or get an existing one by hash

File last commit:

r918:06775760 default
r1025:e4f09ee8 default
Show More
all_tags.py
14 lines | 327 B | text/x-python | PythonLexer
from django.shortcuts import render
from boards.views.base import BaseBoardView
from boards.models.tag import Tag
class AllTagsView(BaseBoardView):
def get(self, request):
params = dict()
params['all_tags'] = Tag.objects.get_not_empty_tags()
return render(request, 'boards/tags.html', params)