#17802: Pass the request down to the Sitemap callable ----------------------------------+-------------------------------------- Reporter: rm_ | Owner: nobody Type: New feature | Status: new Component: contrib.sitemaps | Version: master Severity: Normal | Resolution: Keywords: | Triage Stage: Unreviewed Has patch: 1 | Needs documentation: 1 Needs tests: 1 | Patch needs improvement: 0 Easy pickings: 0 | UI/UX: 0 ----------------------------------+--------------------------------------
Comment (by rm_): Replying to [comment:2 me@…]: > I'm using an own set request variable; request.LANGUAGE (based on TLD) to select the content on my site, for example Foo.objects.filter(language=request.LANGUAGE). > > Sure this could be set with the Sites framework and use a Site for the lookup instead, however this means I need to run a wsgi process for each language (with different SITE_ID), if I were to add 20 languages for my site with different content I then need to run 20 instances of django. Share the same sentiments about SITE_ID > I'm reopening, please consider this again. Care to respin the patch with the tests aaugustin asked for? -- Ticket URL: <https://code.djangoproject.com/ticket/17802#comment:3> Django <https://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-updates+unsubscr...@googlegroups.com. To post to this group, send email to django-updates@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-updates/061.e572c1faadb7d39033c4c7bd3cf3cffb%40djangoproject.com. For more options, visit https://groups.google.com/groups/opt_out.