Re: Please help me with django form 2.

2012-01-11 Thread J. Cliff Dyer
On Tue, 2012-01-10 at 23:49 -0800, coded kid wrote: > Hi guys, whenever I signup for my django form, my database is only > saving the id no and not names, username, email etc. | #sorry for > posting it like this. I'm on mobile. Okay. In my views.py, this ( | ) > means next line.@csrf_exe

Re: Please help me with django form 2.

2012-01-11 Thread 软刀
as I unflod your code I think may be you should create a Form-class like this: class RegisterForm(ModelForm): class Meta: model = Register and in your view should be: @csrf_exempt def welcome(request): if request.method=='POST': form=RegisterForm(request.POST) new_

Re: Please help me with django form 2.

2012-01-11 Thread kenneth gonsalves
On Tue, 2012-01-10 at 23:49 -0800, coded kid wrote: > names=models.CharField(max_length=50) etc. I hope you get my point? > Please help. I would suggest that you get to a computer and post the full code. Please help us to help you. -- regards Kenneth Gonsalves -- You received this message beca

Please help me with django form 2.

2012-01-10 Thread coded kid
Hi guys, whenever I signup for my django form, my database is only saving the id no and not names, username, email etc. | #sorry for posting it like this. I'm on mobile. Okay. In my views.py, this ( | ) means next line.@csrf_exempt | def welcome(request): | if request.method=='POST': | for