Re: Reusable Contact Form include error?

2009-07-07 Thread 10000angrycats
Ran into a slight problem implementing that one Rajesh - getting the form to submit the form data wasn't quite right with the simple contect processor you described. I then hit on the obvious solution: implement the redirection using the form HTML. Changing that snippet to use /contact/thanks/

Re: Reusable Contact Form include error?

2009-07-03 Thread Rajesh D
On Jul 3, 8:57 am, 1angrycats wrote: > Great suggestion Rajesh. > > I've shifted everything into a custom context processor and > everythign's runnign well, with the view showing and emailing from any > page, however there's a final step I'm looking to

Re: Reusable Contact Form include error?

2009-07-03 Thread 10000angrycats
Great suggestion Rajesh. I've shifted everything into a custom context processor and everythign's runnign well, with the view showing and emailing from any page, however there's a final step I'm looking to resolve: returning the HttpResponseRedirect within the context processor fails silently.

Re: Reusable Contact Form include error?

2009-07-03 Thread 10000angrycats
Great suggestion Rajesh. I've shifted everything into a custom context processor and everythign's runnign well, with the view showing and emailing from any page, however there's a final step I'm looking to resolve: returning the HttpResponseRedirect within the context processor fails silently.

Re: Reusable Contact Form include error?

2009-07-02 Thread Reiner
That might be trivial, but you didn't show more views, so - do you add a form instance to the template context in every view? On Jul 2, 6:35 pm, 1angrycats wrote: > Hi everyone, long time lurker, first time botherer. > > I hope someone here can help me out

Re: Reusable Contact Form include error?

2009-07-02 Thread Rajesh D
On Jul 2, 12:35 pm, 1angrycats wrote: > Hi everyone, long time lurker, first time botherer. > > I hope someone here can help me out (& possibly a few other Django > n00bs in the future too). > > I've dug around as best I can but can't find a - probably

Reusable Contact Form include error?

2009-07-02 Thread 10000angrycats
Hi everyone, long time lurker, first time botherer. I hope someone here can help me out (& possibly a few other Django n00bs in the future too). I've dug around as best I can but can't find a - probably simple - solution to an issue I'm having. I've created a simple contact form as described