Commits on Jul 3, 2016
  1. @pelme

    Database fixture refactor (#362)

    pelme committed on GitHub Jul 3, 2016
Commits on Jul 2, 2016
  1. @pelme
  2. @pelme
  3. @pelme

    Documentation markup fixes.

    pelme committed Jun 26, 2016
Commits on Jun 25, 2016
  1. @pelme
  2. @pelme
  3. @pelme
  4. @pelme

    Block Django database access as early as possible. (#359)

    This should fix various places where the production database could
    accidentally been accessed.
    pelme committed on GitHub Jun 25, 2016
  5. @pelme @blueyed

    Use migrations for test database creation in test app (#346)

    * Use migrations for test database creation in test app
    * Update migration tests to be aware of the default migration.
    * Update environment test to be aware of new migration output.
    * Update user model tests with the default migrations.
    * Make an assertion less precise to avoid ordering problems.
    * Avoid migrations in django_testdir_initial.
    pelme committed with blueyed Jun 25, 2016
  6. @pelme

    Typo fix for last commit.

    pelme committed Jun 25, 2016
  7. @pelme

    Add a changelog note on the new db restrictions.

    [skip ci]
    pelme committed Jun 25, 2016
  8. @pelme

    Make it easy to run `flake8` locally without tox.

    Also, include pytest_django_test in the linting and fix existing linting
    issues.
    
    Closes #358.
    pelme committed Jun 25, 2016
  9. @pelme

    Improve the handling of test database setup in pytest-django's internal

    tests. Closes #356.
    
    Squashed commit of the following:
    
    commit 501572ee0d2714c022a1c7749b5af3e366e0a3f4
    Author: Andreas Pelme <andreas@pelme.se>
    Date:   Sat Jun 25 10:55:10 2016 +0200
    
        Lint fixes
    
    commit 3de1b1292673e3fd2bce8cbfe726922313db02d7
    Author: Andreas Pelme <andreas@pelme.se>
    Date:   Sat Jun 25 10:40:34 2016 +0200
    
        More robust handling of test database names
    
    commit 94ccb92f430dffb9f23913dd4ecabe2fd664d62d
    Author: Andreas Pelme <andreas@pelme.se>
    Date:   Fri Jun 24 17:37:06 2016 +0200
    
        Fix mysql/postgres test regression
    
    commit 7a74013e437f3fa42775e32a7518d79f979106b2
    Author: Andreas Pelme <andreas@pelme.se>
    Date:   Fri Jun 24 17:20:46 2016 +0200
    
        Nicer
    
    commit ce3b78a69ec187da726652113027dbef58d1511d
    Author: Andreas Pelme <andreas@pelme.se>
    Date:   Fri Jun 24 17:14:22 2016 +0200
    
        Improve the handling of sqlite_file tests
    pelme committed Jun 25, 2016
  10. @pelme

    Remove the noop_transactions() helper. (#357)

    pelme committed on GitHub Jun 25, 2016
  11. @pelme
Commits on Jun 24, 2016
  1. @blueyed @pelme

    Improve PytestTestRunner code snippet (#351)

    [ci skip]
    blueyed committed with pelme Jun 24, 2016
  2. @blueyed
  3. @blueyed

    Merge pull request #349 from blueyed/remove-UID

    generate_configurations: remove UID / db creation from tox configs
    blueyed committed on GitHub Jun 24, 2016
  4. @blueyed
  5. @blueyed

    generate_configurations: remove UID / db creation from tox configs

    This is only required with Django versions before 1.7, and is meant to
    make the diff of config updates simpler.
    blueyed committed Jun 24, 2016
  6. @blueyed @pelme

    Block BaseDatabaseWrapper.ensure_connection instead of CursorWrapper (#…

    …350)
    
    This is required in case no (production) database has been created, and
    should make the connection blocking more robust altogether.
    blueyed committed with pelme Jun 24, 2016
  7. @pelme

    Drop Django 1.4, 1.5, 1.6, Python 2.6 from supported versions. (#348)

    * Drop Django 1.4, 1.5, 1.6, Python 2.6 from supported versions.
    
    Django prior to 1.8 is no longer supported by Django. However, we still
    keep 1.7 support a little more since it causes not much problems, and it
    may still be helpful for people in the upgrade process.
    
    * Remove setup_test_environment, teardown_test_environment compatibility.
    
    * Remove django.db.backends.utils rename compatibility.
    
    * Fix for teardown_databases
    
    * Changelog entry
    
    * Remove TEST_NAME support.
    
    * Remove Django 1.4 workaround for database flushing.
    
    * Remove support for the old way of finding Django user model.
    
    * Remove old static file handling in live server.
    
    * Remove legacy handling of loading Django
    
    * Updated documentation links to point to recent Django docs.
    
    * Remove skipif on Python 3.2
    
    * Remove TEST_NAME handling from tests.
    
    * Remove south support.
    
    * Linter fixes.
    
    * Added *.eggs to .gitignore
    
    * Update docs to use 1.9 as example instead of 1.5
    
    * Update docs to better reflect current migrations.
    
    * Remove Django 1.4 connection.features.confirm() call.
    
    * Remove a skipif for old Django versions.
    
    * Remove test for old static files serving.
    pelme committed on GitHub Jun 24, 2016
Commits on Jun 23, 2016
  1. @pelme

    Added *.eggs to .gitignore

    pelme committed Jun 23, 2016
Commits on Jun 22, 2016
  1. @pelme

    Merge pull request #347 from tomviner/faq-django-test-runner

    Add faq entry for a manage.py test integration
    pelme committed on GitHub Jun 22, 2016
  2. @tomviner
  3. @pelme
  4. @pelme

    Clarify the help text for --create-db.

    Thanks to @bedwards for initial suggestion. Refs/fixes #326.
    pelme committed Jun 22, 2016
  5. @pelme

    Merge pull request #344 from blueyed/dj110

    Add Django 1.10 to Travis
    pelme committed on GitHub Jun 22, 2016
  6. @pelme

    Merge pull request #339 from adamchainz/get_django_version

    Fix get_django_version() asserts for django_user_model / django_username_field
    pelme committed on GitHub Jun 22, 2016
Commits on Jun 21, 2016
  1. @blueyed

    Fix test_initial_data_south_with_migrations for PostgreSQL

    It was previously only run against SQLite apparently?!
    blueyed committed Jun 21, 2016
  2. @blueyed

    Add Django 1.10 to Travis

     - generate_configurations: prefer main Django version, use py35
     - only use pytest 2.9.2
     - improve generate_configurations a bit in general (do not make it
       prefer Django master)
    blueyed committed Jun 21, 2016
  3. @pelme
  4. @pelme

    Remove `return` in the database fixtures.

    The return statement implies that they actually return something, which
    they don't. This is just confusing.
    
    Refs #338.
    pelme committed Jun 21, 2016
Commits on Jun 20, 2016
  1. @pelme

    Merge pull request #313 from blueyed/force-migrations

    Add `--migrations` option to negate `--nomigrations`
    pelme committed on GitHub Jun 20, 2016
Commits on Jun 17, 2016
  1. @adamchainz @blueyed

    Convert readthedocs link for their .org -> .io migration for hosted p…

    …rojects (#335)
    
    As per their email ‘Changes to project subdomains’:
    
    > Starting today, Read the Docs will start hosting projects from subdomains on the domain readthedocs.io, instead of on readthedocs.org. This change addresses some security concerns around site cookies while hosting user generated data on the same domain as our dashboard.
    
    Test Plan: Manually visited all the links I’ve modified.
    adamchainz committed with blueyed Jun 17, 2016