summaryrefslogtreecommitdiff
path: root/django
AgeCommit message (Collapse)Author
2014-05-10Fixed #22502 -- Fixed microseconds/default/form interactionStephen Burrows
Made explicit lack of microsecond handling by built-in datetime form fields. Used that explicitness to appropriately nix microsecond values in bound fields. Thanks Claude Paroz for the review.
2014-05-09Fixed #22606 -- Locmemcache has_key() failed for infinite cache expiryMalcolm Box
Refactored cache expiry logic for Locmemcache to make consistent across all places where accessed, and correctly handle None as expiry time.
2014-05-08Fixed #22325: Ignore __first__ dependencies to your own appAndrew Godwin
2014-05-08Fixed #22563: Ignore AUTH_USER_MODEL errors in from_stateAndrew Godwin
2014-05-08Fixed #22588 -- Fix RegexValidator __eq__David Szotten
Compare parameters instead of re.pattern instances, and add the other parameters to the comparison. Also add a __ne__ to make assertNotEqual work properly.
2014-05-08Added feature flags for introspection capabilities.Aymeric Augustin
2014-05-08Split ignores_nulls_in_unique_constraints feature.Aymeric Augustin
Oracle and SQL Server don't have exactly the same limitations. It's worth treating them differently.
2014-05-08Replaced vendor checks by three feature flags.Aymeric Augustin
2014-05-08Appeased flake8.Aymeric Augustin
2014-05-08Removed unused imports in makemigrationsClaude Paroz
2014-05-08Fixed #22476: Couldn't alter attributes on M2Ms with through= setAndrew Godwin
2014-05-07Restored site header text in password reset view.Ramiro Morales
It's the one shown when the optional integration described in https://docs.djangoproject.com/en/dev/ref/contrib/admin/#adding-a-password-reset-feature is used. Follow-up to commits 6f470650d0 and 1d42a86ec7, together they fix different small UI regressions after a962286b74. Refs #21293.
2014-05-07Fixed #22496: Data migrations get transactions again!Andrew Godwin
2014-05-07Fixed #22581: Pass default values for schema through get_db_prep_save()Andrew Godwin
2014-05-07Fixed #22563: Better error message when trying to change AUTH_USER_MODELAndrew Godwin
You're not allowed to do this after you've made migrations; see ticket for more details.
2014-05-06Fixed #22576: Ensure makemigrations doesn't touch the database.Andrew Godwin
2014-05-06Fixed #22337: FileSystemStorage marked as deconstructible and tested.Andrew Godwin
2014-05-06Fixed #22586 -- Added LANGUAGE_SESSION_KEY to __all__.Tim Graham
Thanks david.fischer.ch at gmail.com for the report.
2014-05-06Fixed #22564 -- Prevented unneeded bytestrings in migrationsClaude Paroz
In some cases, this could lead to migrations written with Python 2 being incompatible with Python 3. Thanks Tim Graham for the report and Loïc Bistuer for the advices.
2014-05-06Added a bunch of missing unicode_literalsClaude Paroz
Refs #22564.
2014-05-05Fixed #22570 -- Made Form.__getitem__ KeyError more descriptive.Ben Davis
2014-05-05Fixed #22572 -- override_settings(ROOT_URLCONF) didn't clear ↵Loic Bistuer
urlresolvers._urlconfs. Thanks Anubhav Joshi and Tim Graham for the reviews.
2014-05-05Fixed #22466 -- ordering by reverse foreign keyAnssi Kääriäinen
Ordering by reverse foreign key was broken by custom lookups patch (commit 20bab2cf9d02a5c6477d8aac066a635986e0d3f3). Thanks to everybody who helped solving this issue. Special thanks to Trac alias takis for reporting this.
2014-05-05Fixed #22489 -- missing implemenation for search lookupJakub Roztocil
When custom lookups were added, converting the search lookup to use the new Lookup infrastructure wasn't done. Some changes were needed to the added test, main change done by committer was ensuring the test works on MySQL versions prior to 5.6.
2014-05-05Fixed #22429 -- Incorrect SQL when using ~Q and FAnssi Kääriäinen
2014-05-03Moved misplaced transaction.atomic from 0dce44e16bClaude Paroz
Thanks Florian Apolloner for noticing the issue and Aymeric Augustin for the expertise. Refs #22540.
2014-05-02Fixed #22435 -- Prevented adding a ManyToManyField from prompting for a default.Tim Graham
Thanks andrewsg for the report.
2014-05-02Fixed #22565 -- Prevented pgettext_lazy crash with bytestring inputClaude Paroz
Thanks ygbo for the report.
2014-05-02Fixed clash caused by the newly introduced -e shorthand for makemessages ↵Loic Bistuer
--exclude. This fixes a regression caused by 0707b82. Refs #22328.
2014-05-02Fixed #22540 -- Made _create_object_from_params() call create()Claude Paroz
So as the save step is centralized in create(), especially useful when customizing behavior in subclasses. Thanks craig.labenz@gmail.com for the report.
2014-05-02Fix migration autodector to work correctly with custom deconstructed valuesChris Beaven
2014-05-01Fixed #22539 -- Copied exclude argument in Model.full_clean() to prevent ↵Yehonatan Daniv
side effects.
2014-04-30flake8 fixes.Tim Graham
2014-04-30Cleanup failing test w/contenttypes and remove useless graph loadAndrew Godwin
2014-04-30Fixed #22485: Include all unmigrated apps in project state by default.Andrew Godwin
2014-04-30Fixed #19195 -- Allow explicit ordering by a relation `_id` field.Simon Charette
Thanks to chrisedgemon for the report and shaib, akaariai and timgraham for the review.
2014-04-30Refactored DjangoTranslation classDoug Beck
Also fixes #18192 and #21055.
2014-04-30Fixed #22474 -- Made migration recorder aware of multiple databasesClaude Paroz
Thanks Tim Graham for the review.
2014-04-30Removed unused import.Tim Graham
2014-04-30Fixed #22511 -- Added args to migrations management commands.Bruno Ribeiro da Silva
2014-04-29Use the new implementation of `six.with_metaclass`.Simon Charette
No more `NewBase` horrors. Thanks to bendavis78 for his work on merging this into six.
2014-04-29Removed bogus, ineffective 'U' flag from codecs.open() call.Ramiro Morales
2014-04-28Revert "Fixed #15179 -- middlewares not applied for test client login()"Tim Graham
This reverts commit 4fdd51b73240bf9c8d9472fcc45df699f0714755. See the ticket for concerns with this implementation; it will be revisited.
2014-04-26Fix many many typos in comments throughout the codebaseAlex Gaynor
2014-04-26Fixed #3214 -- Stopped parsing SQL with regex.Aymeric Augustin
Avoided introducing a new regex-based SQL splitter in the migrations framework, before we're bound by backwards compatibility. Adapted this change to the legacy "initial SQL data" feature, even though it's already deprecated, in order to facilitate the transition to migrations. sqlparse becomes mandatory for RunSQL on some databases (all but PostgreSQL). There's no API to provide a single statement and tell Django not to attempt splitting. Since we have a more robust splitting implementation, that seems like a good tradeoff. It's easier to add a new keyword argument later if necessary than to remove one. Many people contributed to both tickets, thank you all, and especially Claude for the review. Refs #22401.
2014-04-26Fixed #22328 -- Added --exclude option to compilemessages and makemessages.Ana Krivokapic
2014-04-25Fixed #21166 -- Reset errors_occurred flag after commit and rollback.Aymeric Augustin
2014-04-25Fixed #22515 -- Fixed the object_id of the LogEntry that's created after a ↵Tim Graham
user password change in the admin. Thanks ross at servercode.co.uk for the report.
2014-04-25Set some transaction-related feature flags on SQLite.Aymeric Augustin
Refs #22496.
2014-04-25Fixed #22498 -- constraint name was not quoted in FK creation SQLShai Berger