D Simple Questions Thread
Please post your questions here instead of creating a new thread. Encourage others who create new posts for questions to post here instead!
Thread will stay alive until next one so keep posting after the date in the title.
Thanks to everyone for answering questions in the previous thread!
/r/MachineLearning
https://redd.it/1nvalpv
Please post your questions here instead of creating a new thread. Encourage others who create new posts for questions to post here instead!
Thread will stay alive until next one so keep posting after the date in the title.
Thanks to everyone for answering questions in the previous thread!
/r/MachineLearning
https://redd.it/1nvalpv
Reddit
From the MachineLearning community on Reddit
Explore this post and more from the MachineLearning community
Django security releases issued: 5.2.7, 5.1.13, and 4.2.25
https://www.djangoproject.com/weblog/2025/oct/01/security-releases/
/r/django
https://redd.it/1nvabln
https://www.djangoproject.com/weblog/2025/oct/01/security-releases/
/r/django
https://redd.it/1nvabln
Django Project
Django security releases issued: 5.2.7, 5.1.13, and 4.2.25
Posted by Jacob Walls on Oct. 1, 2025
Best or most common way to deploy Django web app?
Sometime around 2002 I had a Virtual Private Server (VPS) running Apache with static html files. I started throwing in PHP and JavaScript to make things a little more dynamic. I even had a MySQL DB for when members to login. I got out of the business around 2017.
Now just for fun, I've got another VPS and a little website just to play with. I've ripped all my CDs and want to have a web page (or a few) so anyone can search for songs or artists or albums. I'm only going to open this up to a few friends so I want to control it with login credentials. I've taken Udemy classes on full stack, React, node.js, Django, Docker, PostgreSQL, etc. There are so many choices now!
I plan to write it using Django and using sqlite3 as the DB. I plan to use Bootstrap CSS to make it look pretty. I don't think it will be too tough to make something look pretty good.
Now to deployment. When I've taken the classes, the deployment is always on some website (eg. pythonanywhere.com) and I'm not sure how to duplicate that on my own VPS. I've looked at using Docker
/r/django
https://redd.it/1nvf26z
Sometime around 2002 I had a Virtual Private Server (VPS) running Apache with static html files. I started throwing in PHP and JavaScript to make things a little more dynamic. I even had a MySQL DB for when members to login. I got out of the business around 2017.
Now just for fun, I've got another VPS and a little website just to play with. I've ripped all my CDs and want to have a web page (or a few) so anyone can search for songs or artists or albums. I'm only going to open this up to a few friends so I want to control it with login credentials. I've taken Udemy classes on full stack, React, node.js, Django, Docker, PostgreSQL, etc. There are so many choices now!
I plan to write it using Django and using sqlite3 as the DB. I plan to use Bootstrap CSS to make it look pretty. I don't think it will be too tough to make something look pretty good.
Now to deployment. When I've taken the classes, the deployment is always on some website (eg. pythonanywhere.com) and I'm not sure how to duplicate that on my own VPS. I've looked at using Docker
/r/django
https://redd.it/1nvf26z
Reddit
From the django community on Reddit
Explore this post and more from the django community
D Self-Promotion Thread
Please post your personal projects, startups, product placements, collaboration needs, blogs etc.
Please mention the payment and pricing requirements for products and services.
Please do not post link shorteners, link aggregator websites , or auto-subscribe links.
\--
Any abuse of trust will lead to bans.
Encourage others who create new posts for questions to post here instead!
Thread will stay alive until next one so keep posting after the date in the title.
\--
Meta: This is an experiment. If the community doesnt like this, we will cancel it. This is to encourage those in the community to promote their work by not spamming the main threads.
/r/MachineLearning
https://redd.it/1nvrmw5
Please post your personal projects, startups, product placements, collaboration needs, blogs etc.
Please mention the payment and pricing requirements for products and services.
Please do not post link shorteners, link aggregator websites , or auto-subscribe links.
\--
Any abuse of trust will lead to bans.
Encourage others who create new posts for questions to post here instead!
Thread will stay alive until next one so keep posting after the date in the title.
\--
Meta: This is an experiment. If the community doesnt like this, we will cancel it. This is to encourage those in the community to promote their work by not spamming the main threads.
/r/MachineLearning
https://redd.it/1nvrmw5
Reddit
From the MachineLearning community on Reddit
Explore this post and more from the MachineLearning community
Is styling Django Allauth templates really this confusing ?
Or am I doing something wrong ?
I'm new to Django and so far it was a breeze until I got to using Allauth.
I am trying to style my login page and it I seem to be encourtering one problem after the other. I styled the sign in button with Bootstrap 5 and now the the forgot my password link is deformed.
I wouldn't want to go through this headache at all so I'm sure there must be some other way around this ...
Please help.
/r/django
https://redd.it/1nvz185
Or am I doing something wrong ?
I'm new to Django and so far it was a breeze until I got to using Allauth.
I am trying to style my login page and it I seem to be encourtering one problem after the other. I styled the sign in button with Bootstrap 5 and now the the forgot my password link is deformed.
I wouldn't want to go through this headache at all so I'm sure there must be some other way around this ...
Please help.
/r/django
https://redd.it/1nvz185
Reddit
From the django community on Reddit
Explore this post and more from the django community
What's the best easy frontend framework for Flašku?
Hi,
we're working on a simple school project about a Cinema reservation systém(you can view upcoming movies, book seats, edit your profile, filter by date/genre, interactive seat selection etc.). It doesnt need to be hyper scalable, so were looking for a nice (pretty/profesionl), easily usable frontend framework to go with backend flask.
Thanks for any suggestion
/r/flask
https://redd.it/1nvzfxs
Hi,
we're working on a simple school project about a Cinema reservation systém(you can view upcoming movies, book seats, edit your profile, filter by date/genre, interactive seat selection etc.). It doesnt need to be hyper scalable, so were looking for a nice (pretty/profesionl), easily usable frontend framework to go with backend flask.
Thanks for any suggestion
/r/flask
https://redd.it/1nvzfxs
Reddit
From the flask community on Reddit
Explore this post and more from the flask community
Thursday Daily Thread: Python Careers, Courses, and Furthering Education!
# Weekly Thread: Professional Use, Jobs, and Education 🏢
Welcome to this week's discussion on Python in the professional world! This is your spot to talk about job hunting, career growth, and educational resources in Python. Please note, this thread is not for recruitment.
---
## How it Works:
1. Career Talk: Discuss using Python in your job, or the job market for Python roles.
2. Education Q&A: Ask or answer questions about Python courses, certifications, and educational resources.
3. Workplace Chat: Share your experiences, challenges, or success stories about using Python professionally.
---
## Guidelines:
- This thread is not for recruitment. For job postings, please see r/PythonJobs or the recruitment thread in the sidebar.
- Keep discussions relevant to Python in the professional and educational context.
---
## Example Topics:
1. Career Paths: What kinds of roles are out there for Python developers?
2. Certifications: Are Python certifications worth it?
3. Course Recommendations: Any good advanced Python courses to recommend?
4. Workplace Tools: What Python libraries are indispensable in your professional work?
5. Interview Tips: What types of Python questions are commonly asked in interviews?
---
Let's help each other grow in our careers and education. Happy discussing! 🌟
/r/Python
https://redd.it/1nvoqx0
# Weekly Thread: Professional Use, Jobs, and Education 🏢
Welcome to this week's discussion on Python in the professional world! This is your spot to talk about job hunting, career growth, and educational resources in Python. Please note, this thread is not for recruitment.
---
## How it Works:
1. Career Talk: Discuss using Python in your job, or the job market for Python roles.
2. Education Q&A: Ask or answer questions about Python courses, certifications, and educational resources.
3. Workplace Chat: Share your experiences, challenges, or success stories about using Python professionally.
---
## Guidelines:
- This thread is not for recruitment. For job postings, please see r/PythonJobs or the recruitment thread in the sidebar.
- Keep discussions relevant to Python in the professional and educational context.
---
## Example Topics:
1. Career Paths: What kinds of roles are out there for Python developers?
2. Certifications: Are Python certifications worth it?
3. Course Recommendations: Any good advanced Python courses to recommend?
4. Workplace Tools: What Python libraries are indispensable in your professional work?
5. Interview Tips: What types of Python questions are commonly asked in interviews?
---
Let's help each other grow in our careers and education. Happy discussing! 🌟
/r/Python
https://redd.it/1nvoqx0
Reddit
From the Python community on Reddit
Explore this post and more from the Python community
D Open source projects to contribute to as an ML research scientist
Hey everyone,
I have a few publications and patents and I work for a tier 2 company as Research scientist. Lately all my job applications have been rejected on the spot. Not even a first interview. I want to beef up my coding skills and be more attractive to employers. Maybe not having a huge github presence is hindering my prospects.
Can u please suggest opensource projects like SGLang or vLLm which I can contribute to? Any starting pointers?
/r/MachineLearning
https://redd.it/1nvvdvl
Hey everyone,
I have a few publications and patents and I work for a tier 2 company as Research scientist. Lately all my job applications have been rejected on the spot. Not even a first interview. I want to beef up my coding skills and be more attractive to employers. Maybe not having a huge github presence is hindering my prospects.
Can u please suggest opensource projects like SGLang or vLLm which I can contribute to? Any starting pointers?
/r/MachineLearning
https://redd.it/1nvvdvl
Reddit
From the MachineLearning community on Reddit
Explore this post and more from the MachineLearning community
OneCode — Python library to turn scripts into deployable apps
# What My Project Does
OneCode is an open-source Python library that lets you convert your scripts to apps with minimal boilerplate. Using simple decorators/parameters, you define inputs/outputs, and OneCode automatically generates a UI for you.
Github link is here: https://github.com/deeplime-io/onecode
On OneCode Cloud, those same apps can be deployed instantly, with authentication, scaling, and access controls handled for you.
The cloud platform is here: https://www.onecode.rocks/ (free tier includes 3 apps, 1Gb of storage and up to 5 hours of compute).
OneCode allows you to run the same code locally or on the cloud platform (one code ;)). You can connect your github account and automatically sync code to generate the app.
# Target Audience
Python developers who want to share tools without building a web frontend
Data scientists / researchers who need to wrap analysis scripts with a simple interface
Teams that want internal utilities, but don’t want to manage deployment infrastructure
Suitable for production apps (access-controlled, secure), but lightweight enough for prototyping and demos.
# Comparison
Unlike Streamlit/Gradio, OneCode doesn’t focus on dashboards, instead it auto-generates minimal UIs from your function signatures. OneCode cloud is also usable with long running compute, big machines are available, and compute is scalable with the number of users.
Unlike
/r/Python
https://redd.it/1nvvsub
# What My Project Does
OneCode is an open-source Python library that lets you convert your scripts to apps with minimal boilerplate. Using simple decorators/parameters, you define inputs/outputs, and OneCode automatically generates a UI for you.
Github link is here: https://github.com/deeplime-io/onecode
On OneCode Cloud, those same apps can be deployed instantly, with authentication, scaling, and access controls handled for you.
The cloud platform is here: https://www.onecode.rocks/ (free tier includes 3 apps, 1Gb of storage and up to 5 hours of compute).
OneCode allows you to run the same code locally or on the cloud platform (one code ;)). You can connect your github account and automatically sync code to generate the app.
# Target Audience
Python developers who want to share tools without building a web frontend
Data scientists / researchers who need to wrap analysis scripts with a simple interface
Teams that want internal utilities, but don’t want to manage deployment infrastructure
Suitable for production apps (access-controlled, secure), but lightweight enough for prototyping and demos.
# Comparison
Unlike Streamlit/Gradio, OneCode doesn’t focus on dashboards, instead it auto-generates minimal UIs from your function signatures. OneCode cloud is also usable with long running compute, big machines are available, and compute is scalable with the number of users.
Unlike
/r/Python
https://redd.it/1nvvsub
GitHub
GitHub - deeplime-io/onecode: Python skeleton and library for OneCode projects, from Prototyping to Production
Python skeleton and library for OneCode projects, from Prototyping to Production - deeplime-io/onecode
Deep dive into Hosting
Hey folks!
While building my own django project, I spent a lot of time learning the ins and outs of VPS hosting and practical security. I ended up documenting everything I learned in a Medium article and thought it could help others too.
Newcomers: a friendly starting point for your Django hosting on Unmanaged VM.
Veterans: I’d love your suggestions, corrections, and anything I might’ve missed—please tear it apart!
Start here: Deep Dive into Hosting (REST + WebSockets) on an Unmanaged VM — Understanding the ecosystem
Deep Dive into Hosting (REST + WebSockets) on an Unmanaged VM — Securing your VM
Deep Dive into Hosting (REST + WebSockets) on an Unmanaged VM — Deploy: Services & Workers
Deep Dive into Hosting (REST + WebSockets) on an Unmanaged VM — Going Live: Proxy & HTTPS(https://medium.com/@ak55073/deep-dive-into-hosting-rest-websockets-on-an-unmanaged-vm-netcup-securing-your-vm-af13cc081abe)
/r/django
https://redd.it/1nw7dda
Hey folks!
While building my own django project, I spent a lot of time learning the ins and outs of VPS hosting and practical security. I ended up documenting everything I learned in a Medium article and thought it could help others too.
Newcomers: a friendly starting point for your Django hosting on Unmanaged VM.
Veterans: I’d love your suggestions, corrections, and anything I might’ve missed—please tear it apart!
Start here: Deep Dive into Hosting (REST + WebSockets) on an Unmanaged VM — Understanding the ecosystem
Deep Dive into Hosting (REST + WebSockets) on an Unmanaged VM — Securing your VM
Deep Dive into Hosting (REST + WebSockets) on an Unmanaged VM — Deploy: Services & Workers
Deep Dive into Hosting (REST + WebSockets) on an Unmanaged VM — Going Live: Proxy & HTTPS(https://medium.com/@ak55073/deep-dive-into-hosting-rest-websockets-on-an-unmanaged-vm-netcup-securing-your-vm-af13cc081abe)
/r/django
https://redd.it/1nw7dda
Medium
Deep Dive into Hosting (REST + WebSockets) on an Unmanaged VM (Netcup) — Understanding the…
This article is part of a four-part series that walks you through the concepts and techniques needed to manage your unmanaged VM.
Snakebar — a tqdm-style progress bar that snakes across your terminal
## What My Project Does
Snakebar is a
It still reports percentage, iterations done, ETA, and rate (it/s), but makes waiting more fun.
## Target Audience
Anyone who runs long scripts, pipelines, or training loops — data scientists, ML engineers, researchers, developers with heavy ETL or simulations.
It’s meant as a lightweight library you can drop in as a direct replacement for
## Comparison
Compared to
- Same semantics (
- Still shows % complete, ETA, and rate.
- Instead of a static bar, progress is visualized as a snake filling the screen.
- Fits automatically to your terminal size.
## Installation
## Links
- PyPI: https://pypi.org/project/snakebar/
- GitHub: https://github.com/majoburo/snakebar
- License: MIT
/r/Python
https://redd.it/1nwhdmt
## What My Project Does
Snakebar is a
tqdm-like progress bar for Python. Instead of a plain horizontal bar, it draws a one-character snake that fills your terminal via a random space-filling curve. It still reports percentage, iterations done, ETA, and rate (it/s), but makes waiting more fun.
## Target Audience
Anyone who runs long scripts, pipelines, or training loops — data scientists, ML engineers, researchers, developers with heavy ETL or simulations.
It’s meant as a lightweight library you can drop in as a direct replacement for
tqdm. It’s production-ready but also works fine as a fun toy project in personal scripts. ## Comparison
Compared to
tqdm: - Same semantics (
snake_bar works like tqdm). - Still shows % complete, ETA, and rate.
- Instead of a static bar, progress is visualized as a snake filling the screen.
- Fits automatically to your terminal size.
## Installation
pip install snakebar
## Links
- PyPI: https://pypi.org/project/snakebar/
- GitHub: https://github.com/majoburo/snakebar
- License: MIT
/r/Python
https://redd.it/1nwhdmt
PyPI
snakebar
A tqdm-like progress bar that snakes across your terminal via a random space-filling curve.
How safe is building my own login VS using Flask-Login extension?
Someone said that Flask session can be easily hacked via console and, depending on the implementation, they can inject a user's detail to impersonate them. How real is this?
I don't like much Flask-Login, feels limiting and weird... but I might be the one weird for this lol.
/r/flask
https://redd.it/1nwjw0d
Someone said that Flask session can be easily hacked via console and, depending on the implementation, they can inject a user's detail to impersonate them. How real is this?
I don't like much Flask-Login, feels limiting and weird... but I might be the one weird for this lol.
/r/flask
https://redd.it/1nwjw0d
Reddit
From the flask community on Reddit
Explore this post and more from the flask community
Django Forms Lifecycle
class ContractItemForm(forms.ModelForm):
product = forms.ModelChoiceField(
queryset=Product.objects.none(), # start with no choices
required=True,
)
class Meta:
model = ContractItem
fields = ['product']
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
# default: empty queryset
self.fields['product'].queryset = Product.objects.none()
# if editing an existing instance, allow that one product
if self.instance and self.instance.pk and self.instance.product_id:
/r/django
https://redd.it/1nw7763
class ContractItemForm(forms.ModelForm):
product = forms.ModelChoiceField(
queryset=Product.objects.none(), # start with no choices
required=True,
)
class Meta:
model = ContractItem
fields = ['product']
def __init__(self, *args, **kwargs):
super().__init__(*args, **kwargs)
# default: empty queryset
self.fields['product'].queryset = Product.objects.none()
# if editing an existing instance, allow that one product
if self.instance and self.instance.pk and self.instance.product_id:
/r/django
https://redd.it/1nw7763
Reddit
From the django community on Reddit
Explore this post and more from the django community
Where to find clients for a software consulting team?
Hi everyone! 👋
We are a Python team (5–8 developers). We are finishing a big project now and want to start a new one.
Do you know where to find consulting projects or RFPs?
/r/django
https://redd.it/1nw818t
Hi everyone! 👋
We are a Python team (5–8 developers). We are finishing a big project now and want to start a new one.
Do you know where to find consulting projects or RFPs?
/r/django
https://redd.it/1nw818t
Reddit
From the django community on Reddit
Explore this post and more from the django community
N Stanford is updating their Deep Learning course on YouTube
This is a great opportunity for all ML/DL students/practitioners to either start learning from scratch or filling knowledge gap, time to start learning folks.
/r/MachineLearning
https://redd.it/1nwhihj
This is a great opportunity for all ML/DL students/practitioners to either start learning from scratch or filling knowledge gap, time to start learning folks.
/r/MachineLearning
https://redd.it/1nwhihj
YouTube
Stanford CS230 | Autumn 2025 | Lecture 1: Introduction to Deep Learning
For more information about Stanford’s Artificial Intelligence professional and graduate programs, visit: https://stanford.io/ai
September 23, 2025
This lecture covers:
1. Class introduction
2. Examples of deep learning projects
3. Course details
To learn…
September 23, 2025
This lecture covers:
1. Class introduction
2. Examples of deep learning projects
3. Course details
To learn…
Frankenstyle - No-buid, value-driven, fully responsive, utility-first CSS framework.
https://franken.style/
/r/django
https://redd.it/1nwse84
https://franken.style/
/r/django
https://redd.it/1nwse84
in html/flask project showing 7 errors
https://preview.redd.it/nlzau30q1msf1.png?width=2880&format=png&auto=webp&s=8cbd8d3ffbd35e5b2a8e3c8247bd2bc495282e3f
/r/flask
https://redd.it/1nvs1z8
https://preview.redd.it/nlzau30q1msf1.png?width=2880&format=png&auto=webp&s=8cbd8d3ffbd35e5b2a8e3c8247bd2bc495282e3f
/r/flask
https://redd.it/1nvs1z8
Friday Daily Thread: r/Python Meta and Free-Talk Fridays
# Weekly Thread: Meta Discussions and Free Talk Friday 🎙️
Welcome to Free Talk Friday on /r/Python! This is the place to discuss the r/Python community (meta discussions), Python news, projects, or anything else Python-related!
## How it Works:
1. Open Mic: Share your thoughts, questions, or anything you'd like related to Python or the community.
2. Community Pulse: Discuss what you feel is working well or what could be improved in the /r/python community.
3. News & Updates: Keep up-to-date with the latest in Python and share any news you find interesting.
## Guidelines:
All topics should be related to Python or the /r/python community.
Be respectful and follow Reddit's Code of Conduct.
## Example Topics:
1. New Python Release: What do you think about the new features in Python 3.11?
2. Community Events: Any Python meetups or webinars coming up?
3. Learning Resources: Found a great Python tutorial? Share it here!
4. Job Market: How has Python impacted your career?
5. Hot Takes: Got a controversial Python opinion? Let's hear it!
6. Community Ideas: Something you'd like to see us do? tell us.
Let's keep the conversation going. Happy discussing! 🌟
/r/Python
https://redd.it/1nwk7ps
# Weekly Thread: Meta Discussions and Free Talk Friday 🎙️
Welcome to Free Talk Friday on /r/Python! This is the place to discuss the r/Python community (meta discussions), Python news, projects, or anything else Python-related!
## How it Works:
1. Open Mic: Share your thoughts, questions, or anything you'd like related to Python or the community.
2. Community Pulse: Discuss what you feel is working well or what could be improved in the /r/python community.
3. News & Updates: Keep up-to-date with the latest in Python and share any news you find interesting.
## Guidelines:
All topics should be related to Python or the /r/python community.
Be respectful and follow Reddit's Code of Conduct.
## Example Topics:
1. New Python Release: What do you think about the new features in Python 3.11?
2. Community Events: Any Python meetups or webinars coming up?
3. Learning Resources: Found a great Python tutorial? Share it here!
4. Job Market: How has Python impacted your career?
5. Hot Takes: Got a controversial Python opinion? Let's hear it!
6. Community Ideas: Something you'd like to see us do? tell us.
Let's keep the conversation going. Happy discussing! 🌟
/r/Python
https://redd.it/1nwk7ps
Redditinc
Reddit Rules
Reddit Rules - Reddit
Help! Flask template variable errors using tojson—const object causing 8 "errors"
Hi all,
I’m making a Flask app that renders an HTML form with JavaScript for interactive coupon discounts. I want to pass a Python object from Flask to my template and use it for calculations in the frontend JS
https://preview.redd.it/f3otwg2qolsf1.png?width=2880&format=png&auto=webp&s=eda8890ac98c3aecbb4ad113e448f1aae4fee3c1
/r/flask
https://redd.it/1nvq6u4
Hi all,
I’m making a Flask app that renders an HTML form with JavaScript for interactive coupon discounts. I want to pass a Python object from Flask to my template and use it for calculations in the frontend JS
https://preview.redd.it/f3otwg2qolsf1.png?width=2880&format=png&auto=webp&s=eda8890ac98c3aecbb4ad113e448f1aae4fee3c1
/r/flask
https://redd.it/1nvq6u4
Looking for a paid/unpaid software engineering internship.
Hey, I'm Youseph Zidan. I'm a Software Engineer with a track record of delivering over 25 freelance projects, including high-performance web scrapers and data pipelines. My practical skills are supported by a strong foundation in core programming principles, which I've honed through both development and teaching Python. For over a year, I have accelerated my growth through intensive mentorship from a Senior Engineer at a leading Silicon Valley tech company, focusing on industry best practices in system design and code architecture. I am eager to apply this unique blend of a builder's mindset, strong fundamentals, and high-level insight to a collaborative engineering team.
I recently developed a solution to a technical challenge I encountered: accurately downloading Street View panoramas. My project, Gspv-dl, is my take on building the most precise and reliable tool for this task.
My personal portfolio website: Portfolio
/r/flask
https://redd.it/1nwyqfy
Hey, I'm Youseph Zidan. I'm a Software Engineer with a track record of delivering over 25 freelance projects, including high-performance web scrapers and data pipelines. My practical skills are supported by a strong foundation in core programming principles, which I've honed through both development and teaching Python. For over a year, I have accelerated my growth through intensive mentorship from a Senior Engineer at a leading Silicon Valley tech company, focusing on industry best practices in system design and code architecture. I am eager to apply this unique blend of a builder's mindset, strong fundamentals, and high-level insight to a collaborative engineering team.
I recently developed a solution to a technical challenge I encountered: accurately downloading Street View panoramas. My project, Gspv-dl, is my take on building the most precise and reliable tool for this task.
My personal portfolio website: Portfolio
/r/flask
https://redd.it/1nwyqfy
GitHub
GitHub - yousephzidan/gsvp-dl: Download Google Street View panoramas efficiently.
Download Google Street View panoramas efficiently. - yousephzidan/gsvp-dl