Add created_at/updated_at/user_id columns to tables
- This will help tracking who and what was created / changed - Move fetch_current_user_id to utils.py - Make ItemComment inherit from CreatedMixin
Showing
- app/inventory/views.py 4 additions, 5 deletionsapp/inventory/views.py
- app/models.py 31 additions, 22 deletionsapp/models.py
- app/plugins.py 4 additions, 20 deletionsapp/plugins.py
- app/templates/inventory/view_item.html 4 additions, 4 deletionsapp/templates/inventory/view_item.html
- app/utils.py 16 additions, 0 deletionsapp/utils.py
Loading
Please register or sign in to comment