Thomas Waldmann
|
d8bb177301
|
django 2.0 requires on_delete arg for ForeignKey/OneToOneField
the default in django 1.11 is models.CASCADE.
note: updated migrations, the models already had the required change.
|
2018-10-19 22:05:35 +02:00 |
|
Thomas Waldmann
|
202d3bc2dd
|
fix migration, only works like that
previous code gave:
ValueError: Cannot assign "<User: joedoe>": "UserProfile.user" must be a "User" instance.
|
2014-11-26 00:23:52 +01:00 |
|
Thomas Waldmann
|
dbfded9e86
|
add a migration that creates UserProfile records for all User records
|
2014-11-25 23:44:20 +01:00 |
|
Thomas Waldmann
|
aa425c3402
|
add UserProfiles with additional metadata (for now: language)
as the migrations depend on settings.LANGUAGES, I put a complete list there with what we have .po files for.
|
2014-11-25 14:08:48 +01:00 |
|