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/
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
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.
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.
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
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
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
7 matches
Mail list logo