heroku
This commit is contained in:
parent
4688e8cba7
commit
18b3cf4583
@ -1,4 +1,4 @@
|
||||
{% extends 'blog/base.html' %}
|
||||
{% comment %}{% extends 'blog/base.html' %}{% endcomment %}
|
||||
|
||||
{% block content %}
|
||||
<div class="block">
|
||||
@ -8,4 +8,3 @@
|
||||
</form>
|
||||
</div>
|
||||
{% endblock %}
|
||||
|
||||
|
@ -30,6 +30,7 @@ def cloud():
|
||||
|
||||
|
||||
def post_list(request, page='1', tag=None):
|
||||
print('lalala')
|
||||
if tag is None:
|
||||
post_list = Post.objects.filter(published_date__lte=timezone.now()).order_by('-published_date')#[int(page)*5-5:int(page)*5]
|
||||
else:
|
||||
|
Loading…
Reference in New Issue
Block a user