summaryrefslogtreecommitdiff
path: root/django/contrib/sites/models.py
AgeCommit message (Expand)Author
2023-02-01Refs #33476 -- Applied Black's 2023 stable style.David Smith
2022-02-07Refs #33476 -- Reformatted code with Black.django-bot
2019-11-05Fixed #30947 -- Changed tuples to lists in model Meta options in django.contr...Jon Dufresne
2018-12-27Followed style guide for model attribute ordering.Matt Wiens
2018-10-09Fixed #29829 -- Remove unused code in contrib.sites.models._simple_domain_nam...Hasan Ramezani
2017-09-07Reverted "Fixed #27818 -- Replaced try/except/pass with contextlib.suppress()."Tim Graham
2017-06-28Fixed #27818 -- Replaced try/except/pass with contextlib.suppress().Mads Jensen
2017-02-07Converted usage of ugettext* functions to their gettext* aliasesClaude Paroz
2017-02-04Refs #27656 -- Updated django.contrib docstring verb style according to PEP 257.Anton Samarchyan
2017-01-18Refs #23919 -- Removed python_2_unicode_compatible decorator usageClaude Paroz
2017-01-18Refs #23919 -- Removed encoding preambles and future importsClaude Paroz
2016-11-29Fixed #27181 -- Allowed contrib.sites to match domains with trailing ".".Anton Samarchyan
2016-11-14Fixed E305 flake8 warnings.Ramin Farajpour Cami
2016-04-08Fixed E128 flake8 warnings in django/.Tim Graham
2015-11-07Fixed #25692 -- Added natural keys support to Site model.j0hnsmith
2015-06-18Fixed #24834 -- Fixed get_current_site() when Host header contains port.Nick Pope
2015-05-16Fixed #24774 -- Made contrib.site's Site.domain field uniquePiotr Jakimiak
2015-02-13Fixed #24332 -- Fixed contrib.sites create_default_site() when 'default' DATA...Tim Graham
2015-02-06Sorted imports with isort; refs #23860.Tim Graham
2015-01-18Removed contrib.sites.models.RequestSite/get_current_site() aliases.Tim Graham
2014-12-15Fixed #23822 -- Added support for serializing model managers in migrationMarkus Holtermann
2014-10-01Fixed #15089 -- Allowed contrib.sites to lookup the current site based on req...Tim Graham
2014-03-08Fixed #21188 -- Introduced subclasses for to-be-removed-in-django-XX warningsClaude Paroz
2014-01-26Moved RequestSite and get_current_site.Aymeric Augustin
2013-11-16Moved import at proper place in contrib.sitesClaude Paroz
2013-06-18Fixed #20199 -- Allow ModelForm fields to override error_messages from model ...Loic Bistuer
2013-02-24Fixed python 3 support. Refs #17320Florian Apolloner
2013-02-24Fixed #17320 -- Added whitespace validation to the Site.domain fieldHorst Gutmann
2013-02-23Fixed #19698 -- Cleared sites cache with signalsClaude Paroz
2012-08-12[py3] Refactored __unicode__ to __str__.Aymeric Augustin
2010-10-04Fixed #14386, #8960, #10235, #10909, #10608, #13845, #14377 - standardize Sit...Luke Plant
2009-02-27Invalidate the appropriate SITE_CACHE entry when saving a Site model.Malcolm Tredinnick
2008-08-28Updated a few save() methods on models to accept force_insert and force_updateMalcolm Tredinnick
2008-07-18Merged the newforms-admin branch into trunk.Brian Rosner
2008-06-22Fixed #7517 -- Added code to remove Sites from the site cache when they are d...Russell Keith-Magee
2007-09-15Added a get_host() method to HttpRequest. There is still an http.get_host() v...Malcolm Tredinnick
2007-09-14Fixed #3766 -- Added in-memory caching for the sites framework. Will speed up...Malcolm Tredinnick
2007-09-14Fixed #4951 -- Improved host retrieval in sites.models.RequestSite. Thanks, C...Malcolm Tredinnick
2007-09-13Fixed #5410 -- Added a __unicode__() method to RequestSite. Thanks, bosAdrian Holovaty
2007-08-05Fixed #2101 -- Renamed `maxlength` argument to `max_length` for oldforms `For...Gary Wilson Jr
2007-07-12Added RequestSite class to sites frameworkAdrian Holovaty
2007-07-12Added helpful error message to SiteManager.get_current() if the user hasn't s...Adrian Holovaty
2007-07-04Merged Unicode branch into trunk (r4952:5608). This should be fullyMalcolm Tredinnick
2006-05-11Changed Site model to use str, not reprAdrian Holovaty
2006-05-02MERGED MAGIC-REMOVAL BRANCH TO TRUNK. This change is highly backwards-incompa...Adrian Holovaty