lib.itmens/common/config.py
2024-10-27 14:46:57 -04:00

21 lines
511 B
Python

# how many items are showed in one search result page
ITEMS_PER_PAGE = 20
ITEMS_PER_PAGE_OPTIONS = [20, 40, 80]
# how many pages links in the pagination
PAGE_LINK_NUMBER = 7
# max tags on list page
TAG_NUMBER_ON_LIST = 5
# how many books have in each set at the home page
BOOKS_PER_SET = 5
# how many movies have in each set at the home page
MOVIES_PER_SET = 5
# how many music items have in each set at the home page
MUSIC_PER_SET = 5
# how many games have in each set at the home page
GAMES_PER_SET = 5