Please sign in to comment.
Update view to use different imports/decorators
1. We can generally expect the json module to be available now, so no need to use what ships with django 2. require_POST is just simpler and more direct 3. Using login_required is clearer as well instead of using custom logic.
- Loading branch information...