Re: Django bug: change uuid field to FK does not create dependency

2019-08-09 Thread Viktor Lomakin
Can i try to make a patch and assign ticket to me? пт, 9 авг. 2019 г. в 12:17, Carlton Gibson : > Hi Viktor, > > Yes, AlterField should add the dependency. Manually edit the migration for > now. In your example, making it: > > ``` > dependencies = [ > ('testapp1',

Re: Django bug: change uuid field to FK does not create dependency

2019-08-09 Thread Carlton Gibson
Hi Viktor, Yes, AlterField should add the dependency. Manually edit the migration for now. In your example, making it: ``` dependencies = [ ('testapp1', '0002_app1_another_app'), ('testapp2', '0001_initial'), ] ``` ... and hopefully we can improve the detection there.

Django bug: change uuid field to FK does not create dependency

2019-07-09 Thread Viktor Lomakin
Hi! I am new in django community, so please help me, because i really dont know is it really "bug". I have a django project named "testproject" and two apps: testapp1, testapp2. It will be simpler to understand, with this example: # TestApp1(models.py): class App1(models.Model): id =