Luigi Panzeri
unread,Feb 14, 2009, 7:19:34 AM2/14/09Sign in to reply to author
Sign in to forward
You do not have permission to delete messages in this group
Either email addresses are anonymous for this group or you need the view member email addresses permission to view the original message
to pinax...@googlegroups.com
I don't know if it is the best but that is what i did (briefly):
in urls.py
url(r'^f/account/signup/$', account_signup, {'form_class': forms.ExtendendSignupForm}, name="acct_signup"),
url(r'^wrap/signup/$', views.wrap_signup, name='wrap_acct_signup'),
where ExtendedSignupForm derives from SignupForm (the pinax signup form)
then use a <form action="{% url wrap_acct_signup %}"> in your template
so in wrap_signup I call form.is_valid (it will call also the pinax one), account.views.signup (the pinax signup default controller) and my custom actions.
In order to customize the javascript validator you have to change./override the custom template