Has anyone achieved anything significant here on PA (working with Django) with regards to multi-tenancy? The same way that tumblr, strikingly, and everyone else is doing (yup, includes PA too I guess).
It seems like a fairly complex task to navigate, due to a combination of factors.
- 1) PA doesn't yet support pgsql, whose schemas are the most commonly supported for third-party apps which assist with achieving multi tenancy.
- 2) PA's web app mapping only allows for one project per subdomain, and even if we were to use multiple web apps working together, seems like it would be rather cumbersome to maintain multiple projects with the same source code and database.
- 3) You can't create a web app on PA which resides at {{ wildcard }}.example.com. Which means that even if you were to set up a {{ wildcard }}.example.com CNAME record on your DNS, your user accessing user.example.com would just get a "unconfigured domain" message from PA.
- 4) Multi-tenancy inception (I don't know if this is a valid point).
- 5) Django itself isn't especially suited for multi tenant design.
All limitations considered (especially including my ability), I would still much prefer sticking to PA so I don't have to deal with all that icky server stuff. I would probably stick to a non-subdomain way (meaning, using urls) of implementing the same functionality at the moment, but of course that wouldn't be ideal.
I would love to hear any thoughts on the matter!
*** The above is the result of an afternoon's research findings. If I sound like an idiot, let me know. I'll be glad if I've been thinking about things in too complex terms :)
{{ wildcard }} == * // don't know how to get rid of the italics