[Fixed]-Django -Working with user data in views

1👍

Your view doesn’t require a user when saving the form, but the model does, since the ForeignKey to EUser has no null=True. If you want to permit the case where the user is not authenticated, you need to set that attribute on the user foreignkey.

Leave a comment