This seems hacky but it's something I've come up with so far that
seems to do what I need it to. I have some issues with permissiosn to
display still but I'm working on it. My veiw method is as follows:
@login_required
@has_perm_or_owner_of('can change release', Release)
def update_release(requ
I have a model with a number of attributes (some included as example
below):
class Release(models.Model):
project_fk = models.ForeignKey(Project)
title = models.CharField(max_length=30)
summary = models.TextField()
owner = models.ForeignKey(User)
planning_status = models.CharF
2 matches
Mail list logo