Re: newbie problem with accepting form input

2010-12-15 Thread john doe
me to move forward. BR > Jer-ming > > 2010/12/15 john doe : > > > > > > On Tue, Dec 14, 2010 at 9:17 PM, john doe < > thebiggestbangthe...@gmail.com> > > wrote: > >> > >> > >> On Tue, Dec 14, 2010 at 2:15 PM, Titan, Jer-ming

Re: newbie problem with accepting form input

2010-12-14 Thread john doe
On Tue, Dec 14, 2010 at 9:17 PM, john doe wrote: > > > On Tue, Dec 14, 2010 at 2:15 PM, Titan, Jer-ming Lin wrote: > >> maybe your view function gets wrong. post it! XDD >> > looking at the request.POST itself I see: [code] [/code] which shows the type choices for re

Re: newbie problem with accepting form input

2010-12-14 Thread john doe
(ModelForm): class Meta: model=Report class IncidentForm(ModelForm): class Meta: model=Incident [/code] > BR > Titan > > On Dec 15, 1:50 am, john doe wrote: > > On Tue, Dec 14, 2010 at 9:19 AM, john doe < > thebiggestbangthe...@gmail.com>wrote: >

Re: newbie problem with accepting form input

2010-12-14 Thread john doe
On Tue, Dec 14, 2010 at 9:19 AM, john doe wrote: > > > On Tue, Dec 14, 2010 at 5:16 AM, Jer-ming Lin wrote: > >> Hi John, >> >>plz modify the Incident Model like Report Model, >> >> class Incident(models.Model): >> report =

Re: newbie problem with accepting form input

2010-12-14 Thread john doe
SF is not one of the available choices." ! Could it be that when the form is accepting input it is getting confused because the report has a type attribute and so does the incident. BR > Titan > > 2010/12/14 john doe : > > > > > > On Mon, Dec 13, 2010 at 6:12 PM, Ti

Re: newbie problem with accepting form input

2010-12-13 Thread john doe
ll remains. Any insight here? > ps: you can also google some pages which use the IntegerField to > save the choices. > > BR > Titan > > On Dec 14, 9:04 am, john doe wrote: > > Dear all, > >I am making a small Django app for a bug tracking system to get my >

newbie problem with accepting form input

2010-12-13 Thread john doe
Dear all, I am making a small Django app for a bug tracking system to get my head round this awesome framework. I am facing a problem wherein when accepting input via a form generated by models. The classes are listed below (not in its entirety). [code] class Report(models.Model): #type =

Re: Newbie: can't login as user via standard admin login page

2010-11-17 Thread john doe
On Wed, Nov 17, 2010 at 5:48 PM, Thomas Schreiber wrote: > Are you sure the user has been marked as is_staff or is_superuser? > > http://docs.djangoproject.com/en/dev/topics/auth/#django.contrib.auth.models.User.is_staff > > No the user is not marked as either because it is my goal to set up a no