Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Sorted imports in __init__.py files. | Tim Graham | 2015-06-27 | 1 | -2/+1 |
| | |||||
* | Removed unnecessary arguments in .get method calls | Piotr Jakimiak | 2015-05-13 | 1 | -4/+4 |
| | |||||
* | Removed empty sitemaps/models.py file. | Tim Graham | 2015-05-05 | 1 | -2/+0 |
| | |||||
* | Removed cases of six.iter* wrapped in a list() | Curtis Maloney | 2015-04-18 | 1 | -2/+1 |
| | | | | | There's absolutely no advantage [and a mild performance hit] to using six.iter* in these cases. | ||||
* | Moved contrib.sitemaps tests out of contrib. | Tim Graham | 2015-02-11 | 10 | -533/+0 |
| | |||||
* | Sorted imports with isort; refs #23860. | Tim Graham | 2015-02-06 | 6 | -10/+9 |
| | |||||
* | Removed contrib.flatpages.FlatPageSitemap per ↵ | Tim Graham | 2015-01-17 | 3 | -94/+1 |
| | | | | deprecation timeline; refs #23884. | ||||
* | Applied ignore_warnings to Django tests | Claude Paroz | 2014-12-30 | 3 | -53/+46 |
| | |||||
* | Deprecated TEMPLATE_DIRS. | Aymeric Augustin | 2014-12-28 | 1 | -6/+8 |
| | |||||
* | Refs #23884 -- Silenced a deprecation warning in ↵ | Tim Graham | 2014-12-16 | 1 | -1/+3 |
| | | | | sitemaps tests. | ||||
* | Fixed #23884 -- Moved FlatPageSitemap into ↵ | Berker Peksag | 2014-12-15 | 2 | -0/+33 |
| | | | | django.contrib.flatpages. | ||||
* | Made the ping_google command override ↵ | Loic Bistuer | 2014-10-19 | 1 | -1/+1 |
| | | | | | | BaseCommand.handle() rather than execute(). Overriding execute() bypasses the system check framework among other things. | ||||
* | Silenced some deprecation warnings in contrib.sitemaps; ↵ | Loic Bistuer | 2014-09-26 | 4 | -17/+70 |
| | | | | refs #22384. | ||||
* | Fixed #23403 -- Fixed crash in contrib.sitemaps if ↵ | Tim Graham | 2014-09-11 | 3 | -2/+36 |
| | | | | | | lastmod returned a date rather than datetime. Thanks igorcc for the report. | ||||
* | Limited lines to 119 characters in django/ | Tim Graham | 2014-09-05 | 1 | -1/+4 |
| | | | | refs #23395. | ||||
* | Fixed ping_google management command to use argparse. | R3v1L | 2014-09-02 | 1 | -5/+4 |
| | |||||
* | Fixed test from refs #22782. | Tim Graham | 2014-06-20 | 2 | -3/+3 |
| | |||||
* | Fixed #22782 -- Added i18n attr to Sitemap class | Luan Pablo | 2014-06-20 | 4 | -1/+63 |
| | | | | | It makes possible to have your sitemap in multiple languages when using i18n in URLs. | ||||
* | Fixed #22384 -- Deprecated reversing URLs by dotted path. | Tim Graham | 2014-06-03 | 2 | -2/+12 |
| | |||||
* | Removed locale dirs for single-message apps | Claude Paroz | 2014-05-19 | 1 | -22/+0 |
| | | | | | | Considering that these apps only translate their app name, it's not worth having a whole bunch of po files just for that. The translatable app name for those apps will be integrated in Django core catalog. | ||||
* | Fixed #21977 -- Deprecated SimpleTestCase.urls | Anubhav Joshi | 2014-04-06 | 2 | -3/+3 |
| | |||||
* | Fixed #22218 -- Deprecated django.conf.urls.patterns. | Tim Graham | 2014-04-03 | 2 | -18/+20 |
| | | | | Thanks Carl Meyer for the suggestion and Alex Gaynor and Carl for reviews. | ||||
* | Fixed typo in error message in django.contrib.sitemaps. | Jannis | 2014-03-24 | 1 | -1/+1 |
| | |||||
* | Fixed #22070 -- Changed verbose_name for apps in ↵ | James Jenkins | 2014-03-07 | 1 | -1/+1 |
| | | | | | | django.contrib to use title case Thanks bendavis78 for the report. | ||||
* | Suppressed the `if Site._meta.installed` pattern. | Aymeric Augustin | 2014-02-01 | 2 | -5/+13 |
| | | | | | | | | | | | The purpose of this construct is to test if the django.contrib.sites application is installed. But in Django 1.9 it will be forbidden to import the Site model when the django.contrib.sites application isn't installed. No model besides Site used this pattern. Refs #21719, #21923. | ||||
* | Moved RequestSite and get_current_site. | Aymeric Augustin | 2014-01-26 | 1 | -1/+1 |
| | | | | | | | | | Following the app-loading refactor, these objects must live outside of django.contrib.sites.models because they must be available without importing the django.contrib.sites.models module when django.contrib.sites isn't installed. Refs #21680. Thanks Carl and Loic for reporting this issue. | ||||
* | Fixed #21829 -- Added default AppConfigs. | Aymeric Augustin | 2014-01-25 | 1 | -0/+3 |
| | | | | | Thanks Russell for the report, Marc for the initial patch, Carl for the final review, and everyone who contributed to the design discussion. | ||||
* | Fixed #21718 -- Renamed has_app to is_installed. | Aymeric Augustin | 2014-01-06 | 2 | -2/+2 |
| | |||||
* | Added catalogs for apps that didn't have any translations. | Aymeric Augustin | 2014-01-05 | 1 | -0/+22 |
| | |||||
* | Fixed #21675 -- Added app configs for contrib apps. | Aymeric Augustin | 2014-01-05 | 1 | -0/+8 |
| | |||||
* | Renamed AppCache to Apps. | Aymeric Augustin | 2013-12-24 | 2 | -4/+4 |
| | | | | | | Also renamed app_cache to apps and "app cache" to "app registry". Deprecated AppCache.app_cache_ready() in favor of Apps.ready(). | ||||
* | Imported override_settings from its new location. | Aymeric Augustin | 2013-12-23 | 2 | -2/+2 |
| | |||||
* | Dropped AppCache._empty, _with_app and _without_app. | Aymeric Augustin | 2013-12-23 | 1 | -7/+7 |
| | | | | | It's now easier to achieve the same effect with modify_settings or override_settings. | ||||
* | Moved apps back in the toplevel django namespace. | Aymeric Augustin | 2013-12-22 | 2 | -2/+2 |
| | | | | Reverted 4a56a93cc458e9ab4dcab95d9f5067d4975dd1a2. | ||||
* | Stop testing for inclusion in INSTALLED_APPS. | Aymeric Augustin | 2013-12-22 | 2 | -2/+3 |
| | | | | | Removed some exception masking in the comments app that was harmful and couldn't be preserved easily. | ||||
* | Removed the app_config.installed flag. | Aymeric Augustin | 2013-12-22 | 2 | -12/+7 |
| | | | | | | | | | Since applications that aren't installed no longer have an application configuration, it is now always True in practice. Provided an abstraction to temporarily add or remove applications as several tests messed with app_config.installed to achieve this effect. For now this API is _-prefixed because it looks dangerous. | ||||
* | Normalized Model._meta.installed. | Aymeric Augustin | 2013-12-17 | 2 | -5/+7 |
| | | | | | | | | Used the information from the app cache instead of creating a duplicate based on INSTALLED_APPS. Model._meta.installed is no longer writable. It was a rather sketchy way to alter private internals anyway. | ||||
* | Removed superfluous models.py files. | Aymeric Augustin | 2013-12-17 | 1 | -1/+2 |
| | | | | | | | Added comments in the three empty models.py files that are still needed. Adjusted the test runner to add applications corresponding to test labels to INSTALLED_APPS even when they don't have a models module. | ||||
* | Fixed E125 pep8 warnings | Christopher Medrela | 2013-11-28 | 1 | -1/+1 |
| | |||||
* | More attacking E302 violators | Alex Gaynor | 2013-11-02 | 4 | -0/+6 |
| | |||||
* | Fixed flake8 E241 | Boryslav Larin | 2013-11-02 | 1 | -4/+9 |
| | |||||
* | Start attacking E231 violations | Alex Gaynor | 2013-10-24 | 1 | -1/+1 |
| | |||||
* | Fixed #21298 -- Fixed E301 pep8 warnings | Alasdair Nicol | 2013-10-23 | 1 | -0/+1 |
| | |||||
* | Fixed #21288 -- Fixed E126 pep8 warnings | Alasdair Nicol | 2013-10-21 | 1 | -1/+1 |
| | |||||
* | Fixed #21268 -- Fixed E303 pep8 warnings | Alasdair Nicol | 2013-10-18 | 1 | -1/+0 |
| | |||||
* | Fixed #7603 -- Added a 'scheme' property to the ↵ | Unai Zalakain | 2013-10-15 | 1 | -2/+2 |
| | | | | | | | | | | | | | | | | | | | HttpRequest object `HttpRequest.scheme` is `https` if `settings.SECURE_PROXY_SSL_HEADER` is appropriately set and falls back to `HttpRequest._get_scheme()` (a hook for subclasses to implement) otherwise. `WSGIRequest._get_scheme()` makes use of the `wsgi.url_scheme` WSGI environ variable to determine the request scheme. `HttpRequest.is_secure()` simply checks if `HttpRequest.scheme` is `https`. This provides a way to check the current scheme in templates, for example. It also allows us to deal with other schemes. Thanks nslater for the suggestion. | ||||
* | Whitespace cleanup. | Tim Graham | 2013-10-10 | 2 | -2/+1 |
| | | | | | | | * Removed trailing whitespace. * Added newline to EOF if missing. * Removed blank lines at EOF. * Removed some stray tabs. | ||||
* | Fixed "redefinition of unused 'foo' from line X" ↵ | Tim Graham | 2013-10-10 | 1 | -1/+0 |
| | | | | pyflakes warnings. | ||||
* | Fixed #21112 -- Make sure sitemaps with no lastmod date ↵ | Simon Charette | 2013-09-17 | 3 | -1/+19 |
| | | | | | | work correctly. Thanks to Matthias Kestenholz for the report and patch. | ||||
* | Took advantage of django.utils.six.moves.urllib.*. | Aymeric Augustin | 2013-09-05 | 1 | -5/+2 |
| |