add pinned news, delete db vlaue 'is_event'

This commit is contained in:
2020-09-05 15:19:04 +00:00
parent 9361788d1a
commit 3dc6085396
6 changed files with 101 additions and 93 deletions

View File

@@ -108,7 +108,7 @@ def tag_complete(request):
def get_next_dict():
# TODO: Docstring
posts = Post.article_objects.order_by('-public_date').values('slug')
posts = Post.articles.values('slug')
print(posts)
d = {}
print(d)