summaryrefslogtreecommitdiff
path: root/tests
AgeCommit message (Collapse)Author
2013-01-24Fixed #19125 -- The startproject command should validate the name earlierClaude Paroz
Thanks Łukasz Rekucki for the report and the patch.
2013-01-24Fixed #17416 -- Added widgets argument to inlineformset_factory and ↵Nick Sandford
modelformset_factory
2013-01-21Simplified a i18n test.Ramiro Morales
2013-01-21Fixed error introduced when testing patch for 013db6ba85Claude Paroz
Shame on me.
2013-01-21Fixed #18051 -- Allowed admin fieldsets to contain listsClaude Paroz
Thanks Ricardo di Virgilio for the report, Mateus Gondim for the patch and Nick Sandford for the review.
2013-01-21Fixed #19637 -- Ensured AdminEmailHandler fails silentlyClaude Paroz
Thanks lsaffre for the report. Refs #19325.
2013-01-20Cleaned up testing models.py added for earliest()Anssi Kääriäinen
The main cleanup was removal of non-necessary __unicode__ method. The tests didn't break on py3 as the string representation was never used in the tests. Refs #17813. Thanks to Simon Charette for spotting this issue.
2013-01-20Fixed #17813 -- Added a .earliest() method to QuerySetNick Sandford
Thanks a lot to everybody participating in developing this feature. The patch was developed by multiple people, at least Trac aliases tonnzor, jimmysong, Fandekasp and slurms. Stylistic changes added by committer.
2013-01-17Made (make|compile)messages commands accept multiple locales at once.Craig Blaszczyk
Thanks Craig Blaszczyk for the initial patch. Refs #17181.
2013-01-17Simplified i18n commands tests.Ramiro Morales
2013-01-16Modified makemessages so it creates .pot files once per invocation.Ramiro Morales
It creates a `locale/django.pot` file once instead of one `locale/<locale_code>/django.pot` file for every locale involved. Thanks Michal Čihař for the report and patch.
2013-01-16Fixed #17008 -- Added makemessages option to not remove .pot files.Ramiro Morales
Thanks airstrike for the report and initial patch, Julien for an enhanced patch and Jannis for reviewing.
2013-01-15Fixed #19099 -- Split broken link emails out of common middleware.Aymeric Augustin
2013-01-15Removed some uses of the deprecated assertEqualsAlex Gaynor
2013-01-14Improve test to ensure that post_delete was actually calledDavid Cramer
2013-01-14Move signal disconnect into finally blockDavid Cramer
2013-01-14Send post_delete signals immediatelyDavid Cramer
In a normal relational construct, if you're listening for an event that signals a child was deleted, you dont expect that the parent was deleted already. This change ensures that post_delete signals are fired immediately after objects are deleted in the graph.
2013-01-12Fixed #17574 -- Implemented missing get_key_columns in PostgreSQL backendClaude Paroz
2013-01-11Fixed #19488 -- Made i18n_patterns redirect work with non-slash-ending pathsClaude Paroz
Thanks Daniel Gerzo for the report and the initial patch.
2013-01-11Fixed #19585 -- Fixed loading cookie value as a dictClaude Paroz
This regression was introduced by the 'unicode_literals' patch.
2013-01-11Fixed #4833 -- Validate email addresses with localhost as domainClaude Paroz
2013-01-11Fixed #19360 -- Raised an explicit exception for aggregates on date/time ↵Nick Sandford
fields in sqlite3 Thanks lsaffre for the report and Chris Medrela for the initial patch.
2013-01-11Adapted test assertion against yaml dumpClaude Paroz
Fixes #12914 (again).
2013-01-09Fixed #19581 -- ensure unique html ids with CheckboxSelectMultiple widgetsLoic Raucy
ID check is now done the same way as MultipleHiddenInput.
2013-01-09Fixed lockups in jenkins, refs #19546.Florian Apolloner
2013-01-09Skipped deprecation warning test on Python 2.6Claude Paroz
Refs #19546. On Python 2.6, DeprecationWarnings are visible by default.
2013-01-09Fixed #19546 - ensure that deprecation warnings are shown during testsPreston Holmes
refs #18985
2013-01-08Fixed #17541 -- Fixed non-saved/nullable fk queryingAnssi Kääriäinen
2013-01-08Updated deprecated test assertionsClaude Paroz
2013-01-08Fixed #16759 -- Remove use of __deepcopy__ in qs.clone()Anssi Kääriäinen
The original problem was that queryset cloning was really expensive when filtering with F() clauses. The __deepcopy__ went too deep copying _meta attributes of the models used. To fix this the use of __deepcopy__ in qs cloning was removed. This commit results in some speed improvements across the djangobench benchmark suite. Most query_* tests are 20-30% faster, save() is 50% faster and finally complex filtering situations can see 2x to order of magnitude improvments. Thanks to Suor, Alex and lrekucki for valuable feedback.
2013-01-07Created special PostgreSQL text indexes when unique is TrueClaude Paroz
Refs #19441.
2013-01-06Tests for various emptyqs ticketsAnssi Kääriäinen
The tickets are either about different signature between qs.none() and qs or problems with subclass types (either EmptyQS overrided the custom qs class, or EmptyQS was overridden by another class - values() did this). Fixed #15959, fixed #17271, fixed #17712, fixed #19426
2013-01-06Fixed #19173 -- Made EmptyQuerySet a marker class onlyAnssi Kääriäinen
The guarantee that no queries will be made when accessing results is done by new EmptyWhere class which is used for query.where and having. Thanks to Simon Charette for reviewing and valuable suggestions.
2013-01-04Fixed #19192 -- Allowed running tests with dummy db backendClaude Paroz
Thanks Simon Charette for the initial patch, and Jan Bednařík for his work on the ticket.
2013-01-03Fixed #19382 -- Stopped smtp backend raising exception when already closedClaude Paroz
Thanks Sebastian Noack for the report and the initial patch.
2013-01-03Fixed #19134 -- Allowed closing smtp backend when the server is stoppedClaude Paroz
Thanks Sebastian Noack for the report and the initial patch.
2013-01-03Fixed #19545 -- Make sure media/is_multipart work with empty formsetsSimon Charette
2013-01-02Minor fixes in the known_related_objects tests.Aymeric Augustin
* Fixed JSON indentation. * Avoided relying on implicit ordering.
2013-01-02Fixed #19547 -- Caching of related instances.Aymeric Augustin
When &'ing or |'ing querysets, wrong values could be cached, and crashes could happen. Thanks Marc Tamlyn for figuring out the problem and writing the patch.
2013-01-01Modernized middleware tests.Aymeric Augustin
* Used override_settings consistently -- changes to DEBUG could leak. * Took advantage of assertRaisesRegexp. * Fixed indentation -- some code was indented at 2 spaces.
2013-01-01Fixed #19457 -- ImageField size detection failed for some files.Anton Baklanov
This was caused by PIL raising a zlib truncated stream error since we fed the parser with chunks instead of the whole image.
2013-01-01Fixed #19519 again -- Regression in LiveServerTestCase after fd1279a4.Aymeric Augustin
2012-12-31Fixed #19453 -- Ensured that the decorated function's arguments are ↵Julien Phalip
obfuscated in the @sensitive_variables decorator's frame, in case the variables associated with those arguments were meant to be obfuscated from the decorated function's frame. Thanks to vzima for the report.
2012-12-31Fixed #19519 -- Fired request_finished in the WSGI iterable's close().Aymeric Augustin
2012-12-31Fixed #19537 -- Made CheckboxInput._has_changed handle 'False' stringClaude Paroz
Thanks dibrovsd@gmail.com for the report.
2012-12-30Added further flexibility to ModelAdmin for controlling post-save redirections.Julien Phalip
Refs #19505.
2012-12-29Silenced warnings in the tests of deprecated features.Aymeric Augustin
2012-12-29Advanced pending deprecation warnings.Aymeric Augustin
Also added stacklevel argument, fixed #18127.
2012-12-29Removed legacy ways of calling cache_page.Aymeric Augustin
2012-12-29Removed truncate_words and truncate_html_words.Aymeric Augustin