Re: Extending contrib.sites.get_current_site logic

2018-10-02 Thread Aubrey Falconer
Jason, thanks for your response. An AUTH_USER_MODEL type extension mechanism is what was looking for. It's useful to know that nothing like this exists out of the box, and that forking either third-party libraries or Django itself is the clear path forward. On Monday, October 1, 2018 at 5:31

Extending contrib.sites.get_current_site logic

2018-10-01 Thread Aubrey Falconer
What is the best-practice pattern to replace/extend functionality in django.contrib libraries? My use case in this instance is to add domain alias awareness to the contrib.sites library. I've already created a customized sites library that incorporates the additional model updates and logic