Tuesday, January 31, 2012

Help using index view to render registration form from registration app

Hi if anyone could point me in the right direction it would be greatly
appreciated. Basically i have my index view which renders to
index.html the main page for a site. I need to know the best practice
to have my index view contain the registration form from django the
registration app so when the user visits the index page the
registration form is rendered there and when they submit the form it
goes back to the index page if there are any form errors.

Is it better to just make the registration app views render to my
index template instead but i wouldnt think this is a clean way. any
advice thanks.


--
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 django-users+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

No comments:

Post a Comment