I have two apps one called mysite and one called register which is a nested app to mysite that handles registration. In mysite app views i have a view that imports the register form from register app and renders to home.html and home.html includes another template called register.html. So the register form is included on the home page but i want to keep all registration specific handling seperate thats why i have put it in its own app. So on the homepage the included register.html page that has a form with a url to post to say / register/ where it will head off to the register app and register the user and redirect elsewhere or return back to home.html with the form errors. So my question is that when it posts off to /register/ my views in the register app would need to render_to_response home.html to get back to where it was sent from in order to get the form errors which has now got a new url in the url bar so instead of /home/ it says /register/ but still displaying the home page which i think is silly. Does anyone have any input on this or would it be better to use an ajax request in this situation so the url doesnt have to change and i dont have 2 views rendering the same page.?
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+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.