> Then you want entry.categories.all in your template.
That was the problem. Thanks.
--
Adam Hoscilo
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this grou
remove the nested for everything works fine.
I tried to fetch entries with .select_related() and without - no
difference.
Database backend is MySQL 5
Anyone had a problem like this one?
--
Adam Hoscilo
--~--~-~--~~~---~--~~
You received this message because you
Not that way anymore. I will just check (in the middleware) if the
requested entry's author is the logged in user (for edit action) if not
throw exception.
--
Adam Hoscilo
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
You're right - my fault.
It just isn't the way I would like to handle this problem.
But I've forgotten about middleware and I think this will be the best
way to solve this _issue_ without breaking MVC(MVT) schema (just check
if the requested object was created by user).
that by custom managers or maybe some other nice way?
PS django.pl coming soon :)
--
Regards
Adam Hoscilo
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"Django users" group.
To post to this group, send email
5 matches
Mail list logo