Django remove list_editable on a per row basis.

Posted by Jason Leveille on Stack Overflow See other posts from Stack Overflow or by Jason Leveille
Published on 2010-05-13T20:41:58Z Indexed on 2010/05/13 20:44 UTC
Read the original article Hit count: 246

Filed under:
|

On the back of Django 1.2RC1, I have built a great administrator for my client! It's awesome. The client has one request that, if not satisfied, could bring this house of cards crashing down.

I have a list of swim meet results. A meet result is added by a superuser. A team rep can edit a meet result (which they must be able to do inline, with list_editable), but after they edit the meet result inline and save, they should no longer be able to edit that result inline. They can only perform one edit.

So, my question ... can I turn off list_editable on a per row basis?

© Stack Overflow or respective owner

Related posts about django

Related posts about django-admin