Django 1.7以降では、Southやその他の移行システムを使用する必要がないため、単純なコマンドを使用しているだけです。 python manage.py makemigrations
しかし、私が得るすべてはこのエラーです:
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).
これがmodels.pyです:
class UserProfile(models.Model):
user = models.OneToOneField(User)
website = models.URLField(blank=True)
new_field = models.CharField(max_length=140)
オプションとは何ですか?