Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/django/contrib/sitemaps
Commit message (Collapse)AuthorAgeFilesLines
* Sorted imports in __init__.py files.Tim Graham2015-06-271-2/+1
|
* Removed unnecessary arguments in .get method callsPiotr Jakimiak2015-05-131-4/+4
|
* Removed empty sitemaps/models.py file.Tim Graham2015-05-051-2/+0
|
* Removed cases of six.iter* wrapped in a list()Curtis Maloney2015-04-181-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 Graham2015-02-1110-533/+0
|
* Sorted imports with isort; refs #23860.Tim Graham2015-02-066-10/+9
|
* Removed contrib.flatpages.FlatPageSitemap per ↵Tim Graham2015-01-173-94/+1
| | | | deprecation timeline; refs #23884.
* Applied ignore_warnings to Django testsClaude Paroz2014-12-303-53/+46
|
* Deprecated TEMPLATE_DIRS.Aymeric Augustin2014-12-281-6/+8
|
* Refs #23884 -- Silenced a deprecation warning in ↵Tim Graham2014-12-161-1/+3
| | | | sitemaps tests.
* Fixed #23884 -- Moved FlatPageSitemap into ↵Berker Peksag2014-12-152-0/+33
| | | | django.contrib.flatpages.
* Made the ping_google command override ↵Loic Bistuer2014-10-191-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 Bistuer2014-09-264-17/+70
| | | | refs #22384.
* Fixed #23403 -- Fixed crash in contrib.sitemaps if ↵Tim Graham2014-09-113-2/+36
| | | | | | lastmod returned a date rather than datetime. Thanks igorcc for the report.
* Limited lines to 119 characters in django/Tim Graham2014-09-051-1/+4
| | | | refs #23395.
* Fixed ping_google management command to use argparse.R3v1L2014-09-021-5/+4
|
* Fixed test from refs #22782.Tim Graham2014-06-202-3/+3
|
* Fixed #22782 -- Added i18n attr to Sitemap classLuan Pablo2014-06-204-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 Graham2014-06-032-2/+12
|
* Removed locale dirs for single-message appsClaude Paroz2014-05-191-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.urlsAnubhav Joshi2014-04-062-3/+3
|
* Fixed #22218 -- Deprecated django.conf.urls.patterns.Tim Graham2014-04-032-18/+20
| | | | Thanks Carl Meyer for the suggestion and Alex Gaynor and Carl for reviews.
* Fixed typo in error message in django.contrib.sitemaps.Jannis2014-03-241-1/+1
|
* Fixed #22070 -- Changed verbose_name for apps in ↵James Jenkins2014-03-071-1/+1
| | | | | | django.contrib to use title case Thanks bendavis78 for the report.
* Suppressed the `if Site._meta.installed` pattern.Aymeric Augustin2014-02-012-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 Augustin2014-01-261-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 Augustin2014-01-251-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 Augustin2014-01-062-2/+2
|
* Added catalogs for apps that didn't have any translations.Aymeric Augustin2014-01-051-0/+22
|
* Fixed #21675 -- Added app configs for contrib apps.Aymeric Augustin2014-01-051-0/+8
|
* Renamed AppCache to Apps.Aymeric Augustin2013-12-242-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 Augustin2013-12-232-2/+2
|
* Dropped AppCache._empty, _with_app and _without_app.Aymeric Augustin2013-12-231-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 Augustin2013-12-222-2/+2
| | | | Reverted 4a56a93cc458e9ab4dcab95d9f5067d4975dd1a2.
* Stop testing for inclusion in INSTALLED_APPS.Aymeric Augustin2013-12-222-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 Augustin2013-12-222-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 Augustin2013-12-172-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 Augustin2013-12-171-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 warningsChristopher Medrela2013-11-281-1/+1
|
* More attacking E302 violatorsAlex Gaynor2013-11-024-0/+6
|
* Fixed flake8 E241Boryslav Larin2013-11-021-4/+9
|
* Start attacking E231 violationsAlex Gaynor2013-10-241-1/+1
|
* Fixed #21298 -- Fixed E301 pep8 warningsAlasdair Nicol2013-10-231-0/+1
|
* Fixed #21288 -- Fixed E126 pep8 warningsAlasdair Nicol2013-10-211-1/+1
|
* Fixed #21268 -- Fixed E303 pep8 warningsAlasdair Nicol2013-10-181-1/+0
|
* Fixed #7603 -- Added a 'scheme' property to the ↵Unai Zalakain2013-10-151-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 Graham2013-10-102-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 Graham2013-10-101-1/+0
| | | | pyflakes warnings.
* Fixed #21112 -- Make sure sitemaps with no lastmod date ↵Simon Charette2013-09-173-1/+19
| | | | | | work correctly. Thanks to Matthias Kestenholz for the report and patch.
* Took advantage of django.utils.six.moves.urllib.*.Aymeric Augustin2013-09-051-5/+2
|