id,summary,reporter,owner,description,type,status,priority,milestone,component,version,resolution,keywords,cc
736,Migration with proxy model does not work,jazmo@…,andrew,"This is somewhat duplicate of old ticket
http://south.aeracode.org/ticket/436

but it was so old, i made new one.

I use django.contrib.auth.models.User as foreign key in my table, and to get it ordered right, i need to use Proxy-model like this

{{{
class OrderedUser(User):
	class Meta:
		proxy = True
		ordering = [""username"",]
}}}
(from django documentation: http://docs.djangoproject.com/en/dev/topics/db/models/#proxy-models)

Then I use it in my model

{{{
user = models.ForeignKey(OrderedUser)
}}}

When I do ./manage.py shemamigration --auto app it says

{{{
 + Added model app.OrderedUser
Created 0002_auto__add_ordereduser.py. You can now apply this migration with: ./manage.py migrate app

}}}
I'm using South 0.7.3, so this should be fixed. Why is it not ignored?
In migration file, there's

{{{
def forwards(self, orm):

        # Adding model 'OrderedUser'
        db.create_table('auth_user', (
            ,
        ))
        db.send_create_signal('app', ['OrderedUser'])
}}}

Which - of course - results an error.",defect,assigned,major,1.0,commands,0.7.3,,"proxy model, migration",
