hi all,
I'm working on a project which consist several subdomains like:
www.example.com main website
passport.example.com user center
admin.example.com for admin purpose
These three websites need to share the same models and templates. I just created three pyramid projects and copy all models and templates to each one's folders. that's stupid. Is there any better practices for this?
Thanks in advanced.
--
You received this message because you are subscribed to the Google Groups "pylons-discuss" group.
To view this discussion on the web visit https://groups.google.com/d/msg/pylons-discuss/-/VYL4Ix6rxY8J.
To post to this group, send email to pylons-...@googlegroups.com.
To unsubscribe from this group, send email to pylons-discus...@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en.
These three websites need to share the same models and templates. I just created three pyramid projects and copy all models and templates to each one's folders. that's stupid. Is there any better practices for this?
These three websites need to share the same models and templates. I just created three pyramid projects and copy all models and templates to each one's folders. that's stupid. Is there any better practices for this?
maybe this answers your question? http://stackoverflow.com/questions/7607807/multiple-domains-and-subdomains-on-a-single-pyramid-instance