Saturday Daily Thread: Resource Request and Sharing! Daily Thread
# Weekly Thread: Resource Request and Sharing 📚
Stumbled upon a useful Python resource? Or are you looking for a guide on a specific topic? Welcome to the Resource Request and Sharing thread!
## How it Works:
1. Request: Can't find a resource on a particular topic? Ask here!
2. Share: Found something useful? Share it with the community.
3. Review: Give or get opinions on Python resources you've used.
## Guidelines:
Please include the type of resource (e.g., book, video, article) and the topic.
Always be respectful when reviewing someone else's shared resource.
## Example Shares:
1. Book: "Fluent Python" \- Great for understanding Pythonic idioms.
2. Video: Python Data Structures \- Excellent overview of Python's built-in data structures.
3. Article: Understanding Python Decorators \- A deep dive into decorators.
## Example Requests:
1. Looking for: Video tutorials on web scraping with Python.
2. Need: Book recommendations for Python machine learning.
Share the knowledge, enrich the community. Happy learning! 🌟
/r/Python
https://redd.it/1hixdkr
# Weekly Thread: Resource Request and Sharing 📚
Stumbled upon a useful Python resource? Or are you looking for a guide on a specific topic? Welcome to the Resource Request and Sharing thread!
## How it Works:
1. Request: Can't find a resource on a particular topic? Ask here!
2. Share: Found something useful? Share it with the community.
3. Review: Give or get opinions on Python resources you've used.
## Guidelines:
Please include the type of resource (e.g., book, video, article) and the topic.
Always be respectful when reviewing someone else's shared resource.
## Example Shares:
1. Book: "Fluent Python" \- Great for understanding Pythonic idioms.
2. Video: Python Data Structures \- Excellent overview of Python's built-in data structures.
3. Article: Understanding Python Decorators \- A deep dive into decorators.
## Example Requests:
1. Looking for: Video tutorials on web scraping with Python.
2. Need: Book recommendations for Python machine learning.
Share the knowledge, enrich the community. Happy learning! 🌟
/r/Python
https://redd.it/1hixdkr
ShortMoji: Emoji Shortcuts Made Easy for Your Keyboard! 🧑💻✨
# What My Project Does
ShortMoji is a lightweight, open-source program that lets you insert emojis anywhere using simple, intuitive keyboard shortcuts. Inspired by Discord's emoji system, it supports **89 unique emoji shortcuts** (and counting!) to make your conversations and workflows more expressive.
Simply type a shortcut like `:smi`, and it transforms into 😃 instantly. ShortMoji runs in the background and is designed for speed and ease of use.
**Features include:**
* Fast emoji insertion via shortcuts.
* Low resource consumption.
* Quick program termination by pressing `Esc` twice.
* Free and fully customizable under the MIT license.
# Target Audience
ShortMoji is for anyone who loves emojis and wants a faster way to use them. Whether you're:
* A developer looking for efficiency.
* A casual user who enjoys using emojis.
* A Discord enthusiast already familiar with emoji shortcuts.
# Comparison
While there are other emoji tools available, ShortMoji sets itself apart with:
* **Customizable shortcuts:** Familiar to Discord users and adaptable for others.
* **Open-source freedom:** Unlike proprietary software, you can modify and expand ShortMoji as you like.
* **Minimal resource impact:** A lightweight utility that doesn’t slow down your system.
* **Simple UX:** No need to navigate menus or GUIs—just type and see the magic !
Unlike system-level emoji menus or bloated applications, ShortMoji is
/r/Python
https://redd.it/1hiuasv
# What My Project Does
ShortMoji is a lightweight, open-source program that lets you insert emojis anywhere using simple, intuitive keyboard shortcuts. Inspired by Discord's emoji system, it supports **89 unique emoji shortcuts** (and counting!) to make your conversations and workflows more expressive.
Simply type a shortcut like `:smi`, and it transforms into 😃 instantly. ShortMoji runs in the background and is designed for speed and ease of use.
**Features include:**
* Fast emoji insertion via shortcuts.
* Low resource consumption.
* Quick program termination by pressing `Esc` twice.
* Free and fully customizable under the MIT license.
# Target Audience
ShortMoji is for anyone who loves emojis and wants a faster way to use them. Whether you're:
* A developer looking for efficiency.
* A casual user who enjoys using emojis.
* A Discord enthusiast already familiar with emoji shortcuts.
# Comparison
While there are other emoji tools available, ShortMoji sets itself apart with:
* **Customizable shortcuts:** Familiar to Discord users and adaptable for others.
* **Open-source freedom:** Unlike proprietary software, you can modify and expand ShortMoji as you like.
* **Minimal resource impact:** A lightweight utility that doesn’t slow down your system.
* **Simple UX:** No need to navigate menus or GUIs—just type and see the magic !
Unlike system-level emoji menus or bloated applications, ShortMoji is
/r/Python
https://redd.it/1hiuasv
Reddit
From the Python community on Reddit: ShortMoji: Emoji Shortcuts Made Easy for Your Keyboard! 🧑💻✨
Explore this post and more from the Python community
How to make a main consumer that dispatches requests to multiple sub-consumers
I need to accomplish three real-time tasks using Django Channels. I need to track the status of my users (if they are online or offline), I need to send them notifications while they're on the site and I need to manage a live chat. I could maintain three separate WebSocket connections to three different consumers but that would be a pretty inefficient use of ressources.
I would prefer to have one main WebSocket connection with a single consumer that dispatches the requests made to it to three sub-consumers to make it nice, clean and efficient while maintaining a clear separation between the three tasks.
How do I do this?
/r/django
https://redd.it/1hj0yq1
I need to accomplish three real-time tasks using Django Channels. I need to track the status of my users (if they are online or offline), I need to send them notifications while they're on the site and I need to manage a live chat. I could maintain three separate WebSocket connections to three different consumers but that would be a pretty inefficient use of ressources.
I would prefer to have one main WebSocket connection with a single consumer that dispatches the requests made to it to three sub-consumers to make it nice, clean and efficient while maintaining a clear separation between the three tasks.
How do I do this?
/r/django
https://redd.it/1hj0yq1
Reddit
From the django community on Reddit
Explore this post and more from the django community
Entry Level Django Developer
Hello everyone. I hope the community can help me. I have been practicing Python for a year and build web application projects using Flask and Django so I'm looking for an entry level Django job to improve my skills further, being mentored and gain experience in a company setting. I'm willing to be paid less and no benefits as long as I get the job and gain Django experience.
/r/django
https://redd.it/1hilzaj
Hello everyone. I hope the community can help me. I have been practicing Python for a year and build web application projects using Flask and Django so I'm looking for an entry level Django job to improve my skills further, being mentored and gain experience in a company setting. I'm willing to be paid less and no benefits as long as I get the job and gain Django experience.
/r/django
https://redd.it/1hilzaj
Reddit
From the django community on Reddit
Explore this post and more from the django community
How I got a data analytics job of 10LPA | Fresher data analyst interview experience 2024 | Python
Hello guys I am Dharshan, a final year computer science student. In this video, I have share my detailed interview experience with Tredence, where I secured a Data Analyst job offer for 10 LPA! for which I used python to crack the coding questions. I'll be joining in 2025, and I’m excited to walk you through my journey. I have already posted 3 interview experience videos on my channel and the next one will be amazon interview experience. https://youtu.be/aeLL29SHBGw?si=9CULGR5plBDWs-jg
/r/Python
https://redd.it/1hj4ir0
Hello guys I am Dharshan, a final year computer science student. In this video, I have share my detailed interview experience with Tredence, where I secured a Data Analyst job offer for 10 LPA! for which I used python to crack the coding questions. I'll be joining in 2025, and I’m excited to walk you through my journey. I have already posted 3 interview experience videos on my channel and the next one will be amazon interview experience. https://youtu.be/aeLL29SHBGw?si=9CULGR5plBDWs-jg
/r/Python
https://redd.it/1hj4ir0
YouTube
Data Analyst Interview Experience 2024 | Cracked Tredence Data Analyst interview | Data Engineering
Hello guys I am Dharshan, a final year computer science student. In this video, I have share my detailed interview experience with Tredence, where I secured a Data Analyst job offer for 10 LPA! 🚀 I'll be joining in 2025, and I’m excited to walk you through…
Gunicorn vs Gunicorn with Uvicorn workers
Hi everyone,
I have a fully synchronous Django app running on Gunicorn with Uvicorn workers. However, I’ve run into a problem: I want to use Gunicorn’s instrumentation features and server hooks (pre_request, and post_request), but these aren’t supported with Uvicorn workers.
I’m debating whether to switch from Uvicorn workers to Gunicorn’s default synchronous workers. I’ve read that Uvicorn workers can still offer better performance, even for synchronous apps, so I’m not sure if I should switch or not.
Should I consider alternatives for instrumentation and server hooks, or would it be better to migrate to normal Gunicorn workers? I’d appreciate any advice or recommendations.
Thanks in advance!
/r/django
https://redd.it/1hj9seo
Hi everyone,
I have a fully synchronous Django app running on Gunicorn with Uvicorn workers. However, I’ve run into a problem: I want to use Gunicorn’s instrumentation features and server hooks (pre_request, and post_request), but these aren’t supported with Uvicorn workers.
I’m debating whether to switch from Uvicorn workers to Gunicorn’s default synchronous workers. I’ve read that Uvicorn workers can still offer better performance, even for synchronous apps, so I’m not sure if I should switch or not.
Should I consider alternatives for instrumentation and server hooks, or would it be better to migrate to normal Gunicorn workers? I’d appreciate any advice or recommendations.
Thanks in advance!
/r/django
https://redd.it/1hj9seo
Reddit
From the django community on Reddit
Explore this post and more from the django community
D Struggling to Find My Path in PhD Research
Hi everyone, I hope you don’t mind me venting a bit, but I’m hoping to gain some insight into a challenge I’ve been facing. I’m a second-year PhD student researching time series, and honestly, I thought by now I would have a clear research question. But I don’t, and it’s starting to get to me.
Part of the struggle comes from the overwhelming pressure to pick a “hot” topic. A lot of the research I see in the field feels driven by what I can only describe as Shiny Object Syndrome—chasing the latest trends rather than focusing on work that’s meaningful and substantial. For example, I’ve seen several papers using large language models (LLMs) for time series forecasting. While LLMs are undeniably fascinating, it feels more like an attempt to forcefully fit them into time series because it’s “cool,” not because it’s the best tool for the problem at hand. And I don’t want to be part of that trend.
But here’s the dilemma: How do you choose a research topic that feels both authentic and impactful, especially when everything around you seems so driven by the latest hype? Do you follow these emerging trends, or do you focus on something that
/r/MachineLearning
https://redd.it/1hj6nbf
Hi everyone, I hope you don’t mind me venting a bit, but I’m hoping to gain some insight into a challenge I’ve been facing. I’m a second-year PhD student researching time series, and honestly, I thought by now I would have a clear research question. But I don’t, and it’s starting to get to me.
Part of the struggle comes from the overwhelming pressure to pick a “hot” topic. A lot of the research I see in the field feels driven by what I can only describe as Shiny Object Syndrome—chasing the latest trends rather than focusing on work that’s meaningful and substantial. For example, I’ve seen several papers using large language models (LLMs) for time series forecasting. While LLMs are undeniably fascinating, it feels more like an attempt to forcefully fit them into time series because it’s “cool,” not because it’s the best tool for the problem at hand. And I don’t want to be part of that trend.
But here’s the dilemma: How do you choose a research topic that feels both authentic and impactful, especially when everything around you seems so driven by the latest hype? Do you follow these emerging trends, or do you focus on something that
/r/MachineLearning
https://redd.it/1hj6nbf
Reddit
From the MachineLearning community on Reddit
Explore this post and more from the MachineLearning community
Djangoroad YouTube channel gone? I've tried to look for the WSGI video for a refresher, but it seems like her channel is gone. :(
https://www.youtube.com/@djangoroad This was her YouTube channel, and her videos really helped me in deploying a containerized Django app for a client (No, seriously, I would've been fk if I didn't watch her video.)
/r/django
https://redd.it/1hjb9u8
https://www.youtube.com/@djangoroad This was her YouTube channel, and her videos really helped me in deploying a containerized Django app for a client (No, seriously, I would've been fk if I didn't watch her video.)
/r/django
https://redd.it/1hjb9u8
(noob q) What's the best way to set up a many-to-many relationship with djangorestframework?
To simplify the scenario:
My app has users and pre-defined cards. Users can build decks using the cards that are available.
So of course I need models for User, Deck, and Card.
Each User:Deck is 1:many - easy, add foreign key to Deck for User/owner
Here's where I'm not sure what the best option is:
Each Deck includes many cards, and each card may belong to many decks.
Should I build a list of cards that belong to the deck, then include them as a single field? (I think this would be slower because I'd have to retrieve the list then query for those cards?)
Or should I build a separate table that has a separate row for each deck-card relation? (So I would take Deck ID, filter DeckCards by deck ID, and all the cards listed are available)
I'm learning about serializers and hyperlinking right now, but not sure what would be the best way to set up my API here. I followed through the DRF tutorial and it looks like they used hyperlinking for 1:many (users:snippets) but not sure if I can do it the same way for many:many.
/r/django
https://redd.it/1hiuol0
To simplify the scenario:
My app has users and pre-defined cards. Users can build decks using the cards that are available.
So of course I need models for User, Deck, and Card.
Each User:Deck is 1:many - easy, add foreign key to Deck for User/owner
Here's where I'm not sure what the best option is:
Each Deck includes many cards, and each card may belong to many decks.
Should I build a list of cards that belong to the deck, then include them as a single field? (I think this would be slower because I'd have to retrieve the list then query for those cards?)
Or should I build a separate table that has a separate row for each deck-card relation? (So I would take Deck ID, filter DeckCards by deck ID, and all the cards listed are available)
I'm learning about serializers and hyperlinking right now, but not sure what would be the best way to set up my API here. I followed through the DRF tutorial and it looks like they used hyperlinking for 1:many (users:snippets) but not sure if I can do it the same way for many:many.
/r/django
https://redd.it/1hiuol0
Reddit
From the django community on Reddit
Explore this post and more from the django community
Effective Python Developer Tooling in December 2024
I wrote a post of developer tooling I like at the moment: https://pydevtools.com/blog/effective-python-developer-tooling-in-december-2024/
/r/Python
https://redd.it/1hjcng4
I wrote a post of developer tooling I like at the moment: https://pydevtools.com/blog/effective-python-developer-tooling-in-december-2024/
/r/Python
https://redd.it/1hjcng4
Pydevtools
Effective Python Developer Tooling in December 2024
I have been writing Python for 14 years next month. When I started, people were still using easy_install to install egg-based packages for Python 2.7 and nobody had heard about Conda yet, much less uv. Needless to say, the Python tool ecosystem has changed…
[Release 0.4.0] TSignal: A Flexible Python Signal/Slot System for Async and Threaded Python—Now with
Hey everyone!
I’m thrilled to announce TSignal 0.4.0, a pure-Python signal/slot library that helps you build event-driven applications with ease. TSignal integrates smoothly with async/await, handles thread safety for you, and doesn’t force you to install heavy frameworks.
# What’s New in 0.4.0
## Weak Reference Support
You can now connect a slot with weak=True. If the receiver object is garbage-collected, TSignal automatically removes the connection, preventing memory leaks or stale slots in long-lived applications:
```python
# Set weak=True for individual connections
sender.event.connect(receiver, receiver.on_event, weak=True)
# Or, set weak_default=True at class level (default is True)
@t_with_signals(weak_default=True)
class WeakRefSender:
@t_signal
def event(self):
pass
# Now all connections from this sender will use weak references by default
# No need to specify weak=True for each connect call
sender = WeakRefSender()
sender.event.connect(receiver, receiver.on_event) # Uses weak reference
# Once `receiver` is GC’d, TSignal cleans up automatically.
```
## One-Shot Connections (Optional)
A new connection parameter, one_shot=True, lets you disconnect a slot right after its first call. It’s handy for “listen-once” or “single handshake” scenarios. Just set:
```python
signal.connect(receiver, receiver.handler, one_shot=True)
```
The slot automatically goes away after the first emit.
## Thread-Safety Improvements
TSignal’s internal locking and scheduling mechanisms have been refined to further reduce race conditions in high-concurrency environments. This ensures more
/r/Python
https://redd.it/1hj9cjs
Hey everyone!
I’m thrilled to announce TSignal 0.4.0, a pure-Python signal/slot library that helps you build event-driven applications with ease. TSignal integrates smoothly with async/await, handles thread safety for you, and doesn’t force you to install heavy frameworks.
# What’s New in 0.4.0
## Weak Reference Support
You can now connect a slot with weak=True. If the receiver object is garbage-collected, TSignal automatically removes the connection, preventing memory leaks or stale slots in long-lived applications:
```python
# Set weak=True for individual connections
sender.event.connect(receiver, receiver.on_event, weak=True)
# Or, set weak_default=True at class level (default is True)
@t_with_signals(weak_default=True)
class WeakRefSender:
@t_signal
def event(self):
pass
# Now all connections from this sender will use weak references by default
# No need to specify weak=True for each connect call
sender = WeakRefSender()
sender.event.connect(receiver, receiver.on_event) # Uses weak reference
# Once `receiver` is GC’d, TSignal cleans up automatically.
```
## One-Shot Connections (Optional)
A new connection parameter, one_shot=True, lets you disconnect a slot right after its first call. It’s handy for “listen-once” or “single handshake” scenarios. Just set:
```python
signal.connect(receiver, receiver.handler, one_shot=True)
```
The slot automatically goes away after the first emit.
## Thread-Safety Improvements
TSignal’s internal locking and scheduling mechanisms have been refined to further reduce race conditions in high-concurrency environments. This ensures more
/r/Python
https://redd.it/1hj9cjs
Reddit
From the Python community on Reddit: [Release 0.4.0] TSignal: A Flexible Python Signal/Slot System for Async and Threaded Python—Now…
Explore this post and more from the Python community
Any suggestions to my plan to learn Django?
For a bit of background, I'm a software engineer with 2+ professional YoE exclusively in Python for small scale applications, with some basic experience in FastAPI, MongoDB, PostgreSQL, PyQt and Docker. I would say I'm fairly proficient in core python but virtually no knowledge/experience in the fundamentals of the internet/HTTP/DNS/networking/cloud deployment, etc.
I'm really interested in learning Django which stems from my goal to build a web app that I have in mind + land a Django role in the distant future, whilst also hoping that the aforementioned weak areas will be learnt along the way.
As I'm in no real rush to learn Django and build my idea, I'd like to plan out some reading material hoping to comprehensively cover the main areas, including deployment, payment handling, etc. So, I'm not really interested in the 5-hour speedrun courses on youtube.
I also don't like the idea of jumping head first into building my idea, as I've taken that approach before and it resulted in a lot of undue stress from incessant jumping around which could've been avoided if I learnt things in a intuitively structured way. Also, I do plan on using the django docs for
/r/django
https://redd.it/1hjm9rl
For a bit of background, I'm a software engineer with 2+ professional YoE exclusively in Python for small scale applications, with some basic experience in FastAPI, MongoDB, PostgreSQL, PyQt and Docker. I would say I'm fairly proficient in core python but virtually no knowledge/experience in the fundamentals of the internet/HTTP/DNS/networking/cloud deployment, etc.
I'm really interested in learning Django which stems from my goal to build a web app that I have in mind + land a Django role in the distant future, whilst also hoping that the aforementioned weak areas will be learnt along the way.
As I'm in no real rush to learn Django and build my idea, I'd like to plan out some reading material hoping to comprehensively cover the main areas, including deployment, payment handling, etc. So, I'm not really interested in the 5-hour speedrun courses on youtube.
I also don't like the idea of jumping head first into building my idea, as I've taken that approach before and it resulted in a lot of undue stress from incessant jumping around which could've been avoided if I learnt things in a intuitively structured way. Also, I do plan on using the django docs for
/r/django
https://redd.it/1hjm9rl
Reddit
From the django community on Reddit
Explore this post and more from the django community
Volunteer for a google meet
Hi ! As the noscript says, i'm looking for a flask developer to volunteer for an interview through google meet.
I teach some university students web development using flask , and i thought it's a good idea to get one of those developers to come into one of our regular meets
You will basically get asked some questions regarding web development,
If you are interested, send a PM
Anyone's help is much appreciated.
Ps : i'll be happy to answer any questions down below
/r/flask
https://redd.it/1hjjxql
Hi ! As the noscript says, i'm looking for a flask developer to volunteer for an interview through google meet.
I teach some university students web development using flask , and i thought it's a good idea to get one of those developers to come into one of our regular meets
You will basically get asked some questions regarding web development,
If you are interested, send a PM
Anyone's help is much appreciated.
Ps : i'll be happy to answer any questions down below
/r/flask
https://redd.it/1hjjxql
Reddit
From the flask community on Reddit
Explore this post and more from the flask community
Sunday Daily Thread: What's everyone working on this week?
# Weekly Thread: What's Everyone Working On This Week? 🛠️
Hello /r/Python! It's time to share what you've been working on! Whether it's a work-in-progress, a completed masterpiece, or just a rough idea, let us know what you're up to!
## How it Works:
1. Show & Tell: Share your current projects, completed works, or future ideas.
2. Discuss: Get feedback, find collaborators, or just chat about your project.
3. Inspire: Your project might inspire someone else, just as you might get inspired here.
## Guidelines:
Feel free to include as many details as you'd like. Code snippets, screenshots, and links are all welcome.
Whether it's your job, your hobby, or your passion project, all Python-related work is welcome here.
## Example Shares:
1. Machine Learning Model: Working on a ML model to predict stock prices. Just cracked a 90% accuracy rate!
2. Web Scraping: Built a noscript to scrape and analyze news articles. It's helped me understand media bias better.
3. Automation: Automated my home lighting with Python and Raspberry Pi. My life has never been easier!
Let's build and grow together! Share your journey and learn from others. Happy coding! 🌟
/r/Python
https://redd.it/1hjmlmy
# Weekly Thread: What's Everyone Working On This Week? 🛠️
Hello /r/Python! It's time to share what you've been working on! Whether it's a work-in-progress, a completed masterpiece, or just a rough idea, let us know what you're up to!
## How it Works:
1. Show & Tell: Share your current projects, completed works, or future ideas.
2. Discuss: Get feedback, find collaborators, or just chat about your project.
3. Inspire: Your project might inspire someone else, just as you might get inspired here.
## Guidelines:
Feel free to include as many details as you'd like. Code snippets, screenshots, and links are all welcome.
Whether it's your job, your hobby, or your passion project, all Python-related work is welcome here.
## Example Shares:
1. Machine Learning Model: Working on a ML model to predict stock prices. Just cracked a 90% accuracy rate!
2. Web Scraping: Built a noscript to scrape and analyze news articles. It's helped me understand media bias better.
3. Automation: Automated my home lighting with Python and Raspberry Pi. My life has never been easier!
Let's build and grow together! Share your journey and learn from others. Happy coding! 🌟
/r/Python
https://redd.it/1hjmlmy
Reddit
From the Python community on Reddit
Explore this post and more from the Python community
PyMo - Python Motion Visualizer CLI
Hello, I have build a motion visualizer in python as a CLI noscript.
What My Project Does: It extracts frames from a video, offsets them and blends them using difference (blend mode from Image and Video Editing Software), applies a few filters and exports a new video.
Target Audience: This is for anyone willing to use it, mostly for fun. If you are comfortable with running noscripts in a terminal, you are the target audience. I have mostly created it to see the movement of my vape clouds and that is fun and interesting.
Comparison: As this process can be achieved in any video editing software, even blender, there is not much of a comparison. The only thing that my project does, is the post processing. It just runs contrast and denoise, but that brings out details, which video editing software mostly won't give you (At least from my experience).
This was just a fun project for me which got me to learn and understand tqdm and opencv2.
Check it out at my Github Repo: https://github.com/TheElevatedOne/pymo
/r/Python
https://redd.it/1hjjson
Hello, I have build a motion visualizer in python as a CLI noscript.
What My Project Does: It extracts frames from a video, offsets them and blends them using difference (blend mode from Image and Video Editing Software), applies a few filters and exports a new video.
Target Audience: This is for anyone willing to use it, mostly for fun. If you are comfortable with running noscripts in a terminal, you are the target audience. I have mostly created it to see the movement of my vape clouds and that is fun and interesting.
Comparison: As this process can be achieved in any video editing software, even blender, there is not much of a comparison. The only thing that my project does, is the post processing. It just runs contrast and denoise, but that brings out details, which video editing software mostly won't give you (At least from my experience).
This was just a fun project for me which got me to learn and understand tqdm and opencv2.
Check it out at my Github Repo: https://github.com/TheElevatedOne/pymo
/r/Python
https://redd.it/1hjjson
GitHub
GitHub - TheElevatedOne/pymo: Python Motion Visualizer CLI (PyMo)
Python Motion Visualizer CLI (PyMo). Contribute to TheElevatedOne/pymo development by creating an account on GitHub.
Django Custom User Model Migration Issue - "Lazy Reference to 'users.CustomUser'"
Hello, I'm working on a Django project where I've implemented a custom user model by subclassing
I’ve already made sure that the
Has anyone experienced this before or can help me figure out why Django can't find the
/r/django
https://redd.it/1hjuz9e
Hello, I'm working on a Django project where I've implemented a custom user model by subclassing
AbstractUser. In my `settings.py`, I've correctly set AUTH_USER_MODEL = 'users.CustomUser'. However, when I run the migrations, I get the following error: ValueError: The field admin.LogEntry.user was declared with a lazy reference to 'users.customuser', but app 'users' doesn't provide model 'customuser'.I’ve already made sure that the
CustomUser model is correctly defined in users/models.py, and the app is listed in INSTALLED_APPS. I've also run makemigrations for the users app, but I’m still encountering this issue.Has anyone experienced this before or can help me figure out why Django can't find the
CustomUser model? Any advice would be greatly appreciated!/r/django
https://redd.it/1hjuz9e
Reddit
From the django community on Reddit
Explore this post and more from the django community
Any tips to improve my simple "game"
hey, i did the ib diploma in highschool and for my computer science project i made a simple 2d game, but due to deadlines i kinda rushed it, (here is the github link) now that i finished highschool i have more time and id like to redo it from scratch and do something that im proud of, if you could give me any tips on what i could add and how to improve it it would be extremely helpful, thank you everyone and have a wonderful weekend.
/r/Python
https://redd.it/1hjbdai
hey, i did the ib diploma in highschool and for my computer science project i made a simple 2d game, but due to deadlines i kinda rushed it, (here is the github link) now that i finished highschool i have more time and id like to redo it from scratch and do something that im proud of, if you could give me any tips on what i could add and how to improve it it would be extremely helpful, thank you everyone and have a wonderful weekend.
/r/Python
https://redd.it/1hjbdai
GitHub
GitHub - CSalokanas/Food_Game
Contribute to CSalokanas/Food_Game development by creating an account on GitHub.
Spotipy - has anyone used it before?
Hi all -
Has anyone used Spotipy? I'm just a bit concerned that I'd be giving my username and password to something I haven't wrote myself - I'm used to using random noscripts off github, but it gives me pause to hand over my details
am I just being silly?
/r/Python
https://redd.it/1hjkpex
Hi all -
Has anyone used Spotipy? I'm just a bit concerned that I'd be giving my username and password to something I haven't wrote myself - I'm used to using random noscripts off github, but it gives me pause to hand over my details
am I just being silly?
/r/Python
https://redd.it/1hjkpex
Reddit
From the Python community on Reddit
Explore this post and more from the Python community
Pivot from Flask
Hey everyone,
I recently built an app using Flask without realizing it’s a synchronous framework. Because I’m a beginner, I didn’t anticipate the issues I’d face when interacting with multiple external APIs (OpenAI, web crawlers, etc.). Locally, everything worked just fine, but once I deployed to a production server, the asynchronous functions failed since Flask only supports WSGI servers.
Now I need to pivot to a new framework—most likely FastAPI or Next.js. I want to avoid any future blockers and make the right decision for the long term. Which framework would you recommend?
Here are the app’s key features:
Integration with Twilio
Continuous web crawling, then sending data to an LLM for personalized news
Daily asynchronous website crawling
Google and Twitter login
Access to Twitter and LinkedIn APIs
Stripe payments
I’d love to hear your thoughts on which solution (FastAPI or Next.js) offers the best path forward. Thank you in advance!
/r/flask
https://redd.it/1hjul50
Hey everyone,
I recently built an app using Flask without realizing it’s a synchronous framework. Because I’m a beginner, I didn’t anticipate the issues I’d face when interacting with multiple external APIs (OpenAI, web crawlers, etc.). Locally, everything worked just fine, but once I deployed to a production server, the asynchronous functions failed since Flask only supports WSGI servers.
Now I need to pivot to a new framework—most likely FastAPI or Next.js. I want to avoid any future blockers and make the right decision for the long term. Which framework would you recommend?
Here are the app’s key features:
Integration with Twilio
Continuous web crawling, then sending data to an LLM for personalized news
Daily asynchronous website crawling
Google and Twitter login
Access to Twitter and LinkedIn APIs
Stripe payments
I’d love to hear your thoughts on which solution (FastAPI or Next.js) offers the best path forward. Thank you in advance!
/r/flask
https://redd.it/1hjul50
Reddit
From the flask community on Reddit
Explore this post and more from the flask community
Creating my own password manager bc I can
I started off with creating a CLI app and want to slowly move into making a desktop app, a web app, and a mobile app so I can just host my db and encryption key somewhere and be done with it. I was wondering if anyone can take a peek and give me some criticisms here and there since I don't normally create apps in python: https://github.com/mariaalexissales/password-manager
/r/Python
https://redd.it/1hjjkrx
I started off with creating a CLI app and want to slowly move into making a desktop app, a web app, and a mobile app so I can just host my db and encryption key somewhere and be done with it. I was wondering if anyone can take a peek and give me some criticisms here and there since I don't normally create apps in python: https://github.com/mariaalexissales/password-manager
/r/Python
https://redd.it/1hjjkrx
GitHub
GitHub - mariaalexissales/password-manager: personal password manager bc i'm tired of paying for services
personal password manager bc i'm tired of paying for services - mariaalexissales/password-manager
Looking for remote Django developer (contractor)
I'm looking for a Django Web Developer (backend and frontend) to work at SadServers as a contractor that can lead into a part-time or full-time role.
We use Bootstrap, Celery, REST API and Boto3 among other technologies, see our GitHub repo at [https://github.com/sadservers/sadservers](https://github.com/sadservers/sadservers) for details.
The main qualification is to have made significant code contributions to professional Django websites and be able to communicate well. Many things are a bonus, like having experience with our stack / Linux / AWS / SaaS.
There are no interviews with low signal questions like "why do you want to work for us?" or "what's your biggest weakness?", also no factoid technical questions that can be looked up quickly with a web search or an AI agent.
The process is straight-forward:
* Fill out this form: [https://docs.google.com/forms/d/1Y-ESW0rrlbh24B5vnbTamHN5w6toT-WIyipLPKTEIsY/](https://docs.google.com/forms/d/1Y-ESW0rrlbh24B5vnbTamHN5w6toT-WIyipLPKTEIsY/)
* If there's an initial good fit, we'll have one call to discuss what we need and for you to show us and talk about your work.
* If we are both happy, we'll send you an initial short real task to perform on our code and payment for it.
Thanks!
/r/django
https://redd.it/1hkb4x4
I'm looking for a Django Web Developer (backend and frontend) to work at SadServers as a contractor that can lead into a part-time or full-time role.
We use Bootstrap, Celery, REST API and Boto3 among other technologies, see our GitHub repo at [https://github.com/sadservers/sadservers](https://github.com/sadservers/sadservers) for details.
The main qualification is to have made significant code contributions to professional Django websites and be able to communicate well. Many things are a bonus, like having experience with our stack / Linux / AWS / SaaS.
There are no interviews with low signal questions like "why do you want to work for us?" or "what's your biggest weakness?", also no factoid technical questions that can be looked up quickly with a web search or an AI agent.
The process is straight-forward:
* Fill out this form: [https://docs.google.com/forms/d/1Y-ESW0rrlbh24B5vnbTamHN5w6toT-WIyipLPKTEIsY/](https://docs.google.com/forms/d/1Y-ESW0rrlbh24B5vnbTamHN5w6toT-WIyipLPKTEIsY/)
* If there's an initial good fit, we'll have one call to discuss what we need and for you to show us and talk about your work.
* If we are both happy, we'll send you an initial short real task to perform on our code and payment for it.
Thanks!
/r/django
https://redd.it/1hkb4x4
GitHub
GitHub - SadServers/sadservers: SadServers: Linux & DevOps Troubleshooting Scenarios SaaS
SadServers: Linux & DevOps Troubleshooting Scenarios SaaS - SadServers/sadservers