-
Notifications
You must be signed in to change notification settings - Fork 9
/
defaults.py
26 lines (21 loc) · 858 Bytes
/
defaults.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
__title__ = 'admin_timeline.defaults'
__author__ = 'Artur Barseghyan <artur.barseghyan@gmail.com>'
__copyright__ = '2013-2021 Artur Barseghyan'
__license__ = 'GPL 2.0/LGPL 2.1'
__all__ = (
'NUMBER_OF_ENTRIES_PER_PAGE',
'LOG_ENTRIES_DAY_HEADINGS_DATE_FORMAT',
'SINGLE_LOG_ENTRY_DATE_FORMAT',
'DEBUG'
)
# Number of entries per page. Used in both non-AJAX and AJAX driven views.
NUMBER_OF_ENTRIES_PER_PAGE = 35
# Headings (per day basis) date format in timeline.
LOG_ENTRIES_DAY_HEADINGS_DATE_FORMAT = "l j F Y"
# Single log entry date format in timeline.
SINGLE_LOG_ENTRY_DATE_FORMAT = "g:i:s A"
# Personal debug mode, which has nothing to do with global settings.DEBUG
DEBUG = False
# Simple filter form - do not use drop downs. Use text input instead.
# This might be useful in case you have millions of rows.
SIMPLE_FILTER_FORM = False