news_objects -> article_objects
This commit is contained in:
@@ -15,7 +15,7 @@ from django.utils import timezone
|
||||
from django.http import JsonResponse
|
||||
|
||||
def get_next_dict():
|
||||
posts=Post.news_objects.order_by('-public_date').values('slug')
|
||||
posts=Post.article_objects.order_by('-public_date').values('slug')
|
||||
print(posts)
|
||||
d={}
|
||||
print(d)
|
||||
|
||||
Reference in New Issue
Block a user