Usando if, elif e else dentro do template HTML do Django
This commit is contained in:
@@ -6,7 +6,7 @@ def blog(request):
|
||||
print('blog')
|
||||
|
||||
context = {
|
||||
'text': 'Olá blog',
|
||||
# 'text': 'Olá blog',
|
||||
'posts': posts
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user