Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Commits on Sep 1, 2015
  1. @timgraham
  2. @timgraham

    Fixed #25320 -- Reverted ManyToManyField.null to False for backwards …

    timgraham authored
    …compatibility.
    
    Thanks Tom Christie for the report and review.
  3. @prestontimmons

    Rewrote form widget tests as proper unittests.

    prestontimmons authored
    This is preparation for landing the template-based widget rendering
    patch and goes a long way to making these tests more useful for future
    development. The old doctest heritage is strong here.
Commits on Aug 31, 2015
  1. @mlorant @timgraham
  2. @kezabelle @timgraham
  3. @kezabelle @timgraham

    Refs #24121 -- Added repr() to LazySettings, Settings, and UserSettin…

    kezabelle authored timgraham committed
    …gsHolder.
  4. @timgraham
  5. @adamchainz @timgraham

    Removed unnecessary DBCacheTests.test_clear_commits_transaction test.

    adamchainz authored timgraham committed
    Was added in 44164c5 but the
    transaction.commit_unless_managed() line was removed in
    ba5138b; thus the test does nothing
    but check that clear() runs.
  6. @tysonclugg @MarkusH

    Cleaned up example migration files in docs

    tysonclugg authored MarkusH committed
  7. @tysonclugg @MarkusH
  8. @Y3K @MarkusH

    Fixed #25324 -- Registered ModelAdmin instances with @admin.register …

    Y3K authored MarkusH committed
    …decorator
  9. @Y3K @jarshwah

    Fixed #25252 -- Added friendly error message on incorrect .select_rel…

    Y3K authored jarshwah committed
    …ated() use
    
    Using select_related() after .values() or .values_list() is not possible
    because .values() or .values_list() already got the values they need.
  10. @rapilabs @MarkusH

    Clarified 404.html usage, excplicitly stated that it's used when DEBU…

    rapilabs authored MarkusH committed
    …G is False
    
    Thanks to Keryn Knight, Curtis Maloney and Tim Graham for their reviews.
Commits on Aug 29, 2015
  1. @aaugustin

    Made the autoreloader survive all exceptions.

    aaugustin authored
    Refs #24704.
  2. @aaugustin

    Fixed #24704 -- Made the autoreloader survive SyntaxErrors.

    aaugustin authored
    With this change, it's expected to survive anything except errors
    that make it impossible to import the settings. It's too complex
    to fallback to a sensible behavior with a broken settings module.
    
    Harcoding things about runserver in ManagementUtility.execute is
    atrocious but it's the only way out of the chicken'n'egg problem:
    the current implementation of the autoreloader primarily watches
    imported Python modules -- and then a few other things that were
    bolted on top of this design -- but we want it to kick in even if
    the project contains import-time errors and django.setup() fails.
    
    At some point we should throw away this code and replace it by an
    off-the-shelf autoreloader that watches the working directory and
    re-runs `django-admin runserver` whenever something changes.
  3. @aaugustin

    Ensured gen_filenames() yields native strings.

    aaugustin authored
    This also fixes a test failure on Python 2 when Django is installed in a
    non-ASCII path. This problem cannot happen on Python 3.
  4. @aaugustin

    Refactored autoreload tests.

    aaugustin authored
    * Added helpers to test uncached and cached access.
    * Fixed test_project_root_locale: it duplicated test_locale_paths_setting.
    * Rewrote test_only_new_files: test more cases.
  5. @aaugustin

    Accounted for error files in the autoreloader.

    aaugustin authored
    * When some old files contain errors, the second call to
      gen_filenames() should return them.
    * When some new files contain errors, the first call to
      gen_filenames(only_new=True) should return them.
  6. @Y3K @timgraham
Commits on Aug 28, 2015
  1. @sergeykolosov @timgraham

    Fixed #17375 -- Changed makemessages to use xgettext with --files-from

    sergeykolosov authored timgraham committed
    Changed the way makemessages invokes xgettext from one call per
    translatable file to one call per locale directory (using --files-from).
    This allows to avoid https://savannah.gnu.org/bugs/index.php?35027 and,
    as a positive side effect, speeds up localization build.
  2. @timgraham
  3. @timgraham

    Fixed #25318 -- Made SILENCED_SYSTEM_CHECKS suppress all messages.

    timgraham authored
    Previously, messages of ERROR level or higher were printed to
    the console.
  4. @jonashaag @timgraham

    Fixed #25322 -- Lazily compiled core.validators regular expressions.

    jonashaag authored timgraham committed
    This speeds up import of 'django.core.validators' which can save a
    few hundred milliseconds when importing the module for the first
    time. It can be a significant speedup to the django-admin command.
  5. @timgraham

    Fixed #25299 -- Fixed crash with ModelAdmin.list_display value that c…

    timgraham authored
    …lashes with a model reverse accessor.
  6. @MarkusH

    Refs #24590 -- Ensured isolation between autodetector tests

    MarkusH authored
    Fixed a regression introduced in e1427cc when running tests in reverse order.
Commits on Aug 27, 2015
  1. @timgraham
  2. @elky @timgraham

    Fixed #20597 -- Replaced admin GIF/PNG icons by SVG

    elky authored timgraham committed
  3. @sergeykolosov @timgraham

    Fixed #22634 -- Made the database-backed session backends more extens…

    sergeykolosov authored timgraham committed
    …ible.
    
    Introduced an AbstractBaseSession model and hooks providing the option
    of overriding the model class used by the session store and the session
    store class used by the model.
  4. @timgraham
  5. @timgraham
  6. @AlexHill @timgraham
  7. @MarkusH

    Fixed #24590 -- Cached calls to swappable_setting.

    MarkusH authored
    Moved the lookup in Field.swappable_setting to Apps, and added
    an lru_cache to cache the results.
    
    Refs #24743
    
    Thanks Marten Kenbeek for the initial work on the patch. Thanks Aymeric
    Augustin and Tim Graham for the review.
Commits on Aug 26, 2015
  1. @MarkusH

    Fixed #25280 -- Properly checked regex objects for equality to preven…

    MarkusH authored
    …t infinite migrations
    
    Thanks Sayid Munawar and Tim Graham for the report, investigation and
    review.
  2. @jsatt @timgraham

    Fixed #25308 -- Made MigrationQuestioner respect MIGRATION_MODULES se…

    jsatt authored timgraham committed
    …tting.
  3. @timgraham
Something went wrong with that request. Please try again.