count fix 2
This commit is contained in:
@@ -45,3 +45,6 @@ def get_section_page(section_id, lim, off):
|
||||
|
||||
def section_count(section_id):
|
||||
return Article.query.filter(Article.section_id==section_id).count()
|
||||
|
||||
def count():
|
||||
return Article.query.count()
|
||||
|
||||
Reference in New Issue
Block a user