I am using a from wizard not only to create but also to edit a model (as described here: Django Form Wizard to Edit Model). This works fine, but now I need to check, if the request user is allowed to edit. In my model I have a field, so only the owner should be allowed to edit:
class Document(models.Model):
...
owner = models.ForeignKey(User, editable=False)
...
Do you have any idea how to do this? Thanks!