4 ms·
I guess just generate the permalink in the action and redirect to that instead of having it in the form itself. Something like: Form: /reworder/generate Acti
by torme 16y ago
I guess just generate the permalink in the action and redirect to that instead of having it in the form itself.
Something like:
Form: /reworder/generate
Action: Generates text, creates permalink and then redirects user to that permalink.
In the web world this pattern is common, called redirect-after-post. I'm not sure if thats much help, I've only used python in the context of the Pylons framework (and have only a few days experience with it at that). If you need more guidance let me know and I'll try and clarify.
edit: Link to redirect after post: http://en.wikipedia.org/wiki/Post/Redirect/Get http://en.wikipedia.org/wiki/Post/Redirect/Get
edit2: I should also say this is a pretty sweet project, sorry if I just listed criticisms.
- sahillavingia 16y agoOf course not, I love criticisms. How else do I improve? I'll implement that ASAP.