Permalink
Commits on Mar 8, 2014
  1. Fixed #22034 -- Added a specific set of relation checks for GenericIn…

    …lineModelAdmin.
    
    Thanks to jwa for the report.
    committed Mar 8, 2014
Commits on Mar 7, 2014
  1. Fixed #21863 -- supplemented get_lookup() with get_transform()

    Also fixed #22124 -- Expanded explanation of exactly what is going on in
    as_sql() methods.
    akaariai committed with mjtamlyn Mar 1, 2014
Commits on Mar 6, 2014
  1. Fixed #22070 -- Changed verbose_name for apps in django.contrib to us…

    …e title case
    
    Thanks bendavis78 for the report.
    JJinx committed with timgraham Mar 6, 2014
  2. Reworked ErrorDict.as_json() to prevent unnecessary serialization/des…

    …erialization step.
    
    Thanks @apollo13 for the suggestion. Refs #17413.
    loic committed with apollo13 Feb 28, 2014
  3. Fixed #22185 -- Added settings.CSRF_COOKIE_AGE

    Thanks Paul McMillan for the review.
    rogerhu committed with timgraham Mar 4, 2014
  4. Added --previous flag to msgmerge command used by makemessages

    Also took the opportunity to slightly refactor gettext options
    so as to ease customization by subclassing the command.
    Thanks Michal Čihař for the report and initial patch.
    claudep committed Mar 6, 2014
Commits on Mar 5, 2014
  1. Fixed issues and added new scripts to urlify.js

    Added the following scripts:
    * Lithuanian (thanks to petraszd for the patch)
    * Serbian (thanks to offy)
    * Azerbajani (thanks to Ali Ismayilov)
    
    Fixed the following issues:
    * In Polish character map, some uppercase letters were
      converted to a lowercase ascii equivalent.
    * The letter Y with a diaeresis had a lowercase version but no uppercase.
    
    The code was also simplified and cleaned up:
    * Use of `var` statements everywhere
    * Systematic use of semicolons
    * Proper looping over arrays and objects.
    
    Thanks to @oinopion for his help in getting the javascript
    into proper shape.
    
    Fixes #8561, #11035.
    bmispelon committed Jan 18, 2014
  2. Fixed #22207 -- Added support for GenericRelation reverse lookups

    GenericRelation now supports an optional related_query_name argument.
    Setting related_query_name adds a relation from the related object back to
    the content type for filtering, ordering and other query operations.
    
    Thanks to Loic Bistuer for spotting a couple of important issues in
    his review.
    gabejackson committed with akaariai Mar 4, 2014
  3. Fixed #14549 - Removed restriction of single FKs on intermediary tables

    Thanks to Loic Bistuer for review. Minor changes to error messages
    done by committer.
    dfunckt committed with akaariai Feb 19, 2014
  4. Really hidden warnings in javascript_quote tests

    Refs #21725.
    claudep committed Mar 5, 2014
  5. Fixed incorrect docstring in cache tests (take two)

    3e25c8a was an incomplete
    merge of the pull request.
    
    Thanks to @ramast for catching this.
    bmispelon committed Mar 5, 2014
Commits on Mar 4, 2014
  1. Fixed #7571 -- Fixed parameter matching in include()'d urlpattern

    Fixed URL resolving in the case where an outer regex includes an inner
    regex and both regexes use positional parameters instead of named
    groups, causing the outer regex's parameters to override the inner
    regex's.
    
    Modified the regex url resolver so that it will concatenates and then
    normalizes, instead of normalizing and then concatenating.
    afuna committed with bmispelon Feb 27, 2014
  2. Merge pull request #2396 from loic/ticket21893

    Fixed #21893 -- ModelState didn't account for MTI parents inherited from abstract models.
    andrewgodwin committed Mar 4, 2014
  3. Fixed #21893 -- ModelState didn't account for MTI parents inherited f…

    …rom abstract models.
    loic committed Mar 4, 2014
  4. Added tests for MTI in RunPython.

    loic committed with loic Jan 29, 2014
  5. Fixed #22085 -- Added a feature for setting non-expiring keys as the …

    …default.
    
    This feature allows the default `TIMEOUT` Cache argument to be set to `None`,
    so that cache instances can set a non-expiring key as the default,
    instead of using the default value of 5 minutes.
    
    Previously, this was possible only by passing `None` as an argument to
    the set() method of objects of type `BaseCache` (and subtypes).
    zedr committed with bmispelon Feb 23, 2014
Commits on Mar 3, 2014
  1. Allowed custom querysets when prefetching single valued relations

    The original patch for custom prefetches didn't allow usage of custom
    queryset for single valued relations (along ForeignKey or OneToOneKey).
    Allowing these enables calling performance oriented queryset methods like
    select_related or defer/only.
    
    Thanks @akaariai and @timgraham for the reviews. Refs #17001.
    loic committed with akaariai Jan 16, 2014
  2. Fixed #21986 -- Added some guidelines for database indexes.

    Thanks django-issues at colons.co for the suggestion.
    Alex de Landgraaf committed with timgraham Feb 23, 2014
  3. Fixed #21908 -- Added example usage for ModelAdmin.get_inline_instanc…

    …es().
    
    Thanks matt at schinckel.net for the suggestion.
    timgraham committed Mar 3, 2014