Python Daily
2.57K subscribers
1.48K photos
53 videos
2 files
38.9K links
Daily Python News
Question, Tips and Tricks, Best Practices on Python Programming Language
Find more reddit channels over at @r_channels
Download Telegram
Making a test with django

I'm trying to make a political test with Django.

Luckily, the official tutorial deals with a pretty similar concept- making a "polls" app.

I have been trying to use the Django API for a bit now but I haven't been successful. Unlike the polls app, all my questions in my test will have the same five choices:

* Strongly Agree
* Agree
* Neutral/Don't know
* Disagree
* Strongly Agree

How would I make it so that when I create a new Question, it is automatically assigned those 5 options as a choice, rather than individually assigning the choices per question? This is important because the test will need to store and track how many times "Agree" was chosen, so it has to be the same variable, if that makes sense.

Thanks

/r/djangolearning
https://redd.it/7f023w
[P] I made a movie recommendation system in C as my first ML project in University
https://imgur.com/a/dk3IY

/r/MachineLearning
https://redd.it/7fa5hk
# 1
# 2
# 3
# 4
# 5
# 6
# 7
# 8
# 9
# 10
Online Text Multiplayer RPG engine?

What would you use if you wanted to making something like Kingdom of Loathing , a browser-based rpg with light multiplayer interactions ?

/r/Python
https://redd.it/7fdkux
Push notifications in django

I want to use Firebase to send push notifications, and I see fcm django, but I dont find how to associate device with user.
Thanks.

/r/django
https://redd.it/7fgugj