1. pombredanne NA
  2. Migratory


Migratory /

Filename Size Date modified Message
104 B
4.6 KB
957 B
== Quick Start ==
Check out the django source's 'django' dir to this directory:

    svn co http://code.djangoproject.com/svn/django/trunk/django django

Link migratory to the contrib apps:

    ln -s `pwd`/migratory django/contrib/migratory

== Testing ==
Create the database "migratory-test", unless you're using sqlite3.
And then run the tests:

    cd test_project
    ./test <backend>
Where backend is 'postgresql_psycopg2', 'postgresql', 'mysql', or 'sqlite3'.

In reality, the backend dictates wich of the settings_<backend>.py are used, 
so if you made your own settings_<backend>.py, for instance 
"settings_local.py", you'd run "./test local" in your shell.

You can also specify where to stop the tests, this will stop after the fourth

    ./test local 04
== App Layout ==
The main entry points to the app are events hooked in migratory/models.py and 
the ./manage.py command 'migrate' in migratory/management/commands/migrate.py