summaryrefslogtreecommitdiff
path: root/django
AgeCommit message (Collapse)Author
2013-08-01Removed unused model option "admin"Tim Graham
2013-07-31Fixed #20649 -- Allowed blank field display to be defined in the initial ↵Alex Couper
list of choices.
2013-07-31Fixed #12103 -- Added AuthenticationForm.confirm_login_allowed to allow ↵Tim Graham
customizing the logic policy. Thanks ejucovy and lasko for work on the patch.
2013-07-31Fixed #19987 -- Disabled host validation when DEBUG=True.Will Hardy
The documentation promises that host validation is disabled when DEBUG=True, that all hostnames are accepted. Domains not compliant with RFC 1034/1035 were however being validated, this validation has now been removed when DEBUG=True. Additionally, when DEBUG=False a more detailed SuspiciousOperation exception message is provided when host validation fails because the hostname is not RFC 1034/1035 compliant.
2013-07-31Fixed #20826 -- Moved Manager.raw() and Manager._insert() to the QuerySet class.Loic Bistuer
2013-07-31Fixed #15624 -- Made sure aggregations are present in SELECTFlorian Hahn
2013-07-31Added field.attname to Options.name_mapAnssi Kääriäinen
The change also removed allow_explicit_fk from sql/query.py.
2013-07-31Fixed #20348 -- Consistently handle Promise objects in model fields.Tai Lee
All Promise objects were passed to force_text() deep in ORM query code. Not only does this make it difficult or impossible for developers to prevent or alter this behaviour, but it is also wrong for non-text fields. This commit changes `Field.get_prep_value()` from a no-op to one that resolved Promise objects. All subclasses now call super() method first to ensure that they have a real value to work with.
2013-07-31Fixed #20793 -- Added Last-Modified header to sitemaps.Julian Bez
2013-07-31Fixed #20819 -- Return 404 instead of 500 error when ``staticfiles`` view is ↵Tai Lee
used in production.
2013-07-30Fixed #20806 -- Cached loader caches find_templateGavin Wahl
The cached template loader should cache find_template in addition to load_template.
2013-07-30Fixed #10491 -- Allowed passing lazy objects to HttpResponseRedirect.Baptiste Mispelon
Thanks liangent for the report.
2013-07-30Added support for IPython.start_ipython in shellMinRK
IPython 1.0 introduces an actual stable public API function for starting a normal (non-embedded) IPython session. This is an official public API, which is promised to survive implementation changes.
2013-07-30Updated flatpages tests to override CSRF_FAILURE_VIEW.Kirill Zaitsev
2013-07-30Fixed a test that could fail depending on PASSWORD_HASHERS.Aymeric Augustin
Thanks Claude. Refs #20760.
2013-07-30Fixed #19877 -- Added `--no-color` option to `BaseCommand` to avoid using ↵Jose L. Patino
output styles.
2013-07-30Implement allow_migrate for migration operationsAndrew Godwin
2013-07-30Rename allow_syncdb to allow_migrateAndrew Godwin
2013-07-30Rename pre_ and post_syncdb to *_migrate, with aliases from old namesAndrew Godwin
2013-07-30Updated some minified admin javascript files.Julien Phalip
2013-07-30Fixed #19082 -- Enabled admin field pre-population for existing objects.Julien Phalip
Thanks to msaelices and d1ffuz0r for the initial patch and tests.
2013-07-30Fixed #20785 -- Corrected exception caught for Oracle LIKE operator detectionShai Berger
The code that tests to see which LIKE expressions to use now runs using non-error-wrapped cursor, so cx_Oracle exceptions need to be caught rather than Django DatabaseErrors. Thanks Trac user ludo for report and initial patch.
2013-07-29Removed most of absolute_import importsClaude Paroz
Should be unneeded with Python 2.7 and up. Added some unicode_literals along the way.
2013-07-29Fixed #14850 -- Cleaned up duplicate code in admin formset handling.Tim Graham
Thanks apollo13 for the report and review.
2013-07-29Deprecated django.utils.importlibClaude Paroz
This was a shim for pre-Python 2.7 support.
2013-07-29Fixed #20817 -- Added html_message parameter to django.core.mail.send_mail()Justin Michalicek
2013-07-29Fixed #18213 -- Allowed empty fixtures (emit a warning rather than raising ↵Przemek Lewandowski
an exception).
2013-07-28Simplified smart_urlquote and added some basic tests.Florian Apolloner
2013-07-27Fixed #11195 -- Added CSS classes to the changelist cells to allow style ↵Julien Phalip
customizations. Thanks to akaihola, Ramiro Morales and vdboor for their work on the patch.
2013-07-27Fixed a number of minor misspellings.Julien Phalip
2013-07-27Fixed #18511 -- Cleaned up admin password reset template titles.Serge G. Spaolonzi
2013-07-26Fixed #20805 -- Removed an extra colon beside checkboxes in the admin.Tim Graham
Thanks CollinAnderson for the report.
2013-07-26Fix Python 3 supportAndrew Godwin
2013-07-26Fix "OK" alignment in migrate outputAndrew Godwin
2013-07-26Add --fake option to migrateAndrew Godwin
2013-07-26Fix timezone warnings if USE_TZ=TrueAndrew Godwin
2013-07-26Prettier importsAndrew Godwin
2013-07-26Use new transaction API in syncdb section of migrateAndrew Godwin
2013-07-26Remove nasty error message checking hackAndrew Godwin
2013-07-26Updated contrib.admin to use Email/URLInputs; refs #16630Tim Graham
2013-07-26Fixed related model lookup regressionAnssi Kääriäinen
It has been possible to use models of wrong type in related field lookups. For example pigs__in=[a_duck] has worked. Changes to ForeignObject broke that. It might be a good idea to restrict the model types usable in lookups. This should be done intentionally, not accidentally and without any consideration for deprecation path.
2013-07-26Fixed #20625 -- Chainable Manager/QuerySet methods.Loic Bistuer
Additionally this patch solves the orthogonal problem that specialized `QuerySet` like `ValuesQuerySet` didn't inherit from the current `QuerySet` type. This wasn't an issue until now because we didn't officially support custom `QuerySet` but it became necessary with the introduction of this new feature. Thanks aaugustin, akaariai, carljm, charettes, mjtamlyn, shaib and timgraham for the reviews.
2013-07-25Fixed #20679 -- Corrected CachedFilesMixin.post_process docstring.Tim Graham
Thanks bmispelon for the report.
2013-07-25Add test for creating M2MsAndrew Godwin
2013-07-25Fixed ._meta.pk_index() virtual field failureAnssi Kääriäinen
2013-07-25Add tests for the migrate command and fix a bug they exposedAndrew Godwin
2013-07-24Fixed #20766 -- Deprecated FastCGI support.Tim Graham
2013-07-24Fixed #14300 -- Fixed initial SQL location if models is a package.Tim Graham
Thanks al_the_x for the report and fheinz for the draft patch.
2013-07-23Fixed #10284 -- ModelFormSet.save(commit=False) no longer deletes objectsTim Graham
Thanks laureline.guerin@ and Wedg.
2013-07-23Fixed #20761 -- Reworded ForeignKey default error messageersran9