mirror of https://github.com/django/django.git
parent
567ae0d529
commit
063e7e56bc
|
@ -716,7 +716,6 @@ class MigrationAutodetector(object):
|
||||||
self.renamed_fields[app_label, model_name, field_name] = rem_field_name
|
self.renamed_fields[app_label, model_name, field_name] = rem_field_name
|
||||||
break
|
break
|
||||||
|
|
||||||
|
|
||||||
def generate_added_fields(self):
|
def generate_added_fields(self):
|
||||||
"""
|
"""
|
||||||
Fields that have been added
|
Fields that have been added
|
||||||
|
|
|
@ -58,7 +58,7 @@ class Counter(six.Iterator):
|
||||||
raise StopIteration
|
raise StopIteration
|
||||||
else:
|
else:
|
||||||
self.n += 1
|
self.n += 1
|
||||||
return (self.n, 'val-'+str(self.n))
|
return (self.n, 'val-' + str(self.n))
|
||||||
|
|
||||||
|
|
||||||
class WhizIter(models.Model):
|
class WhizIter(models.Model):
|
||||||
|
|
Loading…
Reference in New Issue