in Data Handling by

How can you limit admin access so that the objects can only be edited by those users who have created them?

1 Answer

0 votes

Django’s ModelAdmin class provides customization hooks using which, you can control the visibility and editability of objects in the admin. To do this, you can use the get_queryset() and has_change_permission().

Course Curriculum

Python Django Training and Certification

Weekday / Weekend Batches

Click here to read more about Loan/Mortgage
Click here to read more about Insurance

Related questions

0 votes
asked Sep 23, 2019 in Salesforce by john ganales
0 votes
asked Jun 24, 2020 in Azure by anonymous
0 votes
asked May 23, 2019 in Interview Question by rajeshsharma
0 votes
asked May 17, 2020 in Python by sharadyadav1986
0 votes
asked Feb 18, 2020 in JAVA by rahuljain1