I have created multiple user and I want only to show data entered by a current user to display him not anyone else data how can I achieve this using function based views in django
Are the users entering data to different model, if so than give foreign key say created_by to that model and store user instance to created_by and then you can filter queryset with request.user
1 Like