Re: Plese guide to solve this

2010-07-22 Thread derek
On Jul 21, 7:38 pm, jaymzcd wrote: > I'm going to guess you have been following along with > thehttp://www.djangobook.com/ > site. It was great in the day but *do not use that* now-a-days as it > covers 0.96. There have been significant changes, one of which is the > maxlength to max_length on Ch

Re: Plese guide to solve this

2010-07-21 Thread jaymzcd
I'm going to guess you have been following along with the http://www.djangobook.com/ site. It was great in the day but *do not use that* now-a-days as it covers 0.96. There have been significant changes, one of which is the maxlength to max_length on CharFields. Stick with the particular version y

Re: Plese guide to solve this

2010-07-21 Thread Subhranath Chunder
Must be using very old docs: Use these instead: http://docs.djangoproject.com/en/dev/ Thanks, Subhranath Chunder. On Wed, Jul 21, 2010 at 8:47 PM, n3ph wrote: > Another one who's confused about all the deep API-Changes in Django :-( > > But reading the doc's is very helpful to preventing you

Re: Plese guide to solve this

2010-07-21 Thread n3ph
Another one who's confused about all the deep API-Changes in Django :-( But reading the doc's is very helpful to preventing you from thees traps... Am 21.07.2010 17:04, schrieb euan.godd...@googlemail.com: The traceback tells you exactly what the problem is. The correct kwarg is max_length

Re: Plese guide to solve this

2010-07-21 Thread euan.godd...@googlemail.com
The traceback tells you exactly what the problem is. The correct kwarg is max_length On Jul 21, 2:00 pm, balu wrote: > Respected sir > > This is balu studying B.Tech third year. I started working on django > in order to create dynamic website. My Python version is 2.6.5. While > I'm using creati

Re: Plese guide to solve this

2010-07-21 Thread Subramanyam
Hi In your models.py Change the below to name = models.CharField(maxlength=30) this name = models.CharField(max*_*length=30) underscore is the diff Regards Subramanyam On Wed, Jul 21, 2010 at 6:30 PM, balu wrote: > Respected sir > > This is balu studying B.Tech third year. I started working

Re: Plese guide to solve this

2010-07-21 Thread Shawn Milochik
> > > TypeError: __init__() got an unexpected keyword argument 'maxlength' > > Your error is right there, at the bottom of your stack trace. The keyword maxlength is not valid. You probably meant max_length. In the future, please actually read the error message output. It is usually very helpful.

Plese guide to solve this

2010-07-21 Thread balu
Respected sir This is balu studying B.Tech third year. I started working on django in order to create dynamic website. My Python version is 2.6.5. While I'm using creating a app the following error has displayed in the command line. / *