Permalink
Switch branches/tags
Nothing to show
Commits on May 12, 2012
  1. Fixed for MySQL

    akaariai committed May 12, 2012
  2. Avoided test failure on MySQL by skipping a failing test

    akaariai committed May 12, 2012
    MySQL generates an extra query in inheritance cases when doing an update.
    This results in a test failure when checking for number of queries in
    update_only_fields tests. Added a skip temporarily to avoid this test
    failure. Refs #18304.
  3. Fixed #4102 -- Allow update of specific fields in model.save()

    niwinz authored and akaariai committed May 12, 2012
    Added the ability to update only part of the model's fields in
    model.save() by introducing a new kwarg "update_fields". Thanks
    to all the numerous reviewers and commenters in the ticket
Commits on May 11, 2012
  1. Fixed #18301 -- Fixed url name in password reset example.

    claudep committed May 11, 2012
    Thanks nicknnn for the report.
  2. Fixed #18281 -- Misleading wording in the tutorial.

    aaugustin committed May 11, 2012
    Thanks bhp for the report.
Commits on May 10, 2012
  1. Fixed #17518 -- CSS glitch in StackedInline.

    aaugustin committed May 10, 2012
    Thanks sebastian for the report and patch.
  2. Fixed #16335 -- Clarified an unintuitive behavior.

    aaugustin committed May 10, 2012
    The DTL will perform dict lookup before method lookup, which yields
    an unexpected result for defaultdicts.
  3. Fixed #17798 -- Tweaked the CA localflavor.

    aaugustin committed May 10, 2012
    Thanks shelldweller.
  4. Fixed #17950 -- Warned about usability limits of ModelChoiceField.

    aaugustin committed May 10, 2012
    Thanks poirier for the report.
  5. Replaced foo.next() by next(foo).

    claudep committed May 10, 2012
    This new syntax for next() has been introduced in Python 2.6 and is
    compatible with Python 3.
  6. Set the post process cache when finished instead of one by one.

    jezdez committed May 10, 2012
    This should prevent a race condition if running collectstatic is
    canceled or its cache is accessed from other processes, leaving the
    cache in a corrupt state.
Commits on May 9, 2012
  1. Fix proxy model Query.remove_inherited_models()

    akaariai committed May 9, 2012
    Fixed #18248 -- proxy models were added to included_inherited_models
    in sql.query.Query. The variable is meant to be used for multitable
    inheritance only. This mistake caused problems in situations where
    proxy model's query was reused.
Commits on May 8, 2012
  1. Merge pull request #50 from duilio/master

    alex committed May 8, 2012
    Make Comment._get_userinfo properly reentrant.
Commits on May 7, 2012
  1. Merge pull request #48 from akaariai/pull_38_fix

    akaariai committed May 7, 2012
    Fixed total_ordering for Python < 2.7.2
  2. Fixed total_ordering for Python < 2.7.2

    akaariai committed May 7, 2012
    The total_ordering in Python versions prior to 2.7.2 is buggy, and
    this caused infinite recursion for Field comparisons on those
    versions. Use the borrowed total_ordering for all Python versions
    prior to 2.7.2.
    
    The buggy total_ordering was introduced in commit
    5cbfb48
  3. Made model fields comparable to other objects

    charettes authored and akaariai committed May 7, 2012
    Fixed #17851 -- Added __lt__ and @total_ordering to models.Field,
    made sure these work correctly on other objects than Field, too.
  4. Imported zip from future_builtins instead of itertools.izip.

    claudep committed May 7, 2012
    In Python 3, itertools.izip is not available any more (behaviour
    integrated in standard zip).
Commits on May 6, 2012
Commits on May 5, 2012
  1. Used io.BytesIO also for ContentFile.

    claudep committed May 5, 2012
    io.StringIO would force the content to be Unicode, which would be
    slightly backwards incompatible.
  2. Replaced cStringIO.StringIO by io.BytesIO.

    claudep committed May 5, 2012
    Also replaced StringIO.StringIO by BytesIO in some other appropriate
    places. StringIO is not available in Python 3.
  3. Commented on a line that inadvertantly slipped in commit 865cd35

    claudep committed May 5, 2012
    Ignoring __pycache__ directories fixes #17393 and prepare testing
    with Python 3.
Commits on May 4, 2012
  1. Fixed #18270 -- Corrected variable name in password reset example.

    claudep committed May 4, 2012
    Thanks schnippi for the report.
Commits on May 3, 2012
  1. Inserted more simplefilter calls to be sure warnings are emitted.

    claudep committed May 3, 2012
    Thanks to Florian Apolloner for suggesting the patch.