Fix migrations and refactor object_type
commit0421fc5ee8e10606426a803b51bfe4333d3ab406
authorJessica Tallon <jessica@megworld.co.uk>
Fri, 29 Aug 2014 12:49:48 +0000 (29 13:49 +0100)
committerJessica Tallon <jessica@megworld.co.uk>
Tue, 2 Sep 2014 15:38:52 +0000 (2 16:38 +0100)
treeddf4788ea15d5885bf2196c644a02c0cbea3e6bd
parent23bf7f3b02b5b96fade3d8b1dac2ef43a3dc59b9
Fix migrations and refactor object_type

- Make changes to objectType to be more pythonic "object_type"
- Move object_type to mixins rather than be on the models
- Convert migrations to sqlalchemy core rather than ORM (fix)
- Change TYPES to use descriptive strings rather than numbers
mediagoblin/db/migrations.py
mediagoblin/db/mixin.py
mediagoblin/db/models.py
mediagoblin/federation/routing.py
mediagoblin/federation/views.py