Django 1.7'den Güney veya başka bir geçiş sistemi kullanmama gerek olmadığını biliyorum, bu yüzden sadece basit komut kullanıyorum python manage.py makemigrations
Ancak, aldığım tek şey şu hata:
You are trying to add a non-nullable field 'new_field' to userprofile without a default;
we can't do that (the database needs something to populate existing rows).
İşte models.py:
class UserProfile(models.Model):
user = models.OneToOneField(User)
website = models.URLField(blank=True)
new_field = models.CharField(max_length=140)
Seçenekler nelerdir?