Opened 13 years ago

Closed 13 years ago

Last modified 13 years ago

#16983 closed Uncategorized (wontfix)

Incorporate Django Dynamic Sites App Functionality

Reported by: mhawkins82@… Owned by: nobody
Component: contrib.sites Version: 1.3
Severity: Normal Keywords: dynamic sites framework
Cc: Triage Stage: Unreviewed
Has patch: no Needs documentation: no
Needs tests: no Patch needs improvement: no
Easy pickings: yes UI/UX: no

Description

Feature request to incorporate Django DynamicSites functionality (seen here: https://bitbucket.org/uysrc/django-dynamicsites/src) into upcoming release(s) of Django. This functionality is comparable to the Drupal multi-site feature and is an extension to the Django Sites framework. It allows for multiple, potentially hundreds, of sites with unique domains/subdomains to be hosted from a single Django installation without the need to add additional virtualhosts in Apache. It also allows each hosted domain/subdomain to have unique urls, settings, templates, sitemaps, admin sections public files and data. This is great for users that do things such as domain parking, multi-site blog/newspaper hosting and web developers hosting multiple sites for clients from a single Django codebase.

Change History (4)

comment:1 by Aymeric Augustin, 13 years ago

Resolution: wontfix
Status: newclosed

This feature request was discussed back in #4438. As noted in that ticket, if you want it in Django, you should send a realistic proposal to the django-developers mailing list, building upon past discussions of this topic, and addressing the points raised in those discussions (as much as possible)

django-dynamicsites uses thread-local settings, a pattern that was rejected in #12737, so it's unlikely to make it into Django as-is. If you search the archives of django-users and django-developers for "dynamic SITE_ID" and "thread locals", you will find several discussions on this topic.

Finally, as far as I can tell, django-dynamicsites hasn't really reached the notability threshold required for inclusion in Django yet, and there isn't a compelling reason to include it in core — it appears to live well as a third-party app.

So, I'm not against supporting multi-sites in Django, "just merge django-dynamicsites" isn't a realistic plan, and I will close the ticket for that reason. However, you're very welcome to send a more detailed proposal for this feature on the mailing-list. Thanks!

Version 0, edited 13 years ago by Aymeric Augustin (next)

comment:3 by Jannis Leidel, 13 years ago

FWIW, I've since released django-hosts (http://django-hosts.readthedocs.org/) which has integration with the sites app.

comment:4 by anonymous, 13 years ago

Thanks, I've looked at Django-hosts and, while similar, it's not the same functionality.

Note: See TracTickets for help on using tickets.
Back to Top