Poll_App / newdata.json
ankpan18's picture
made public polling working and also shows result
1ae15f5
[{"model": "polls.question", "pk": 1, "fields": {"author": "panthrianuj@gmail.com", "question_text": "What is your age group ?", "pub_date": "2023-07-26T08:45:41Z"}}, {"model": "polls.question", "pk": 2, "fields": {"author": "panthrianuj@gmail.com", "question_text": "who do you love the most?", "pub_date": "2023-07-26T09:44:13Z"}}, {"model": "polls.question", "pk": 3, "fields": {"author": "panthrianuj@gmail.com", "question_text": "which laptop is the best ?", "pub_date": "2023-07-26T16:24:56Z"}}, {"model": "polls.question", "pk": 4, "fields": {"author": "panthriankur@gmail.com", "question_text": "new question ?", "pub_date": "2023-07-28T06:10:51.731Z"}}, {"model": "polls.question", "pk": 8, "fields": {"author": "panthrianuj@gmail.com", "question_text": "dffg", "pub_date": "2023-07-28T09:01:45.976Z"}}, {"model": "polls.question", "pk": 9, "fields": {"author": "panthrianuj@gmail.com", "question_text": "dffg", "pub_date": "2023-07-28T09:02:31.530Z"}}, {"model": "polls.choice", "pk": 1, "fields": {"question": 1, "choice_text": "under 15"}}, {"model": "polls.choice", "pk": 2, "fields": {"question": 1, "choice_text": "16-18"}}, {"model": "polls.choice", "pk": 3, "fields": {"question": 1, "choice_text": "20-24"}}, {"model": "polls.choice", "pk": 4, "fields": {"question": 2, "choice_text": "Friends"}}, {"model": "polls.choice", "pk": 5, "fields": {"question": 2, "choice_text": "Family"}}, {"model": "polls.choice", "pk": 6, "fields": {"question": 3, "choice_text": "Acer"}}, {"model": "polls.choice", "pk": 7, "fields": {"question": 3, "choice_text": "Msi"}}, {"model": "polls.choice", "pk": 8, "fields": {"question": 3, "choice_text": "Hp"}}, {"model": "polls.choice", "pk": 9, "fields": {"question": 3, "choice_text": "Dell"}}, {"model": "polls.choice", "pk": 10, "fields": {"question": 3, "choice_text": "Asus"}}, {"model": "polls.choice", "pk": 11, "fields": {"question": 4, "choice_text": "me"}}, {"model": "polls.choice", "pk": 12, "fields": {"question": 4, "choice_text": "you"}}, {"model": "polls.choice", "pk": 19, "fields": {"question": 8, "choice_text": "{{ choice.choice_text }}"}}, {"model": "polls.choice", "pk": 20, "fields": {"question": 8, "choice_text": "{{ choice.choice_text }}"}}, {"model": "polls.choice", "pk": 21, "fields": {"question": 8, "choice_text": "{{ choice.choice_text }}"}}, {"model": "polls.choice", "pk": 22, "fields": {"question": 9, "choice_text": "{{ choice.choice_text }}"}}, {"model": "polls.choice", "pk": 23, "fields": {"question": 9, "choice_text": "{{ choice.choice_text }}"}}, {"model": "polls.choice", "pk": 24, "fields": {"question": 9, "choice_text": "{{ choice.choice_text }}"}}]