Inspect the schema and install baselines after running manage.py migrate.

Review Request #8804 — Created March 9, 2017 and submitted

chipx86
Django Evolution
master
d0896a8...
django-evolution
Newer versions of Django don't have syncdb, and therefore don't have the
post_syncdb signal we use in order to install model baselines and to
determine if we need to recommend installing evolutions.

This change updates our code to listen for a completed migration of an
app when on a newer version of Django. The common bits of code have been
moved into a common method shared by the signal handles for both syncdb
and migrate commands. This also cleans up and documents some of the code
in this path.

Been running this on my local development trees for a while, and tested
it with the Django 1.7+ unit tests in consuming projects.

  1. Tool: PEP8 Style Checker
    Processed Files:
        django_evolution/management/__init__.py
    
    
    
    Tool: Pyflakes
    Processed Files:
        django_evolution/management/__init__.py
    
    
  2. 
      
david
  1. Ship It!
  2. 
      
chipx86
Review request changed

Status: Closed (submitted)

Change Summary:

Pushed to master (186ef52)
Loading...