Mais pour faire simple, il faut juste faire une fonction get_queryset qui retourne l'objet PredictionValidation.objects.get_or_create(question=question_from_the_id_in_the_request, user=request.user)
Une fois que c'est fait voir avec moi pour l'intégrer à l'interface AngularJS
Faire une classe PredictionValidationCRUDView inspiré de blousebrothers.confs.crud.TestAnswerCRUDView.
Voir la doc officiel la http://django-angular.readthedocs.io/en/latest/basic-crud-operations.html
Mais pour faire simple, il faut juste faire une fonction get_queryset qui retourne l'objet PredictionValidation.objects.get_or_create(question=question_from_the_id_in_the_request, user=request.user)
Une fois que c'est fait voir avec moi pour l'intégrer à l'interface AngularJS