forms not valid

2009-02-02 Thread vierda
Hi all, I have three forms and none of these forms pass is_valid() test when I test in intrepeter. kindly help for point out what's problem with my forms. thank you. from django.contrib.auth.models import User from django.contrib.auth.forms import UserCreationForm from django import forms from

Re: error when using delete generic views

2009-01-29 Thread vierda
it relate to indentation matters when put template renderer. but I think I don't have any problem with that. please put some light and really appreciate for any kind help. Thank you. regards, -vierda- On Jan 29, 5:41 pm, Malcolm Tredinnick <malc...@pointy-stick.com> wrote: > On Wed, 2009-0

error when using delete generic views

2009-01-28 Thread vierda
dear all, I have problem when using delete_object generic views, the code always raise error delete_object() takes at least 3 non-keyword arguments (0 given) but I think I have provided 4 arguments. my code as per below. Thank you for any kind help. views.py : def delete_profile(request):

error when using Create, Update generic views

2009-01-27 Thread vierda
' object has no attribute '_meta' really appreciate for your kind help thank you regards, -vierda- --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to dj

register problem

2008-12-26 Thread vierda
1'] ) return render_to_response('success.html') else: form = RegistrationForm() variables = RequestContext (request,{'form':form}) return render_to_response('register.html', variables) somebody please give me clue and thank you in advance regards, -vierda- --~--~---

Re: login problem

2008-12-16 Thread vierda
same once again thanks man and have a nice day :) regards, -vierda- On Dec 16, 8:50 am, brandonh <bearassb...@gmail.com> wrote: > I just use the get method on the POST object. > > username = request.POST.get('username','') > > if there is no username posted, the us

Re: login problem

2008-12-15 Thread vierda
ch method was called your view. > something like > > if request.method == "POST": >     #now you can use request.POST > else: >     #just show the template > > Hope that helps, > > Matias. > > > > On Mon, Dec 15, 2008 at 5:15 AM, vierda <m...

Re: login problem

2008-12-14 Thread vierda
...@haryan.to> wrote: > On Sat, Dec 6, 2008 at 2:42 PM, vierda <m...@pensil.com> wrote: > > today I try to make login page with follow example code in > > djangoproject (user authentication chapter), code as following below : > > > def my_view(request): > >

login problem

2008-12-05 Thread vierda
shows MultiValueDictKeyError with exception value "Key 'username' not found in ". please give me clue to resolve this problem. Thank you in advance regards, -vierda- --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Group

Re: confused with session chapters in djangoproject

2008-12-05 Thread vierda
Dear Karen, thanks for your clarification. it clear now. Ok I will try to make the Comment model and see how it code works. regards, -vierda- On Dec 6, 8:47 am, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > On Fri, Dec 5, 2008 at 4:10 PM, vierda <[EMAIL PROTECTED]>

Re: confused with session chapters in djangoproject

2008-12-05 Thread vierda
to clarify me, thank you. On Dec 5, 10:27 pm, "Karen Tracey" <[EMAIL PROTECTED]> wrote: > On Fri, Dec 5, 2008 at 9:53 AM, vierda <[EMAIL PROTECTED]> wrote: > > > Dear all, > > > I'm newbie in Django and have started study since two weeks. I tried > >

confused with session chapters in djangoproject

2008-12-05 Thread vierda
st.session['has_commented'] = True return HttpResponse('Thanks for your comment!') -vierda- --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send e