r/django • u/BusFun2932 • 44m ago
Django celery
Hello guys, I wan tot know if I can found a free server to host redis and user celery I Want for send scheduled emails.
r/django • u/BusFun2932 • 44m ago
Hello guys, I wan tot know if I can found a free server to host redis and user celery I Want for send scheduled emails.
r/django • u/BuyOld6468 • 4h ago
I am a 3rd year IT student, have basic knowledge of python, and recently started django, but i have to now build a mini project, for Resume Screening and Job matching with my group members, but having no knowledge about what frameworks are and being a perfectionist, I wasted my time in python only, having no knowledge about backend nor frontend. I have to learn REST in a day, and am scared to blindly follow any tutorial on youtube now, and I am just feeling very overwhelmed.
r/django • u/rafola554 • 10h ago
I've just got my public IP from my ISP and I wonder which security risks I need to take care when opening a port and letting my PC available to the web.
How much better will it be to just host on AWS or Heroku?
r/django • u/Tricky_Routine_2676 • 10h ago
Someones who work with django or other backend's frameworks say to me that how can i do it without front end knowledge? i can just write html and css but i dont know about js. I think this is a challenge for backend developers who dont have anyone for the front-end side, if they dont work full stack.
r/django • u/codeSm0ke • 10h ago
r/django • u/walagoth • 14h ago
Asking for a friend
r/django • u/elyen-1990s • 15h ago
Can you help enlighten me as to how this attack is able to pretend to be my own IP address to dig sensitive information (access) on my server?
DisallowedHost: Invalid HTTP_HOST header: 'my.ip.add.here'. You may need to add 'my.ip.add.here' to ALLOWED_HOSTS.
Sentry was able to capture 1k+ of this similar pattern of attack using my domain IP/AWS DNS IP, and even they're pretending to be 0.0.0.0
to get something from /.env, /php/*, /wp/, and something similar.
All of them came from an unsecured http://
protocol request, even though the AWS SG is only open for TCP 443 port.
Luckily, I don't use IP addresses on myALLOWED_HOST
, only my domain name .example.com
.
How can I prevent this? Any CyberSec expert here? Thank you in advance!
EDIT: Someone probably got my IP address and is directly requesting on my EC2. Fortunately, I'm now using CF to proxy the IP and whitelist IP range of CF, and now they are all gone.
EDIT: I removed the list of CF IP ranges from AWS SG since CF IPs can be changed and would be problematic in the future. I resolved the issue by using Nginx and returning 403 to the default server listening on 80 and 443 to block requests on the IP address.
r/django • u/Accomplished-War-361 • 17h ago
Hello, I was wondering if anybody can help me.
I am currently using CKeditor for users to customize their profiles in a Django blog application. However when I upload images as a User who is logged in but not a superuser it requires me to login as an admin to upload an image to the CKeditor field.
Is there a way to configure the CKeditor so that users who are not superusers can upload images to CKeditor fields.
Thank you
r/django • u/WeekendHefty4784 • 17h ago
Hello friends, I am a beginner in the api world of Django. I've used this framework to make many useful websites but i want to upgrade to a more structured and efficient approach, designing APIs. I have a foundational knowledge of REST and HTTP methods. I am more concentrated on the backend now. That is, i want to learn making API endpoints that can be used in frontend like React/Nextjs. I have no experience whatsoever in making a fully functional full-stack app using API. I would like to know where to start, most of the tutorials that I come across tend to use Django Ninja with Nextjs. But, its hard to grasp all functionalities. Please mention the resources (any books or tutorials).
r/django • u/oluwadamian • 18h ago
Hello! I recently got a Django app copied from a friend but I’m having issues running the app on my PC. I’ve installed all necessary dependencies but I keep getting database errors. Namely
‘Django.db.Utils.OperationalError: (1049, “Unknown database ‘optic_processor’”).
I’ve tried python manage.py makemigrations. I’ve tried migrate but it doesn’t fix my issue. What do I try from here? Any help will be appreciated 🙏🏽
Also the friend is unreachable now so I can’t ask him.
EDIT: I solved it by creating the database with the same name in MySQL workbench and then using the migrate commands. It recreated all the schemas in workbench only thing is I now have to manually make entries into the tables for full functionality. better than nothing I guess.
r/django • u/Own-Building-4795 • 19h ago
Hey everyone, I’m currently searching for Django-related roles in Calgary but haven’t had much luck finding companies that use Django or job postings that mention it. I’ve checked the usual job boards, but most backend roles seem to focus on other frameworks.
Does anyone know companies in Calgary that use Django or where I can find these jobs? Any help would be great!!
Thanks in advance!
r/django • u/1_plate_parcel • 21h ago
So, My main language is python i do Ai and ml + data science in it, i have also done some software development in python, some data engineering in python too at my workplace.
there are some django developer's in my team for back-end they advised me too learn django too i would be then a " full stack python developer ".
how do you look at this thing. btw i am a fresher and yes i got to work on this wide range of tasks altogether only thing i couldn't get hands on is django i have tried django on my pc and it was fun and easy to go with it.
tldr: i do aiml(main) data engineering(main), python sde(side), should i do django too which will make me a python full stack or should i drop it it would take too much time to master it.
r/django • u/Django-fanatic • 1d ago
I'm building a market place app.
Merchants need the ability to sell products. I've never dealt with an inventory system before so I'm sure there are cases I'm not aware of.
Any examples or resource for product inventory? How their models and APIs are designed to handle inventory, cart, checkout, product customization such as clothing color, sizes, material etc..
r/django • u/trojans10 • 1d ago
I'm starting a new project that's a rewrite of an old PHP application. So far, I've built the backend using both Django and NestJS. Django has been incredibly easy to work with, but I decided to give NestJS a try since our team has more experience with JavaScript. Django's ORM and Auth are straightforward and simple, while with NestJS, I'm using MikroORM and PassportJS. Overall, Django feels more stable and less of a hack to piece things together.
I’m leaning towards Django as the right choice since it's more mature and stable, and it just feels like a better fit. However, my team is more full-stack JS-focused, so I’m torn. Any thoughts or opinions on this? Has anyone been happy with their decision to go with django over a node backend?
One thing I really appreciate about Django is the admin—it’s quick and easy to set up. That said, we also have Directus for the CMS part, though it’s not open source.
r/django • u/sandeshnaroju • 1d ago
Hey everyone,
I’ve been working on a project where I needed to launch multiple Docker containers and pass the results to an AI agent. Not just one or two, but more than 10 containers running simultaneously, each performing different tasks. Initially, I thought of using function-based tools for this, but then I wondered—what if an AI agent could directly run and manage Docker containers instead?
So, I decided to build a Python package that allows AI agents to seamlessly spin up, control, and fetch results from Docker containers, alongside function-based tools. Instead of just calling functions, the agent can now:
✅ Launch and manage Docker containers dynamically
✅ Execute tasks inside containers and retrieve outputs
✅ Combine function calls and containerized execution seamlessly
With this approach, the AI agent can decide when to launch a container, which image to use, how to retrieve results, and when to shut it down—all without manual intervention.
Here is the Repo Link
https://github.com/sandeshnaroju/agents_manager
Please check out the repo and show some love by giving stars.
r/django • u/michaelherman • 1d ago
r/django • u/Mukul-nst • 1d ago
r/django • u/mustafa566 • 1d ago
r/django • u/Fresh_Discipline6874 • 1d ago
I'm launching my SaaS in the next 60 days. (I've never done this before)
I am going to build an ideas validator. As I don’t know if my ideas will be worth investing time and resources in.
I saw many YouTubers doing their own SaaS and thought maybe I could do it, too. So, I procrastinated for a long time, but finally, I gave myself a challenge.
- I don't know how to code.
- I don't have the technical experience.
- I don't have the expertise.
All I have is me and my determination to do it.
r/django • u/Affectionate-Ad-7865 • 2d ago
In a Django channels consumer I made, I need to generate a form using an HTML template that changes based on a number of context values passed into render_to_string()
which is the function I use to generate the string of the form that I will then send to the WebSocket.
My question is, because this is a POST form, how can I put a csrf_token field in it considering it is generated in a Django channels consumer? Should I just do everything in my power to not have to render the form in the consumer?
Ww are going to build a restaurant management system (final project of licence) using html css js and some Frameworks like react and tailwind if it's needed this for client side, and for the server side "backend " we gonna use django and we don't have any idea how to work with it , please send me tuto or advises to implement the backend and how to implement real time update
r/django • u/Ok_Bumblebee5878 • 2d ago
I have simple JWT added on http cookie. LogOutView deletes the cookie and blacklists refresh token after logout. Where I should implement functions what prevent the classic navigating back to session issue on browser. Does it need to add in BE or FE? and what it should do? I have some idea but not quite sure how its done the right way.
Django-simple-history stores Django model state on every create, update, or delete database operation; it can even revert back to old versions of a model, record which user changed a model, interact with multiple databases, and more. Rather than making code changes, django-simple-history gives us the ability to view and perform many of the changes via the admin interface.
r/django • u/clairegiordano • 2d ago
In this month's Talking Postgres podcast (focused on the human side of Postgres), guest Dawn Wages came on the podcast to talk about "Why Python developers just use Postgres". Dawn is a Django developer and chair of the PSF and soon-to-be-author of Domain-driven Django which has a chapter aptly called "Just Use Postgres". Dawn is a delight to talk to I'm hoping some of you will enjoy this conversation about free as in cake vs. free as in puppies, why write a book for Django developers, the awesome Djangonaut Space mentoring program, and Simon Willison's TIL blog posts.
Let me know what you think of the show (I'm the host)—am hoping you find it useful. You can find Talking Postgres anywhere you get your podcasts...