Re: Customizie admin views

2012-03-24 Thread John S. Dey
_change(self,request,obj): > > result = super(MyAdmin, self).response_change(request, obj) > document=Yourmodel.objects.get(idcontent=obj.idcontent) > #rest of the code > > On Sat, Mar 24, 2012 at 11:40 PM, John S. Dey <j...@jsdey.com> wrote:

Re: Customizie admin views

2012-03-24 Thread John S. Dey
Thanks for the tip. I'm new to django/python and need a little bit of coaching. I found the response_change method in options.py as part of the ModelAdmin class. What is the best way to override? Could I create a class that inherits ModelAdmin and place the modified response_change in it.

Re: Multiple Choice Quiz

2012-03-10 Thread John S. Dey
You might try reading the tutorial. It provides example of a form. On Mar 10, 2012, at 6:16 PM, jbr3 wrote: > Hi, > > I'm trying to build a quiz app. The quizzes will have varying numbers > of questions and a radio button next to each of 4 potential answers > (there will only be one correct

Stockphoto

2010-08-20 Thread John S. Dey
Hi, I am new to django. The stockphoto app interested my but I have discovered that it is not current. I am working my way through it to upgrade--models seem to work but the forms in view still need updating. Has anyone updated the app? And if so, would you share with me. Thanks. John --