Adding table to product model
Reddit » Django
by /u/Fit-Refrigerator495
7h ago
Can I add a table to the model of my product? I want it so it can show a certain characteristic of the product in goo alignment. It would would have an uncertain number of lines with 3 columns. submitted by /u/Fit-Refrigerator495 [visit reddit] [comments ..read more
Visit website
Definitely something worth looking into: Building a Voice Notes App with Django and OpenAI
Reddit » Django
by /u/fullybearded_
7h ago
submitted by /u/fullybearded_ [visit reddit] [comments ..read more
Visit website
Integrating Recurrence Support in Django with DRF
Reddit » Django
by /u/YOseSteveDeEng
7h ago
Hey Django Community! I’m currently working on a project where I need to add recurrence support to my Django model, specifically to schedule Celery beat tasks via client-side requests. I've been exploring some third-party packages, and found `django-recurrence` (https://github.com/jazzband/django-recurrence), which looks promising. However, I hit a roadblock because `django-recurrence` doesn't seem to offer out-of-the-box support for serializing the recurrence data with Django Rest Framework (DRF). My application is strictly API-driven, and this lack of serialization or `to_json` support has ..read more
Visit website
Problem with a project
Reddit » Django
by /u/Intelligent_Cat_1109
7h ago
Hello guys, this question maybe is stupid but I don't find the reason of the fail, this is the context I'm developing a project with websocket, channels and daphne the chat project and videocall project was working well I continue working with the protocol WebRTC but something happend with my computar that turn off, and since that the project stop working, I don't any visible error I log and code was working. I suspect that mayne the Redis server goes down but continue working, I did different troubleshutings but is not working any recomendation is welcome ! Thank you submitted by /u/Intelli ..read more
Visit website
Django CI/CD gh actions/migrations
Reddit » Django
by /u/dark-lord-marshal
7h ago
Hi, I am going to build a CI/CD on top of Github actions. The branching model Gitflow (I think it's not the trend these days), anyways, can someone point/enlighten me how to deal with the db migration part? Must be a manual step? before/after the merge approval? thanks in advance for your tips ? submitted by /u/dark-lord-marshal [visit reddit] [comments ..read more
Visit website
Livestream: Django Trends for 2024
Reddit » Django
by /u/dwaxe
7h ago
submitted by /u/dwaxe [visit reddit] [comments ..read more
Visit website
Frontend (Javascript) connecting with Backend(Python, Django): Failed to load resource: the server responded with a status of 500 (Internal Server Error)
Reddit » Django
by /u/Pytech95
7h ago
I am developing a E-commerce web application. Frontend - Javascript, React, HTML, CSS Backend - Python, Django, MySQL While the user trying to signup it is showing an error with a status of 500 (Internal Server Error). Please help me to resolve this error. Views.py https://preview.redd.it/2948ze4oojwc1.png?width=1760&format=png&auto=webp&s=5c1620eff9ea25ce02583e0b5f3b8aaa8d36e411 https://preview.redd.it/uibfic4oojwc1.png?width=2038&format=png&auto=webp&s=1dbf6b253ae874697f0f309550a0005e38eea135 AuthModal.js https://preview.redd.it/o7034fjrojwc1.png?width=2080&forma ..read more
Visit website
So I'm creating a odd one out game.
Reddit » Django
by /u/Difficult_Web7261
7h ago
Basically user are presented with four pics , one being the odd one when user selects the odd picture score gets increased by 1. The problem I'm having is I'm sending 4 pics with one odd picture to the template . the template picks the same ids of 3 pictures but the id of odd picture is random (i want odd picture's id to be same as odd picture id). view.py is: def odd_one_out_game(request): # Get a random country country = random.choice(Country.objects.all()) print("Selected country:", country) # Get three random pictures from the selected country pictures = list(Picture.objects.filter(count ..read more
Visit website
Database solutions
Reddit » Django
by /u/0neaLL
7h ago
I’ve been exploring database solutions that offer global low latency and are compatible with Django. CockroachDB is great, but it doesn't support the regions available on Fly.io, where I deploy my apps. I mostly use PostgreSQL, but it feels kind of lackluster for global deployments. I like the idea of deploying containers globally on an edge-type network like Fly, but the database always ends up being the bottleneck. I think using embedded SQLite with LiteFS to sync is cool, but it obviously has its limits in the long run. There’s a project integrating Turso with Django that could make SQLite ..read more
Visit website
Did Django remove their suggestion to extend line length to 119?
Reddit » Django
by /u/WarmCacti
7h ago
I can't find that quote anymore in their docs. submitted by /u/WarmCacti [visit reddit] [comments ..read more
Visit website

Follow Reddit » Django on FeedSpot

Continue with Google
Continue with Apple
OR