Re: Django view in admin index.

2011-04-26 Thread Oleg Lomaka
Not clearly understand what do you need. If you want to modify Admin index page to add your action links or widgets, take a look at django-grappelli or django-admin-tools. If you want to add custom view for your models, then read this http://docs.djangoproject.com/en/dev/ref/contrib/admin/#django

Django view in admin index.

2011-04-26 Thread kelvinfix
I have a view in view.py: def question_list(request): #questions = Question.objects.filter(topic__icontains = 1) questions = Question.objects.all() return render_to_response('admin/question_list.html', {'questions':questions}) question_list = staff_member_required(question_list) How c