v2.0.0
Old profiling data will be unavailable after upgrading. Don't forget to export the data in advance.
- Add extensible storage backend for profiling data and two storage implementations:
CacheStorage
andDatabaseStorage
. Setup one of the storage backends as shown in the section 4 of Setup. SPEEDINFO_PROFILING_CONDITIONS
is empty by default. If you useSPEEDINFO_EXCLUDE_URLS
in your project you need to initialize the list of conditions explicitly:SPEEDINFO_PROFILING_CONDITIONS = ["speedinfo.conditions.exclude_urls.ExcludeURLCondition"]
SPEEDINFO_REPORT_COLUMNS
andSPEEDINFO_REPORT_COLUMNS_FORMAT
were removed, useSPEEDINFO_ADMIN_COLUMNS
instead. Every entry inSPEEDINFO_ADMIN_COLUMNS
list is a tuple (column name, value format, attribute name). See Customize admin columns for details. To add extra columns follow the instruction in the section Extra admin columns below.speedinfo.settings
module renamed tospeedinfo.conf
- Base condition class was renamed from
Condition
toAbstractCondition