5 lines
132 B
Python
5 lines
132 B
Python
from articles.models import Article, Page
|
|
|
|
|
|
def pages(request):
|
|
return {"pages": Page.objects.filter(status=Article.PUBLISHED)}
|