AO
Size: a a a
AO
AK
username = models.CharField(max_length=255, unique=True, primary_key=True)
так тогда придётся?AO
AK
AK
AO
AO
AK
get_object
по username
.AK
AK
AO
localhost/profile/
, то работает всёAK
localhost/profile/
, то работает всёAK
V
You should commit this migration but leave the old ones in place;
the new migration will be used for new installs. Once you are sure
all instances of the codebase have applied the migrations you squashed,
you can delete them.
commit
подразумевается ./manage.py migrate app_name
?A
PZ
AK
MB