summaryrefslogtreecommitdiff
path: root/tests
Commit message (Collapse)AuthorAgeFilesLines
* Removed __init__.py files.Florian Apolloner2013-02-262-0/+0
|
* Moved test_templates to templates to prevent issues with ↵Florian Apolloner2013-02-2626-2/+2
| | | | regressiontests/templates later on.
* Updated an inaccurate comment.Aymeric Augustin2013-02-261-3/+2
| | | | | Tests can run nearly as fast under PostgreSQL and MySQL as under SQLite with a bit of configuration and the speedup is always a good thing.
* Fixed a caching test on Python 3.Carl Meyer2013-02-251-11/+11
|
* Fixed #18191 -- Don't consider Accept-Language redundantly in cache key.Łukasz Langa2013-02-251-0/+67
| | | | Thanks to choongmin for the original patch.
* Fixed #19634 -- Added proper __hash__ methods.Aymeric Augustin2013-02-251-10/+14
| | | | | | | Classes overriding __eq__ need a __hash__ such that equal objects have the same hash. Thanks akaariai for the report and regebro for the patch.
* Use built-in fixture support rather than calling loaddata in setUp().Carl Meyer2013-02-251-3/+1
|
* Merge pull request #847 from fhahn/ticket_18176Aymeric Augustin2013-02-251-0/+15
|\ | | | | Fixed #18176 -- Added test for year lookups with year < 1000
| * Fixed #18176 -- Added test for year lookups with year < 1000Florian Hahn2013-02-251-0/+15
| | | | | | | | Thanks Tomas Ehrlich for the initial test
* | Fixed #19854 -- Turn Django's own Selenium tests off by default.Carl Meyer2013-02-252-7/+6
|/
* Fixed #19903 -- Fixed unbalanced setUp/tearDown calls in LiveServerAddress testClaude Paroz2013-02-251-0/+2
|
* Changed testing strategy used in 6b03179e.Aymeric Augustin2013-02-252-38/+20
| | | | | | Avoid polluting the app cache as it causes unrelated test failures. Refs #19688.
* Fixed a test that was failing in Python 3.Julien Phalip2013-02-241-8/+3
| | | | | The issue was that as of Python 3, the generators' `next()` method becomes `__next()`. Thanks Alex Gaynor for noticing that. Refs #19890.
* Merge pull request #824 from ambv/languagecodeJulien Phalip2013-02-242-3/+11
|\
| * Fixes #19763 - LocaleMiddleware should check for supported languages in ↵Łukasz Langa2013-02-242-3/+11
| | | | | | | | settings.LANGUAGE_CODE
* | Fixed #19688 -- Allow model subclassing with a custom metaclass using ↵Simon Charette2013-02-243-0/+41
| | | | | | | | six.with_metaclass
* | Fixed #19890 -- ifchanged templatetag rendered its content twiceChristopher Medrela2013-02-241-0/+12
| | | | | | | | | | | | The content of ifchanged template tag was rendered twice: first time, to compare it with the previous value and the second time, to return the rendered output.
* | Fixed #15849 -- Made IfChanged node thread safe.Diederik van der Boor2013-02-241-0/+21
| | | | | | | | | | | | | | | | | | Previously, the ifchanged node stored state on `self._last_seen`, thereby giving undesired results when the node is reused by another thread at the same time (e.g. globally caching a Template object). Thanks to akaihola for the report and Diederik van der Boor and Bas Peschier for the patch.
* | Test case and docs for custom context data in feedsZbigniew Siciarz2013-02-245-0/+32
| | | | | | | | Thanks Paul Winkler for the initial patch. (Ref #18112).
* | Merge pull request #717 from slurms/ticket_19746Florian Apolloner2013-02-241-2/+16
|\ \ | |/ |/| Fixed #19746 -- Allow deserialization of pk-less data
| * Fixed #19746 -- Allow deserialization of pk-less dataNick Sandford2013-02-121-2/+16
| |
* | Fixed #19253 -- Extracted template cache key building logicTomek Paczkowski2013-02-241-0/+23
| | | | | | | | | | | | Introduced a public function django.core.cache.utils.make_template_fragment_key Thanks @chrismedrela for fruitful cooperation.
* | Merge pull request #819 from erikr/masterAymeric Augustin2013-02-241-2/+32
|\ \ | | | | | | Fixed #16302 -- Ensured contrib.comments is IPv6 capable.
| * | Fixed #16302 -- Ensure contrib.comments is IPv6 capableErik Romijn2013-02-241-2/+32
| | | | | | | | | | | | | | | | | | Changed the ip_address field for Comment to GenericIPAddressField. Added instructions to the release notes on how to update the schema of existing databases.
* | | Fixed #19810 -- MemcachedCache now uses pickle.HIGHEST_PROTOCOLBas Peschier2013-02-241-0/+13
| | |
* | | Fixed #11295: If ModelAdmin.queryset returns a filtered QS don't require a ↵Wiktor Kolodziej2013-02-241-0/+28
|/ / | | | | | | | | | | | | 2nd count call Original patch rewritten, added tests and get_filters_params method for ChangeList class. Thanks Alex for the report.
* | Fixed a few ResourceWarnings.Florian Apolloner2013-02-243-13/+9
| |
* | Merge pull request #817 from rybaktomasz/ticket_5568Honza Král2013-02-242-2/+9
|\ \ | | | | | | Fixes #5568 -- DROP INDEX subcommand
| * | Add sqldropindexes to manageTomasz Rybak2013-02-242-2/+9
| | | | | | | | | | | | | | | | | | | | | Change patch from https://code.djangoproject.com/ticket/5568 to work on modern Django. Add special case for MySQL which has different syntax for DROP INDEX. Add unit tests for the new functionality.
* | | Revert "fixes #19263" - Fails if not SQLiteHonza Kral2013-02-241-15/+0
| | | | | | | | | | | | This reverts commit 2b76f19f2b89ac96bae2a169d71b23553c8101c7.
* | | Removing unneeded tearDown code.Honza Kral2013-02-241-4/+0
| | |
* | | Fixed #19896 -- Committed after clearing cache in the database.George Song2013-02-241-1/+8
| | |
* | | Fixed the usage of the deprecated assertEquals.Florian Apolloner2013-02-241-2/+2
| | |
* | | Caught warnings in the templates tests. Refs #17906.Aymeric Augustin2013-02-241-1/+5
| | | | | | | | | | | | This was missing from f49e9a517f2fdc1d9ed7ac841ace77636cbd6747.
* | | Merge pull request #813 from HiddenData/ticket-19263Honza Král2013-02-231-0/+15
|\ \ \ | | | | | | | | fixes #19263 - EmptyResultSet in subquery causes incorrect SQL
| * | | fixes #19263Marcin Biernat2013-02-231-0/+15
| | | |
* | | | Merge pull request #778 from viciu/19609Honza Král2013-02-233-3/+17
|\ \ \ \ | | | | | | | | | | Fixed #19609: admin Inlines doesn't display help_text for readonly fields
| * | | | Fixed #19609: admin Inlines doesn't display help_text for readonly fieldsWiktor Kolodziej2013-02-233-3/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Refactoring: field was renamed to field_name, since flatten_fieldsets returns field name, not field. Original patch from Marc Aymerich Gubern
* | | | | Merge branch 'ticket19872' of https://github.com/oinopion/djangoHonza Kral2013-02-231-1/+28
|\ \ \ \ \
| * | | | | Fixed #19872Tomek Paczkowski2013-02-231-1/+28
| | | | | | | | | | | | | | | | | | | | | | | | Made cached_property to behave as property when accessed via class.
* | | | | | Fixed #18491 -- deleting a proxy doesn't show warning about cascade deletesHonza Kral2013-02-232-1/+51
|/ / / / /
* | | | | Fixed #19526Aleksandra Sendecka2013-02-232-0/+9
| | | | | | | | | | | | | | | | | | | | | | | | | CSS specifications governs that syntax is case insensitive. This modifies CachedFilesMixin to support that.
* | | | | Fixed #18829 -- Fixed ModelChoiceIterator lengthKlaas van Schelven2013-02-231-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | Thanks facundo.olano at gmail.com for the report and thikonom for the initial patch.
* | | | | Some style fixes for stuff that was clearly brough tover from doctests.Alex Gaynor2013-02-232-7/+10
| | | | |
* | | | | Merge pull request #804 from oinopion/ticket18162Honza Král2013-02-231-0/+10
|\ \ \ \ \ | | | | | | | | | | | | Fixes #18162 -- Specifying choices to Field overrides any form_class argument
| * | | | | Proposed fix for #18162.Tomek Paczkowski2013-02-231-0/+10
| |/ / / /
* | | | | Fixed 19895 -- Made second iteration over invalid queryset raise an ↵Grzegorz Nosek2013-02-231-1/+6
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | exception too When iteration over a queryset raised an exception, the result cache remained initialized with an empty list, so subsequent iterations returned an empty list instead of raising an exception
* | | | | Fixes #17866: Vary: Accept-Language header when language prefix usedŁukasz Langa2013-02-232-1/+22
| | | | |
* | | | | One last final fix for 0ad76843. Tested on py3 and py2Honza Kral2013-02-231-4/+2
| | | | |
* | | | | Merge pull request #791 from khalas/ticket_19811Honza Král2013-02-231-2/+2
|\ \ \ \ \ | | | | | | | | | | | | Changed %r to %s in get_language_info error message