You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hi, I'm using the feature of relatives of making a link to the object when the foreigkey field is read only. It would be great to check if the user has permissions to edit that object, else show the content of the field without the link to avoid unathorized errors. I tried to do that myself but i didn't know how. Could you help me?
The text was updated successfully, but these errors were encountered:
The file you'll want to change/override is relatives/templates/relatives/includes/fieldset.html. Start by copying the version in django-relatives.
I haven't used Django's permission system much so I'm not entirely sure how to check whether the user has permission to edit that object. The documentation for permissions might help.
Hi, I'm using the feature of relatives of making a link to the object when the foreigkey field is read only. It would be great to check if the user has permissions to edit that object, else show the content of the field without the link to avoid unathorized errors. I tried to do that myself but i didn't know how. Could you help me?
The text was updated successfully, but these errors were encountered: