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
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
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):
' 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
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-
--~--~---
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
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...
...@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):
> >
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
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]>
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
> >
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
12 matches
Mail list logo