Open redex-ai opened 12 months ago
Implementing user activity logging feature by adding a new model, updating views, creating a migration, registering the model in admin, and adding a new template with corresponding URL.
Add a new model 'UserActivity' with fields for user, action, and timestamp.
Update views to log user actions using the 'UserActivity' model.
Create a new migration file for the 'UserActivity' model.
Register the 'UserActivity' model to enable it in the Django admin.
Create a new template to display user activity logs.
Add a new URL pattern for the user activity log page.
In the Create Account Page, add another field for phone number. The allowed size for phone number is 10