Finding and fixing N+1 problems
https://blog.sentry.io/2020/09/14/finding-and-fixing-django-n-1-problems/
/r/django
https://redd.it/itiqab
https://blog.sentry.io/2020/09/14/finding-and-fixing-django-n-1-problems/
/r/django
https://redd.it/itiqab
Integrate Summernote Editor in Django application
https://kodnito.com/posts/integrate-summernote-editor-django-application/
/r/djangolearning
https://redd.it/itqyv4
https://kodnito.com/posts/integrate-summernote-editor-django-application/
/r/djangolearning
https://redd.it/itqyv4
Kodnito
Integrate Summernote Editor in Django application - Kodnito
In this tutorial, we will learn how to integrate Summernote WYSIWYG Editor in Django. - Kodnito
Thursday megathread: Python careers!
Discussion of using Python in a professional environment, getting jobs in Python and more!
**This thread is not for recruitment, please see** r/PythonJobs **or the thread in the sidebar for that.**
/r/Python
https://redd.it/iu8062
Discussion of using Python in a professional environment, getting jobs in Python and more!
**This thread is not for recruitment, please see** r/PythonJobs **or the thread in the sidebar for that.**
/r/Python
https://redd.it/iu8062
reddit
Thursday megathread: Python careers!
Discussion of using Python in a professional environment, getting jobs in Python and more! **This thread is not for recruitment, please see**...
Django and its default values – A little story of a common Django pitfall
https://medium.com/botify-labs/django-and-its-default-values-c21a13cff9f
/r/django
https://redd.it/itve1q
https://medium.com/botify-labs/django-and-its-default-values-c21a13cff9f
/r/django
https://redd.it/itve1q
Medium
Django and its default values
A little story of a common Django pitfall
Best Way To Start Learning Python - A Complete Roadmap
Python is one of the most popular language among programmers.
Now the question is ***where to start? How much time it will take to learn this language? what topics you should cover? what are the Python libraries or frameworks?*** As a beginner, you will be confused that what should I choose first.
Should I learn all the concepts from a book or should I go for an online tutorial? Let’s discuss the [Entire road-map to become a Python developer.](https://www.geeksforgeeks.org/best-way-to-start-learning-python-a-complete-roadmap/)
/r/Python
https://redd.it/itoq8j
Python is one of the most popular language among programmers.
Now the question is ***where to start? How much time it will take to learn this language? what topics you should cover? what are the Python libraries or frameworks?*** As a beginner, you will be confused that what should I choose first.
Should I learn all the concepts from a book or should I go for an online tutorial? Let’s discuss the [Entire road-map to become a Python developer.](https://www.geeksforgeeks.org/best-way-to-start-learning-python-a-complete-roadmap/)
/r/Python
https://redd.it/itoq8j
GeeksforGeeks
Best Way To Start Learning Python - A Complete Roadmap - GeeksforGeeks
Your All-in-One Learning Portal: GeeksforGeeks is a comprehensive educational platform that empowers learners across domains-spanning computer science and programming, school education, upskilling, commerce, software tools, competitive exams, and more.
How to handle file uploads in Django Rest Framework?
Hello!
I'm currently working on a Django API in the Django Rest Framework. The API needs to be able to support ( and I suspect - a lot ) of file uploads more or less simultaneously. The file sizes may vary wildly. The application needs to analyse and then destroy the files.
I'm having trouble with the research for this issue, as there doesn't really seem to be a production ready solution out there.
In Flask I would probably use some sort of multi upload and maybe something like Celery. Does Django have it's own "worker" implementation? What would be the most optimal way to handle a lot of "analyse this file for me" requests?
/r/django
https://redd.it/iu4rf1
Hello!
I'm currently working on a Django API in the Django Rest Framework. The API needs to be able to support ( and I suspect - a lot ) of file uploads more or less simultaneously. The file sizes may vary wildly. The application needs to analyse and then destroy the files.
I'm having trouble with the research for this issue, as there doesn't really seem to be a production ready solution out there.
In Flask I would probably use some sort of multi upload and maybe something like Celery. Does Django have it's own "worker" implementation? What would be the most optimal way to handle a lot of "analyse this file for me" requests?
/r/django
https://redd.it/iu4rf1
reddit
How to handle file uploads in Django Rest Framework?
Hello! I'm currently working on a Django API in the Django Rest Framework. The API needs to be able to support ( and I suspect - a lot ) of file...
Build a web app in 20 minutes
Beset by pandemic, smoke and 2020 in general, I have found solace in creating a generator that creates multi-table, multi-form apps for sqlalchemy databases. It enables you to build an app in 10 minutes.
It’s based on Flask AppBuilder, itself based on Flask and SqlAlchemy.
Check it out on github: [https://github.com/valhuber/fab-quick-start](https://github.com/valhuber/fab-quick-start)
/r/Python
https://redd.it/iubkx2
Beset by pandemic, smoke and 2020 in general, I have found solace in creating a generator that creates multi-table, multi-form apps for sqlalchemy databases. It enables you to build an app in 10 minutes.
It’s based on Flask AppBuilder, itself based on Flask and SqlAlchemy.
Check it out on github: [https://github.com/valhuber/fab-quick-start](https://github.com/valhuber/fab-quick-start)
/r/Python
https://redd.it/iubkx2
GitHub
valhuber/fab-quick-start
fab-quick-start utility to generate FAB AppBuilder views.py, and FAB Quick Start Guide (wiki) - valhuber/fab-quick-start
Anyone doing Monolithic Django?
Printing a hello world over kubernetes cluster is an overkill, so are multiple microservices when you do not need them. I loved monolithic django, but with the advent of microservices architecture and modern JS libraries react, vue, and the likes, here is what you got to do
​
1. Create a DRF Backend
2. Take care of authentication at both ends
3. Build your SPA in a modern JS framework.
The good is modularity, maintainability, better UX controls, super interactive UIs, and the likes, the bad is you need to write more code. In simple cases the good old django templates is good enough. Is anyone still doing them? I love the organised new age FE framework code, the imports that come with ES6.
​
Is anyone still doing monolith with django template and ES6. If so, mind sharing your workflow, and libraries?
/r/django
https://redd.it/iudzvz
Printing a hello world over kubernetes cluster is an overkill, so are multiple microservices when you do not need them. I loved monolithic django, but with the advent of microservices architecture and modern JS libraries react, vue, and the likes, here is what you got to do
​
1. Create a DRF Backend
2. Take care of authentication at both ends
3. Build your SPA in a modern JS framework.
The good is modularity, maintainability, better UX controls, super interactive UIs, and the likes, the bad is you need to write more code. In simple cases the good old django templates is good enough. Is anyone still doing them? I love the organised new age FE framework code, the imports that come with ES6.
​
Is anyone still doing monolith with django template and ES6. If so, mind sharing your workflow, and libraries?
/r/django
https://redd.it/iudzvz
reddit
Anyone doing Monolithic Django?
Printing a hello world over kubernetes cluster is an overkill, so are multiple microservices when you do not need them. I loved monolithic django,...
The Zen of Python: As Related by Masters
https://dev.to/abdurrahmaanj/the-zen-of-python-as-related-by-masters-1p9i
/r/Python
https://redd.it/iud7n2
https://dev.to/abdurrahmaanj/the-zen-of-python-as-related-by-masters-1p9i
/r/Python
https://redd.it/iud7n2
DEV Community
The Zen of Python: As Related by Masters
Kissing the soul of Python
I made a bot that will randomly generate videos and upload them to youtube
[https://www.youtube.com/channel/UCDANaYKjOBTH4TsczbBj9KQ](https://www.youtube.com/channel/UCDANaYKjOBTH4TsczbBj9KQ)
​
using moviepy to compose the images and youtube api to upload,
/r/Python
https://redd.it/iudmic
[https://www.youtube.com/channel/UCDANaYKjOBTH4TsczbBj9KQ](https://www.youtube.com/channel/UCDANaYKjOBTH4TsczbBj9KQ)
​
using moviepy to compose the images and youtube api to upload,
/r/Python
https://redd.it/iudmic
YouTube
Randomly Generated Videos
This channel is a programming project written in python using moviePy. The bot will randomly generate a video (at the moment every 8 hours) and upload it to ...
Django ORM
I am developing with Django for a couple years now. The documentation is great but I don‘t seem to get many concepts of advanced querying. Can you recommend any resources that take a deep dive into the topic with explanations and examples?
/r/django
https://redd.it/iugo97
I am developing with Django for a couple years now. The documentation is great but I don‘t seem to get many concepts of advanced querying. Can you recommend any resources that take a deep dive into the topic with explanations and examples?
/r/django
https://redd.it/iugo97
reddit
Django ORM
I am developing with Django for a couple years now. The documentation is great but I don‘t seem to get many concepts of advanced querying. Can you...
Call for survey + user testing: "Please help us improve pip!"
https://discuss.python.org/t/please-help-us-improve-pip/5228
/r/Python
https://redd.it/iuh0sh
https://discuss.python.org/t/please-help-us-improve-pip/5228
/r/Python
https://redd.it/iuh0sh
Discussions on Python.org
Please help us improve pip!
Hi folks! My name is Nicole - I’m a UX researcher and designer working on Python packaging. At the moment I am helping the pip team to improve the way that pip works for all users. As part of this work, I’ve just published a “buy a feature” game, where…
Problem in Deployment of hobby projects.
I’m currently building a simple hobby project which uses allauth with sendgrid integration. I’m still using sqlite3 since I can easily switch to other DB by changing settings.py
I want to deploy the project for free. I’ve tried PythonAnywhere so far, but the problem is it won’t allow for smtp requests. So I cannot send emails. Is there any fix for this?
Is there any other free deployment services for hobby projects that I can use!
/r/djangolearning
https://redd.it/iuge9w
I’m currently building a simple hobby project which uses allauth with sendgrid integration. I’m still using sqlite3 since I can easily switch to other DB by changing settings.py
I want to deploy the project for free. I’ve tried PythonAnywhere so far, but the problem is it won’t allow for smtp requests. So I cannot send emails. Is there any fix for this?
Is there any other free deployment services for hobby projects that I can use!
/r/djangolearning
https://redd.it/iuge9w
reddit
Problem in Deployment of hobby projects.
I’m currently building a simple hobby project which uses allauth with sendgrid integration. I’m still using sqlite3 since I can easily switch to...
What is the equivalent of home and clear in iPython?
Hi, I am using iPython through xterm on Mac. I tried to clear the screen and move the cursor on the top left using "home" but it does not work. What command can I use? Also, if I want to clear all the variables and values I created in iPython, what command should I use? Thank you
/r/IPython
https://redd.it/iunaf2
Hi, I am using iPython through xterm on Mac. I tried to clear the screen and move the cursor on the top left using "home" but it does not work. What command can I use? Also, if I want to clear all the variables and values I created in iPython, what command should I use? Thank you
/r/IPython
https://redd.it/iunaf2
reddit
What is the equivalent of home and clear in iPython?
Hi, I am using iPython through xterm on Mac. I tried to clear the screen and move the cursor on the top left using "home" but it does not work....
Django Riffs 8 - Administering Your App
https://www.mattlayman.com/django-riffs/administering-your-app/
/r/django
https://redd.it/iuj24x
https://www.mattlayman.com/django-riffs/administering-your-app/
/r/django
https://redd.it/iuj24x
Matt Layman
Episode 8 - Administering Your App
On this episode, we will focus on the built-in Django administrator's site. We'll see what it is, how you can configure it, and how you can customize it to serve your needs.
spark context times out
When in jupyter notebook, after some time my spark context times out and I have to reload my cells all over again. Is there a way to stop this from happening? Or to have it auto reload by itself without any manual intervention.
/r/JupyterNotebooks
https://redd.it/iuq72t
When in jupyter notebook, after some time my spark context times out and I have to reload my cells all over again. Is there a way to stop this from happening? Or to have it auto reload by itself without any manual intervention.
/r/JupyterNotebooks
https://redd.it/iuq72t
reddit
spark context times out
When in jupyter notebook, after some time my spark context times out and I have to reload my cells all over again. Is there a way to stop this...
Flask-AWSCognito Client Question
I have a question if anyone here has used Flask-AWSCognito before. In the documentation page section for Client is very vague and I'm still very new at python web development so how would I get a client to remember the access token and present it to each request to the flask endpoints?
/r/flask
https://redd.it/iuu96b
I have a question if anyone here has used Flask-AWSCognito before. In the documentation page section for Client is very vague and I'm still very new at python web development so how would I get a client to remember the access token and present it to each request to the flask endpoints?
/r/flask
https://redd.it/iuu96b
reddit
Flask-AWSCognito Client Question
I have a question if anyone here has used Flask-AWSCognito before. In the documentation page section for Client is very vague and I'm still very...
Continuous graph when time resets
Hello! I'm trying to graph data, but when the time resets to 0, the graph goes back to the start and I get overlapping data in my graph. How can I make it such that the graph keeps going without overlapping? Example: let's say that time resets after 30 minutes, at which time the clock resets back to 0, but I want the graph to keep going forward instead of going back to the beginning and drawing over the old data.
I am using Matplotlib.pyplot in a jupyter notebook. Sorry for not saying that earlier.
/r/IPython
https://redd.it/iu5ghu
Hello! I'm trying to graph data, but when the time resets to 0, the graph goes back to the start and I get overlapping data in my graph. How can I make it such that the graph keeps going without overlapping? Example: let's say that time resets after 30 minutes, at which time the clock resets back to 0, but I want the graph to keep going forward instead of going back to the beginning and drawing over the old data.
I am using Matplotlib.pyplot in a jupyter notebook. Sorry for not saying that earlier.
/r/IPython
https://redd.it/iu5ghu
reddit
Continuous graph when time resets
Hello! I'm trying to graph data, but when the time resets to 0, the graph goes back to the start and I get overlapping data in my graph. How can I...
Django 3.0 and above on a Raspberry Pi. Is it possible?
I'm learning Django and my development server is a Raspberry Pi 4, has anyone got Django 3.0 or above installed and working on a Raspberry Pi?
Or am I going to have to ditch Raspberry Pi OS and install Ubuntu Server on my Pi?
EDIT: OK, so [onosendi](https://www.reddit.com/user/onosendi/) suggested pip3...
So I ran:
**pip3 install django==3.1.1**
And it appeared to install, but I am unable to confirm the version by running:
**django-admin --version**
But if I go into:
**Python3**
..and then:
**import django**
**print(django.get\_version())**
I get:
**3.1.1**
Result! :)
/r/django
https://redd.it/ius2to
I'm learning Django and my development server is a Raspberry Pi 4, has anyone got Django 3.0 or above installed and working on a Raspberry Pi?
Or am I going to have to ditch Raspberry Pi OS and install Ubuntu Server on my Pi?
EDIT: OK, so [onosendi](https://www.reddit.com/user/onosendi/) suggested pip3...
So I ran:
**pip3 install django==3.1.1**
And it appeared to install, but I am unable to confirm the version by running:
**django-admin --version**
But if I go into:
**Python3**
..and then:
**import django**
**print(django.get\_version())**
I get:
**3.1.1**
Result! :)
/r/django
https://redd.it/ius2to
Reddit
overview for onosendi
Day Trader - Full stack web developer - Competitive Shooter - Fitness Enthusiast.