Re: Class based views list view logic

2010-12-04 Thread Ɓukasz Rekucki
This example should help you: http://docs.djangoproject.com/en/dev/topics/class-based-views/#dynamic-filtering ``self.args`` and ``self.kwargs`` contain the groups matched in the URL, so I guess you want to use ``self.args[0]`` as your Menu name. One thing I don't understand is, why you sometimes

Class based views list view logic

2010-12-04 Thread Recep KIRMIZI
Hi i m trying to use class based views on my project. I've read the documentation but i couldnt determine it well. what i'm trying to do is just use simple list of items of selected menu. i have 2 classes on my model. Menu and MenuItem. Menu corresponds of food menu types of a cafe; like "wine menu