I would try to factor out as many code as possible which is common to both views into a separate function and use this function both context. I assume the validation and setting values in the profile work in the same way and does not rely on its context.
This way you can implement context specific logic in the views an than call common logic within the methods mentioned above.
Torsten
--
You received this message because you are subscribed to the Google Groups "pylons-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to pylons-discus...@googlegroups.com.
To post to this group, send email to pylons-...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/pylons-discuss/fec47c51-6f57-4608-8ec6-239eccfaedd1%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.