I have a login form. The model follows

class Login(models.Model):
    user_name = models.CharField(max_length=20)
    password = models.CharField(max_length=20)

In my view i am trying to create a login form using manipulator

def login(request):
    manipulator = Login.AddManipulator()
    form = forms.FormWrapper(manipulator, {}, {})
    return render_to_response( 'login.html', {'form': form})

>From my template login i can make login and password as input field.
it is working fine

My Question is
 Can I change the input field for password as passwordfield?

Thanks in advance


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to