Need Design Suggestions for My Django App Dashboards
Hi guys,
I have a simple setup with a regular user and superuser dashboard:
If you log in with regular user credentials, you’re taken to the regular user dashboard, where you can view the "mailing list" from a PostgreSQL database.
If you log in as a superuser, you’ll be taken to the Super User Dashboard, where you can CRUD the mailing list from the same PostgreSQL database.
The problem now is the design of the dashboards, login, and signup pages. I’ve mostly used a template from Bootstrap (CSS and JavaScript), Google Fonts, static CSS, and
My boss wants the web app to have a "professional" or "client-ready" look.
Can you suggest any designs or templates I can easily integrate into my web application?
Thanks in advance!
Here is the sample interface:
Login Screen
Sign-Up Screen
Super User Dashboard
User Management \(Where the super users can see all the users and can edit\/delete users and also their recent action logs are shown
Regular User Dashboard \(where the regular users can see the mailing list and generate report via \(CSV\/PDF file\)
/r/django
https://redd.it/1iayme6
Hi guys,
I have a simple setup with a regular user and superuser dashboard:
If you log in with regular user credentials, you’re taken to the regular user dashboard, where you can view the "mailing list" from a PostgreSQL database.
If you log in as a superuser, you’ll be taken to the Super User Dashboard, where you can CRUD the mailing list from the same PostgreSQL database.
The problem now is the design of the dashboards, login, and signup pages. I’ve mostly used a template from Bootstrap (CSS and JavaScript), Google Fonts, static CSS, and
style.css.My boss wants the web app to have a "professional" or "client-ready" look.
Can you suggest any designs or templates I can easily integrate into my web application?
Thanks in advance!
Here is the sample interface:
Login Screen
Sign-Up Screen
Super User Dashboard
User Management \(Where the super users can see all the users and can edit\/delete users and also their recent action logs are shown
Regular User Dashboard \(where the regular users can see the mailing list and generate report via \(CSV\/PDF file\)
/r/django
https://redd.it/1iayme6
Looking for some advice!
Finished a python tech degree with TeamTreehouse and then went on to do a course from Dennis Ivy on the django framework... Since then have built my own little project and launced it on heroku. Previous to this I was doing a FEWD course but decided that it wasn't really my forte.. I mean it would be alright to have to do a bit of it here and there if I was working on a team and noticed something wasn't jiving but ALL day long I would prefer not to be doing design.. My question is this.. I know we have all had imposture syndrome at some point.. I have been doing this off and on now learning for lets say a year and I am wondering where does one even look for a django job! Or how would you reccomend to start? Really and truly at this point I would love to do an internship and be a part of a team or work on a project with a community but every time I go looking for jobs or internships it seems not many people specify django in their posting... Should I be branching off and learning something else?
/r/django
https://redd.it/1iar3rh
Finished a python tech degree with TeamTreehouse and then went on to do a course from Dennis Ivy on the django framework... Since then have built my own little project and launced it on heroku. Previous to this I was doing a FEWD course but decided that it wasn't really my forte.. I mean it would be alright to have to do a bit of it here and there if I was working on a team and noticed something wasn't jiving but ALL day long I would prefer not to be doing design.. My question is this.. I know we have all had imposture syndrome at some point.. I have been doing this off and on now learning for lets say a year and I am wondering where does one even look for a django job! Or how would you reccomend to start? Really and truly at this point I would love to do an internship and be a part of a team or work on a project with a community but every time I go looking for jobs or internships it seems not many people specify django in their posting... Should I be branching off and learning something else?
/r/django
https://redd.it/1iar3rh
Reddit
From the django community on Reddit
Explore this post and more from the django community
what happened to 'djang road' the youtuber???
do you guys know about the youtuber name django road? all of sudden, she disappeared.. her channel is gone.. what happen??
/r/django
https://redd.it/1ib53ov
do you guys know about the youtuber name django road? all of sudden, she disappeared.. her channel is gone.. what happen??
/r/django
https://redd.it/1ib53ov
Reddit
From the django community on Reddit
Explore this post and more from the django community
Monday Daily Thread: Project ideas!
# Weekly Thread: Project Ideas 💡
Welcome to our weekly Project Ideas thread! Whether you're a newbie looking for a first project or an expert seeking a new challenge, this is the place for you.
## How it Works:
1. **Suggest a Project**: Comment your project idea—be it beginner-friendly or advanced.
2. **Build & Share**: If you complete a project, reply to the original comment, share your experience, and attach your source code.
3. **Explore**: Looking for ideas? Check out Al Sweigart's ["The Big Book of Small Python Projects"](https://www.amazon.com/Big-Book-Small-Python-Programming/dp/1718501242) for inspiration.
## Guidelines:
* Clearly state the difficulty level.
* Provide a brief description and, if possible, outline the tech stack.
* Feel free to link to tutorials or resources that might help.
# Example Submissions:
## Project Idea: Chatbot
**Difficulty**: Intermediate
**Tech Stack**: Python, NLP, Flask/FastAPI/Litestar
**Description**: Create a chatbot that can answer FAQs for a website.
**Resources**: [Building a Chatbot with Python](https://www.youtube.com/watch?v=a37BL0stIuM)
# Project Idea: Weather Dashboard
**Difficulty**: Beginner
**Tech Stack**: HTML, CSS, JavaScript, API
**Description**: Build a dashboard that displays real-time weather information using a weather API.
**Resources**: [Weather API Tutorial](https://www.youtube.com/watch?v=9P5MY_2i7K8)
## Project Idea: File Organizer
**Difficulty**: Beginner
**Tech Stack**: Python, File I/O
**Description**: Create a script that organizes files in a directory into sub-folders based on file type.
**Resources**: [Automate the Boring Stuff: Organizing Files](https://automatetheboringstuff.com/2e/chapter9/)
Let's help each other grow. Happy
/r/Python
https://redd.it/1iaug3w
# Weekly Thread: Project Ideas 💡
Welcome to our weekly Project Ideas thread! Whether you're a newbie looking for a first project or an expert seeking a new challenge, this is the place for you.
## How it Works:
1. **Suggest a Project**: Comment your project idea—be it beginner-friendly or advanced.
2. **Build & Share**: If you complete a project, reply to the original comment, share your experience, and attach your source code.
3. **Explore**: Looking for ideas? Check out Al Sweigart's ["The Big Book of Small Python Projects"](https://www.amazon.com/Big-Book-Small-Python-Programming/dp/1718501242) for inspiration.
## Guidelines:
* Clearly state the difficulty level.
* Provide a brief description and, if possible, outline the tech stack.
* Feel free to link to tutorials or resources that might help.
# Example Submissions:
## Project Idea: Chatbot
**Difficulty**: Intermediate
**Tech Stack**: Python, NLP, Flask/FastAPI/Litestar
**Description**: Create a chatbot that can answer FAQs for a website.
**Resources**: [Building a Chatbot with Python](https://www.youtube.com/watch?v=a37BL0stIuM)
# Project Idea: Weather Dashboard
**Difficulty**: Beginner
**Tech Stack**: HTML, CSS, JavaScript, API
**Description**: Build a dashboard that displays real-time weather information using a weather API.
**Resources**: [Weather API Tutorial](https://www.youtube.com/watch?v=9P5MY_2i7K8)
## Project Idea: File Organizer
**Difficulty**: Beginner
**Tech Stack**: Python, File I/O
**Description**: Create a script that organizes files in a directory into sub-folders based on file type.
**Resources**: [Automate the Boring Stuff: Organizing Files](https://automatetheboringstuff.com/2e/chapter9/)
Let's help each other grow. Happy
/r/Python
https://redd.it/1iaug3w
YouTube
Build & Integrate your own custom chatbot to a website (Python & JavaScript)
In this fun project you learn how to build a custom chatbot in Python and then integrate this to a website using Flask and JavaScript.
Starter Files: https://github.com/patrickloeber/chatbot-deployment
Get my Free NumPy Handbook: https://www.python-engi…
Starter Files: https://github.com/patrickloeber/chatbot-deployment
Get my Free NumPy Handbook: https://www.python-engi…
Multicharting + Live Streaming Tool for IBKR
# What My Project Does
It's finally here! I set out on my journey on Python 4 years to one day create my own trading/charting tool. Now, I am sharing this dashboard that has been an on-off project along this journey. It comes together with the following features:
* Live data, together with candlestick charting thats updated on intervals.
* Multi-charting functionalities, up to 6 charts per screen (you can open multiple tabs).
* In the home page, a built in Bloomberg news stream.
* Ticker search functionalities on IBKR offerings.
* Indicators in Typescript, and can be added on to in the code.
For now, the project data streams only caters to IBKR, which is what I am using primarily. Hopefully through this post, I can find contributors much more talented than me (which I am sure most of you are) to work together and continue making improvements this project. The main goal to continue to work towards making a non-paywalled, high-quality analytics completely open source.
Thank you for taking the time to read this, and you can check out the project here: [https://github.com/lvxhnat/ibkr-charts](https://github.com/lvxhnat/ibkr-charts) :)
# Target Audience
Engineers / developers with IBKR accounts interested in trading/investments.
# Comparison
I am not aware of any other open source tools that connects to
/r/Python
https://redd.it/1ibbbib
# What My Project Does
It's finally here! I set out on my journey on Python 4 years to one day create my own trading/charting tool. Now, I am sharing this dashboard that has been an on-off project along this journey. It comes together with the following features:
* Live data, together with candlestick charting thats updated on intervals.
* Multi-charting functionalities, up to 6 charts per screen (you can open multiple tabs).
* In the home page, a built in Bloomberg news stream.
* Ticker search functionalities on IBKR offerings.
* Indicators in Typescript, and can be added on to in the code.
For now, the project data streams only caters to IBKR, which is what I am using primarily. Hopefully through this post, I can find contributors much more talented than me (which I am sure most of you are) to work together and continue making improvements this project. The main goal to continue to work towards making a non-paywalled, high-quality analytics completely open source.
Thank you for taking the time to read this, and you can check out the project here: [https://github.com/lvxhnat/ibkr-charts](https://github.com/lvxhnat/ibkr-charts) :)
# Target Audience
Engineers / developers with IBKR accounts interested in trading/investments.
# Comparison
I am not aware of any other open source tools that connects to
/r/Python
https://redd.it/1ibbbib
GitHub
GitHub - lvxhnat/ibkr-charts: Stream IBKR live data feeds, with TS indicators and multi-charting functionalities.
Stream IBKR live data feeds, with TS indicators and multi-charting functionalities. - GitHub - lvxhnat/ibkr-charts: Stream IBKR live data feeds, with TS indicators and multi-charting functionalities.
Course to learn Django
I'd like to learn Django.
I already use Python.
I was considering the Udemy course by Jose Portilla Django 4 and Python Full-Stack Developer Masterclass
What do you think?
/r/djangolearning
https://redd.it/1iba6hp
I'd like to learn Django.
I already use Python.
I was considering the Udemy course by Jose Portilla Django 4 and Python Full-Stack Developer Masterclass
What do you think?
/r/djangolearning
https://redd.it/1iba6hp
Udemy
Django 4 and Python Full-Stack Developer Masterclass
Learn the entire technology stack to create beautiful and responsive websites with Python and Django!
How to build AI Agents with Django
I have written an article on how to build AI Agents with Django using Celery and redis as a broker. I explain how to communicate with a frontend server in real time with channels (websockets)
https://medium.com/@cubode/how-to-build-ai-agents-with-django-5abf1b228e00
Hope you enjoy it :) Ask me if you would like something more detailed
/r/django
https://redd.it/1ib7xht
I have written an article on how to build AI Agents with Django using Celery and redis as a broker. I explain how to communicate with a frontend server in real time with channels (websockets)
https://medium.com/@cubode/how-to-build-ai-agents-with-django-5abf1b228e00
Hope you enjoy it :) Ask me if you would like something more detailed
/r/django
https://redd.it/1ib7xht
Medium
How to build AI Agents with Django
The intersection of artificial intelligence and web development has opened the doors to creating smarter, more interactive applications. AI…
Question about implementation of sending emails
I'm creating a web application following Miguel's mega-tutorial.
I'm on lesson 7 and I've encountered a problem: for some reason, despite having intentionally caused an error in my site, no message appears in the second terminal where aiosmtpd is running.
I don't understand why nothing appears. These are my bits of code that I used to try to make this stuff work:
in config file:
import os
basedir = os.path.abspath(os.path.dirname(__file__)) # Questa variabile immagazzina il percorso della directory principale sottoforma di stringa
class Config:
SECRET_KEY = os.environ.get('SECRET_KEY') or b'mykey'
SQLALCHEMY_DATABASE_URI = os.environ.get('DATABASE_URL') or \
'sqlite:///' + os.path.join(basedir, 'app.db')
MAIL_SERVER = os.environ.get('MAIL_SERVER')
MAIL_PORT = int(os.environ.get('MAIL_PORT') or 25)
MAIL_USE_TLS = os.environ.get('MAIL_USE_TLS') is not None
MAIL_USERNAME = os.environ.get('MAIL_USERNAME')
MAIL_PASSWORD = os.environ.get('MAIL_PASSWORD')
ADMINS = ['mymail@example.com']
in init file:
/r/flask
https://redd.it/1ibjlyy
I'm creating a web application following Miguel's mega-tutorial.
I'm on lesson 7 and I've encountered a problem: for some reason, despite having intentionally caused an error in my site, no message appears in the second terminal where aiosmtpd is running.
I don't understand why nothing appears. These are my bits of code that I used to try to make this stuff work:
in config file:
import os
basedir = os.path.abspath(os.path.dirname(__file__)) # Questa variabile immagazzina il percorso della directory principale sottoforma di stringa
class Config:
SECRET_KEY = os.environ.get('SECRET_KEY') or b'mykey'
SQLALCHEMY_DATABASE_URI = os.environ.get('DATABASE_URL') or \
'sqlite:///' + os.path.join(basedir, 'app.db')
MAIL_SERVER = os.environ.get('MAIL_SERVER')
MAIL_PORT = int(os.environ.get('MAIL_PORT') or 25)
MAIL_USE_TLS = os.environ.get('MAIL_USE_TLS') is not None
MAIL_USERNAME = os.environ.get('MAIL_USERNAME')
MAIL_PASSWORD = os.environ.get('MAIL_PASSWORD')
ADMINS = ['mymail@example.com']
in init file:
/r/flask
https://redd.it/1ibjlyy
Reddit
From the flask community on Reddit
Explore this post and more from the flask community
Tuesday Daily Thread: Advanced questions
# Weekly Wednesday Thread: Advanced Questions 🐍
Dive deep into Python with our Advanced Questions thread! This space is reserved for questions about more advanced Python topics, frameworks, and best practices.
## How it Works:
1. **Ask Away**: Post your advanced Python questions here.
2. **Expert Insights**: Get answers from experienced developers.
3. **Resource Pool**: Share or discover tutorials, articles, and tips.
## Guidelines:
* This thread is for **advanced questions only**. Beginner questions are welcome in our [Daily Beginner Thread](#daily-beginner-thread-link) every Thursday.
* Questions that are not advanced may be removed and redirected to the appropriate thread.
## Recommended Resources:
* If you don't receive a response, consider exploring r/LearnPython or join the [Python Discord Server](https://discord.gg/python) for quicker assistance.
## Example Questions:
1. **How can you implement a custom memory allocator in Python?**
2. **What are the best practices for optimizing Cython code for heavy numerical computations?**
3. **How do you set up a multi-threaded architecture using Python's Global Interpreter Lock (GIL)?**
4. **Can you explain the intricacies of metaclasses and how they influence object-oriented design in Python?**
5. **How would you go about implementing a distributed task queue using Celery and RabbitMQ?**
6. **What are some advanced use-cases for Python's decorators?**
7. **How can you achieve real-time data streaming in Python with WebSockets?**
8. **What are the
/r/Python
https://redd.it/1ibo7qe
# Weekly Wednesday Thread: Advanced Questions 🐍
Dive deep into Python with our Advanced Questions thread! This space is reserved for questions about more advanced Python topics, frameworks, and best practices.
## How it Works:
1. **Ask Away**: Post your advanced Python questions here.
2. **Expert Insights**: Get answers from experienced developers.
3. **Resource Pool**: Share or discover tutorials, articles, and tips.
## Guidelines:
* This thread is for **advanced questions only**. Beginner questions are welcome in our [Daily Beginner Thread](#daily-beginner-thread-link) every Thursday.
* Questions that are not advanced may be removed and redirected to the appropriate thread.
## Recommended Resources:
* If you don't receive a response, consider exploring r/LearnPython or join the [Python Discord Server](https://discord.gg/python) for quicker assistance.
## Example Questions:
1. **How can you implement a custom memory allocator in Python?**
2. **What are the best practices for optimizing Cython code for heavy numerical computations?**
3. **How do you set up a multi-threaded architecture using Python's Global Interpreter Lock (GIL)?**
4. **Can you explain the intricacies of metaclasses and how they influence object-oriented design in Python?**
5. **How would you go about implementing a distributed task queue using Celery and RabbitMQ?**
6. **What are some advanced use-cases for Python's decorators?**
7. **How can you achieve real-time data streaming in Python with WebSockets?**
8. **What are the
/r/Python
https://redd.it/1ibo7qe
Discord
Join the Python Discord Server!
We're a large community focused around the Python programming language. We believe that anyone can learn to code. | 412982 members
Spend lots of time and effort with this python project. I hope this can be of use to anyone.
https://github.com/irfanbroo/Netwarden
What my project does
What it does is basically captures live
network traffic using Wireshark, analyzing packets for suspicious activity such as malicious DNS queries, potential SYN scans,, and unusually large packets. By integrating Nmap, It also performs vulnerability scans to assess the security of networked systems, helping detect potential threats. I also added netcat, nmap arm spoofing detection etc.
Target audience
This is targeted mainly for security enthusiasts for those people who wants to check their network for any malicious activities
Comparison
I tried to integrate all the features I can find into this one script which can save the hassle of using different services to check for different attacks and malicious activities
I would really appreciate any contributions or help regarding optimising the code further and making it more cleaner. Thanks 👍🏻
/r/Python
https://redd.it/1ibg5co
https://github.com/irfanbroo/Netwarden
What my project does
What it does is basically captures live
network traffic using Wireshark, analyzing packets for suspicious activity such as malicious DNS queries, potential SYN scans,, and unusually large packets. By integrating Nmap, It also performs vulnerability scans to assess the security of networked systems, helping detect potential threats. I also added netcat, nmap arm spoofing detection etc.
Target audience
This is targeted mainly for security enthusiasts for those people who wants to check their network for any malicious activities
Comparison
I tried to integrate all the features I can find into this one script which can save the hassle of using different services to check for different attacks and malicious activities
I would really appreciate any contributions or help regarding optimising the code further and making it more cleaner. Thanks 👍🏻
/r/Python
https://redd.it/1ibg5co
GitHub
GitHub - irfanbroo/Netwarden: Work in progress, as of now, it captures live network traffic using Wireshark, analyzing packets…
Work in progress, as of now, it captures live network traffic using Wireshark, analyzing packets for suspicious activity such as malicious DNS queries, potential SYN scans, and unusually large pack...
Google Search introduced JavaScript
Has anyone figured out how to get data from the first page of Google search results now? Selenium?
BeautifulSoup seemed to do the job just fine (like getting headers of search results).
Now apparently a bare minimum would be Selenium to mimic user interface interaction.
But it still don't seem to accomplish that.
Although this is introduced:
driver.implicitly_wait(30)
and
profile.set_preference("javascript.enabled", True)
Overall it looks something like
profile = webdriver.FirefoxProfile()
profile.set_preference("general.useragent.override", "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0")
profile.set_preference("javascript.enabled", True)
broswer = webdriver.Firefox(profile)
broswer.get('https://Google.xyz xyz xyz')
driver.implicitly_wait(1000)
soup = BeautifulSoup(driver.page_source,'html.parser')
print(soup)
Is that suffice? Or supposed to be suffice?
/r/Python
https://redd.it/1ibu91r
Has anyone figured out how to get data from the first page of Google search results now? Selenium?
BeautifulSoup seemed to do the job just fine (like getting headers of search results).
Now apparently a bare minimum would be Selenium to mimic user interface interaction.
But it still don't seem to accomplish that.
Although this is introduced:
driver.implicitly_wait(30)
and
profile.set_preference("javascript.enabled", True)
Overall it looks something like
profile = webdriver.FirefoxProfile()
profile.set_preference("general.useragent.override", "Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Firefox/38.0")
profile.set_preference("javascript.enabled", True)
broswer = webdriver.Firefox(profile)
broswer.get('https://Google.xyz xyz xyz')
driver.implicitly_wait(1000)
soup = BeautifulSoup(driver.page_source,'html.parser')
print(soup)
Is that suffice? Or supposed to be suffice?
/r/Python
https://redd.it/1ibu91r
Reddit
From the Python community on Reddit
Explore this post and more from the Python community
Lost $25k usd and access to my web app
I have a Django Web Application built on 5.0.6
I was "partnered" with an individual. This individual more or less has stripped me of a little over $25,000 in revenue, has added another developer to the hosting platform (DigitalOcean).
I reached out to DigitalOcean explaining the situation and they said their was nothing they could do without details I don't have access to.
Lesson learned the hard way.
I spent around 9 months building this project from nothing. I have reached out to a lawyer and the lawyer has verified that I do own 100% of it. (I just wanted to be certain.)
I've exhausted every method I know to get administrative access back but I've ran out of options. I created a script in one of the app.py files to create a new user and promote them to superuser. The new developer turned off autodeploy from my repo so I cant modify it the actual django app that is running anymore.
How can I create an admin account without console access?
What should I do?
I've tried everything I know.
Please help.
Update #1
Lawyer said to go ahead and file a DMCA Claim to DO. Lawyer will contacting the parties in the AM. I appreciate everyone's
/r/django
https://redd.it/1ibocln
I have a Django Web Application built on 5.0.6
I was "partnered" with an individual. This individual more or less has stripped me of a little over $25,000 in revenue, has added another developer to the hosting platform (DigitalOcean).
I reached out to DigitalOcean explaining the situation and they said their was nothing they could do without details I don't have access to.
Lesson learned the hard way.
I spent around 9 months building this project from nothing. I have reached out to a lawyer and the lawyer has verified that I do own 100% of it. (I just wanted to be certain.)
I've exhausted every method I know to get administrative access back but I've ran out of options. I created a script in one of the app.py files to create a new user and promote them to superuser. The new developer turned off autodeploy from my repo so I cant modify it the actual django app that is running anymore.
How can I create an admin account without console access?
What should I do?
I've tried everything I know.
Please help.
Update #1
Lawyer said to go ahead and file a DMCA Claim to DO. Lawyer will contacting the parties in the AM. I appreciate everyone's
/r/django
https://redd.it/1ibocln
Reddit
From the django community on Reddit
Explore this post and more from the django community
Super Simple Python From Anywhere Task Runner
https://github.com/Sinjhin/scripts
What my project does
I whipped this up real quick for myself.
Seems pretty powerful. After I was done I took a brief look around realizing I could have just used someone else's tool and didn't immediately see anything like this. It's a bit opinionated, but essentially lets you use python scripts from a directory from anywhere on your computer. Could replace bash/zsh if you wanted.
After setup, you make a python file. Add a Poe task to pyproject.toml and then you can do `p <poe_task>` from anywhere. Has an example of getting different location relative to where the script was ran. Also has an `hp` command to get into a set conda venv and run a Poetry command within that scripts dir like `hp add torch`.
Could be expanded on a lot actually.
Target audience
Anyone who finds themselves constantly writing little utility functions to use around their computer and needing a quick way to run them from anywhere.
Comparison
I looked briefly (after the fact) and saw things like Invoke or Fabric, but I am not sure that they handle venv switching.
/r/Python
https://redd.it/1ibq4jx
https://github.com/Sinjhin/scripts
What my project does
I whipped this up real quick for myself.
Seems pretty powerful. After I was done I took a brief look around realizing I could have just used someone else's tool and didn't immediately see anything like this. It's a bit opinionated, but essentially lets you use python scripts from a directory from anywhere on your computer. Could replace bash/zsh if you wanted.
After setup, you make a python file. Add a Poe task to pyproject.toml and then you can do `p <poe_task>` from anywhere. Has an example of getting different location relative to where the script was ran. Also has an `hp` command to get into a set conda venv and run a Poetry command within that scripts dir like `hp add torch`.
Could be expanded on a lot actually.
Target audience
Anyone who finds themselves constantly writing little utility functions to use around their computer and needing a quick way to run them from anywhere.
Comparison
I looked briefly (after the fact) and saw things like Invoke or Fabric, but I am not sure that they handle venv switching.
/r/Python
https://redd.it/1ibq4jx
GitHub
GitHub - Sinjhin/scripts: A repo for keeping utility scripts in my home dir and using python as shell... probably.
A repo for keeping utility scripts in my home dir and using python as shell... probably. - Sinjhin/scripts
Python 1.0.0, released 31 years ago today
Python 1.0.0 is out!
https://groups.google.com/g/comp.lang.misc/c/\_QUzdEGFwCo/m/KIFdu0-Dv7sJ?pli=1
>\--> Tired of decyphering the Perl code you wrote last week?
>\--> Frustrated with Bourne shell syntax?
>\--> Spent too much time staring at core dumps lately?
>Maybe you should try Python...
\~ Guido van Rossum
/r/Python
https://redd.it/1ibxols
Python 1.0.0 is out!
https://groups.google.com/g/comp.lang.misc/c/\_QUzdEGFwCo/m/KIFdu0-Dv7sJ?pli=1
>\--> Tired of decyphering the Perl code you wrote last week?
>\--> Frustrated with Bourne shell syntax?
>\--> Spent too much time staring at core dumps lately?
>Maybe you should try Python...
\~ Guido van Rossum
/r/Python
https://redd.it/1ibxols
Reddit
From the Python community on Reddit
Explore this post and more from the Python community
Django Channels: Asynchronous Magic for Real-Time Applications 🚀
Ever wondered how to build real-time features like chat applications, notifications, or live updates in your Django project? Django Channels makes it possible by bringing asynchronous capabilities to Django.
I’ve been working on this Django-Channels repository to make it easier for developers to understand and implement these real-time features. 🎯
🔗 Check it out here:
GitHub Repository
✨ If you find it helpful, please show your support by giving the repo a ⭐ and following me on GitHub. Every star and follow encourages me to create more helpful resources for the community! 🙌
Let’s keep building awesome projects and pushing boundaries together. 💻💡
/r/django
https://redd.it/1ibx9qg
Ever wondered how to build real-time features like chat applications, notifications, or live updates in your Django project? Django Channels makes it possible by bringing asynchronous capabilities to Django.
I’ve been working on this Django-Channels repository to make it easier for developers to understand and implement these real-time features. 🎯
🔗 Check it out here:
GitHub Repository
✨ If you find it helpful, please show your support by giving the repo a ⭐ and following me on GitHub. Every star and follow encourages me to create more helpful resources for the community! 🙌
Let’s keep building awesome projects and pushing boundaries together. 💻💡
/r/django
https://redd.it/1ibx9qg
GitHub
GitHub - Matu-sunuwawa/Django-Channels
Contribute to Matu-sunuwawa/Django-Channels development by creating an account on GitHub.
Terminal based Python debuggers
Are there any TUI python debuggers? I found a couple hobby projects but they seem WIP/unmaintained.
Ideally, it should replicate vscode debugger like being able to
EDIT: I'm aware of pdb/pdb++/ipython. I'm specifically asking for alternatives to these that are more graphical.
/r/Python
https://redd.it/1iby62a
Are there any TUI python debuggers? I found a couple hobby projects but they seem WIP/unmaintained.
Ideally, it should replicate vscode debugger like being able to
watch expressions etc.EDIT: I'm aware of pdb/pdb++/ipython. I'm specifically asking for alternatives to these that are more graphical.
/r/Python
https://redd.it/1iby62a
Reddit
From the Python community on Reddit
Explore this post and more from the Python community
Day 2: Building Expense Tracker App
Hey everyone 👋
I'm currently working on an Expense Tracker App to learn how to display data on graphs using Chart.js. It's been a fun project so far, and I've made a few updates:
1. User-friendly interface: I focused on creating a more intuitive experience to keep users engaged.
2. Dismissible messages: Users are now better informed about their post progress with helpful notifications.
3. Robust error handling: Errors are now handled gracefully, preventing any app crashes.
4. Data persistence: Users won’t have to re-enter data when they encounter an error — it's saved for them!
This project has been a great opportunity to focus more on UI/UX instead of my usual backend-heavy approach, and I’ve learned a lot in the process.
View project on GitHub
If you're new to Django or looking for a fun project, why not give this a try? You’ll find a full description in the repo.
For my previous post **click here**
https://preview.redd.it/3w6oysi6dqfe1.png?width=2496&format=png&auto=webp&s=93deeb48f3fe9ca4fef43a9d12ed1b6141a2484c
https://preview.redd.it/arsi2859dqfe1.jpg?width=751&format=pjpg&auto=webp&s=20bc5fae30bc8cbbed3d91d4820840086f319d59
https://preview.redd.it/enjc8759dqfe1.jpg?width=747&format=pjpg&auto=webp&s=71685691d986318001575b11a3f97cb46410ad77
https://preview.redd.it/iapym759dqfe1.jpg?width=709&format=pjpg&auto=webp&s=2e1ca5f1879f1a3053e5a29db037f386195e02cb
/r/django
https://redd.it/1ic0pwv
Hey everyone 👋
I'm currently working on an Expense Tracker App to learn how to display data on graphs using Chart.js. It's been a fun project so far, and I've made a few updates:
1. User-friendly interface: I focused on creating a more intuitive experience to keep users engaged.
2. Dismissible messages: Users are now better informed about their post progress with helpful notifications.
3. Robust error handling: Errors are now handled gracefully, preventing any app crashes.
4. Data persistence: Users won’t have to re-enter data when they encounter an error — it's saved for them!
This project has been a great opportunity to focus more on UI/UX instead of my usual backend-heavy approach, and I’ve learned a lot in the process.
View project on GitHub
If you're new to Django or looking for a fun project, why not give this a try? You’ll find a full description in the repo.
For my previous post **click here**
https://preview.redd.it/3w6oysi6dqfe1.png?width=2496&format=png&auto=webp&s=93deeb48f3fe9ca4fef43a9d12ed1b6141a2484c
https://preview.redd.it/arsi2859dqfe1.jpg?width=751&format=pjpg&auto=webp&s=20bc5fae30bc8cbbed3d91d4820840086f319d59
https://preview.redd.it/enjc8759dqfe1.jpg?width=747&format=pjpg&auto=webp&s=71685691d986318001575b11a3f97cb46410ad77
https://preview.redd.it/iapym759dqfe1.jpg?width=709&format=pjpg&auto=webp&s=2e1ca5f1879f1a3053e5a29db037f386195e02cb
/r/django
https://redd.it/1ic0pwv
GitHub
GitHub - keith244/Expense-Tracker: This is an expense tracking app. It helps track your expenses and displays them on a graph.
This is an expense tracking app. It helps track your expenses and displays them on a graph. - keith244/Expense-Tracker
Windows Hotspot
I am trying to run my web app via my windows hotspot on my laptop but the application seems unable to listen on the hotspot. I have tried listening on my laptops hotspot interface (
/r/flask
https://redd.it/1ibylju
I am trying to run my web app via my windows hotspot on my laptop but the application seems unable to listen on the hotspot. I have tried listening on my laptops hotspot interface (
192.168.137.1) and all interfaces (0.0.0.0) when listening on all interfaces my hotspot interface does not appear in the list. Is there a way to resolve this? Would this application work on the hotspot from a Raspberry Pi? Happy to provide selected code snippets as required but much of the code is sensitive so won't be uploaded in an uncensored form./r/flask
https://redd.it/1ibylju
Reddit
From the flask community on Reddit
Explore this post and more from the flask community
Can't make Nginx see Gunicorn socket. Please help.
Hi all.
I´m trying to install a Nginx/Gunicorn/Flask app (protocardtools is its name) in a local server following this tutorial.
Everything seems to work fine down to the last moment: when I run
Gunicorn seems to be running fine when I do
Contents of my
Contents of my
Can anyone please help me shed a light on this? Thank you so much in advance.
/r/flask
https://redd.it/1ic372l
Hi all.
I´m trying to install a Nginx/Gunicorn/Flask app (protocardtools is its name) in a local server following this tutorial.
Everything seems to work fine down to the last moment: when I run
sudo nginx -t I get the error "/etc/nginx/proxy_params" failed (2: No such file or directory) in /etc/nginx/conf.d/protocardtools.conf:22Gunicorn seems to be running fine when I do
sudo systemctl status protocardtoolsContents of my
/etc/nginx/conf.d/protocardtools.conf:server {
listen 80;
server_name cards.proto.server;
location / {
include proxy_params;
proxy_pass http://unix:/media/media/www/www-protocardtools/protocardtools.sock;
}
}
Contents of my
/etc/systemd/system/protocardtools.service:[Unit]
Description=Gunicorn instance to serve ProtoCardTools
After=network.target
[Service]
User=proto
Group=www-data
WorkingDirectory=/media/media/www/www-protocardtools
Environment="PATH=/media/media/www/www-protocardtools/venv/bin"
ExecStart=/media/media/www/www-protocardtools/venv/bin/gunicorn --workers 3 --bind unix:protocardtools.sock -m 007 wsgi:app
[Install]
WantedBy=multi-user.target
Can anyone please help me shed a light on this? Thank you so much in advance.
/r/flask
https://redd.it/1ic372l
Digitalocean
How To Serve Flask Applications with Gunicorn and Nginx on Ubuntu 22.04 | DigitalOcean
In this guide, you will build a Python application using the Flask microframework on Ubuntu 22.04. The majority of this tutorial is about how to set up the …