On Wednesday, 4 December 2019 18:32:25 UTC, Amitesh Sahay wrote:
>
> I am in the process of developing a small project using django rest
> framework, and within that requirement, I need to list every table in one
> single page. Below is the code snippet.
>
> class QuizList(APIView):
>
Hi Issuer,
U see QuizList bc of Question queryset been get validate_data when
initilize quiz object instance.
Plz refer to docs to customise ur other view.
https://www.django-rest-framework.org/api-guide/serializers/
On Thu, Dec 5, 2019, 02:15 'Amitesh Sahay' via Django users <
Hi,
There is no error. But based on the urls settings I could see the "QuizList"
output to my web page. Other than that, other serializers are not being
displayed there. Below is the serializers.py
from rest_framework import serializers
from .models import Quiz, Question, QuizTakers, Answer,
Hi Issuer,
Plz show result with errors.
Tks.
On Thu, Dec 5, 2019, 01:31 'Amitesh Sahay' via Django users <
django-users@googlegroups.com> wrote:
> I am in the process of developing a small project using django rest
> framework, and within that requirement, I need to list every table in one
>
I am in the process of developing a small project using django rest framework,
and within that requirement, I need to list every table in one single page.
Below is the code snippet.
class QuizList(APIView):
renderer_classes = [TemplateHTMLRenderer]
template_name = 'adminView.html'
5 matches
Mail list logo