I'm currently learning python/django As a Tutorial for myself I have done that:
- create user --> ok
- login user created --> ok
- create a new model called 'Article' with title and content as a properties --> ok
- create several 'Article' instances --> ok
- I display all the articles at the root of the webapp -->
- Last step is: in order to manipulate permission, only display some article depending on which user is logged with permissions. like if user A: then display only the article with odd ids (that doesn't make any sence but it's for learning)
It seems to be very complicated to do 'permission by instance' by hand right ?
Cheers