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
# 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
[AF] Posted Indicator

So I have coded my own forum for my Python Flask site. Problem is I can't figure out how to do it so that I can have an indicator next to posts if the user has already posted in that post. I have a separate table for the thread (main post) and then the replies.

SELECT tid, fid, subject, prefix, forums_topics.username, datetime, lastpost, lastposter,
replies, closed, sticky, avatar FROM forums_topics,users WHERE
users.username=lastposter AND forums_topics.fid = ? ORDER BY sticky DESC,lastpost DESC

That is my currently SQLite statement to get the list of threads for the forum page.

Anyone know how I could modify the SQLite statement to solve the issue.

/r/flask
https://redd.it/7ffz41
Does anyone know of an open source DRF project which implements user registration really well? I'm struggling to find one that's more production hardened...



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