Adding custom fields in admin panel?
ChillarAnand opened this issue · 2 comments
ChillarAnand commented
What options are available for users if they have to add custom fields in the admin? For example, the percentile of total time.
One option is users can register the model by themselves. speedinfo has to ignore the registration if the model is already registered.
catcombo commented
Add custom field name to SPEEDINFO_REPORT_COLUMNS
and how the field should be calculated and formatted to SPEEDINFO_REPORT_COLUMNS_FORMAT
. You can see an example of how this can be done in the speedinfo/settings.py and how this settings are used in speedinfo/admin.py.
ChillarAnand commented
Thanks. @catcombo