Thursday, February 28, 2013

Wording in Djang Docs: "per instance" vs "every instance"

Hello,

in the Django Docs for Class Based Views[1] it says under the green box:

This approach applies the decorator on a per-instance basis. If you want every instance of a view to be decorated, you need to take a different approach.

I don't quite get that, since "per instance" and "every instance" is for me the same, although in the context above it is used as if they were different in order to make you use a different approach.

My English is probably not good enough to get the difference so it would be nice if someone could explain it to me!

Thanks! 

[1]https://docs.djangoproject.com/en/1.5/topics/class-based-views/intro/#decorating-in-urlconf

No comments:

Post a Comment