Changes between Initial Version and Version 1 of Ticket #17802, comment 1


Ignore:
Timestamp:
Mar 4, 2012, 3:45:10 AM (13 years ago)
Author:
Aymeric Augustin

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #17802, comment 1

    initial v1  
    77However, I'm not sure this patch is the best solution to the original problem. If you "serve the same app under different domains", you must be using different sites, which means different `settings.SITE_ID`. IMO you should just change the output of your sitemaps based on the current site (for the "different domains" part), or on another setting.
    88
     9Regarding:
     10> This could be useful too if you want to serve a different sitemap depending on the REMOTE_ADDR or HTTP_USER_AGENT.
     11nobody's asked for that yet, I invoke the YAGNI principle.
     12
    913Tentatively closing "needsinfo", please reopen if that solution doesn't work.
Back to Top