What you are trying to do is called object-level permission in Django, normally people use is model-level permission, you can use this module Django guardian <https://django-guardian.readthedocs.io/en/stable/>.
On Sunday, 13 June 2021 at 10:33:06 UTC+5:30 waelmuh...@gmail.com wrote: > Did any one understands what I mean > ? > في السبت، 12 يونيو 2021 في تمام الساعة 3:43:09 م UTC+3، كتب wael > muhammed رسالة نصها: > >> >> I want to make permissions according branch id >> for more details >> <https://stackoverflow.com/questions/67946118/django-permissions-according-to-branch-id> >> > -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/9ea27faa-b344-46d8-aa4b-3054ce90a7a3n%40googlegroups.com.