Ich weiß, dass ich ab Django 1.7 weder South noch ein anderes Migrationssystem verwenden muss, also verwende ich nur einen einfachen Befehl python manage.py makemigrations
Ich erhalte jedoch nur diesen Fehler:
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).
Hier ist models.py:
class UserProfile(models.Model):
user = models.OneToOneField(User)
website = models.URLField(blank=True)
new_field = models.CharField(max_length=140)
Was sind Optionen?