Along with the subject, I'd also propose abstracting the purposes that contrib.sites.requests.RequestSite serves out of the sites app, since the purpose it serves is more of a general one whose usefulness spans admin and auth, as well as third-party apps. The use of code from sites when sites is not installed demonstrates this point. So does checking whether an app is installed from inside that same app (is it an app or is it a lib?). If app A doesn't explicitly require app B, app A should properly function when I delete app B from my filesystem.
Adding a SITE_NAME setting, which would be used by the sites app in the absence of "django.contrib.sites" from INSTALLED_APPS would perfectly suffice, as a quick and simple solution. -- You received this message because you are subscribed to the Google Groups "Django developers (Contributions to Django itself)" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-developers+unsubscr...@googlegroups.com. To post to this group, send email to django-developers@googlegroups.com. Visit this group at http://groups.google.com/group/django-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/django-developers/34a38304-818b-4780-a5f9-a72a40855a57%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.