diff options
author | Stephen Finucane <stephen@that.guru> | 2018-11-03 21:47:51 +0000 |
---|---|---|
committer | Stephen Finucane <stephen@that.guru> | 2018-12-22 17:56:11 +0000 |
commit | b1c2e80187008aff472c6509c67f44583cd3334c (patch) | |
tree | 54e8cde6d44f37206a62ca0487c737a288487ee1 /releasenotes | |
parent | 08d1459a4a400083c92f8d7cf7738899b560bdf0 (diff) | |
download | patchwork-b1c2e80187008aff472c6509c67f44583cd3334c.tar patchwork-b1c2e80187008aff472c6509c67f44583cd3334c.tar.gz |
models: Ensure UserProfile.user is configured
Django Admin seems to be doing something funky with how it's handling
the creation of a User's corresponding UserProfile instance when
modelled as an inline field. Re-setting the UserProfile.user attribute
seems to resolve the issue, so do just that.
Signed-off-by: Stephen Finucane <stephen@that.guru>
Closes: #110
Diffstat (limited to 'releasenotes')
-rw-r--r-- | releasenotes/notes/issue-110-a5bb3184bf831280.yaml | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/releasenotes/notes/issue-110-a5bb3184bf831280.yaml b/releasenotes/notes/issue-110-a5bb3184bf831280.yaml new file mode 100644 index 0000000..16a0fa5 --- /dev/null +++ b/releasenotes/notes/issue-110-a5bb3184bf831280.yaml @@ -0,0 +1,5 @@ +--- +fixes: + - | + Assigning maintained projects when creating a new user in the admin page + was causing an error. This is now resolved. |