Reddit » Django
0 FOLLOWERS
Reddit gives you the best of the internet in one place. Get a constantly updating feed of breaking news, stories, pictures and videos about Django, a web development framework.
Reddit » Django
15h ago
Hello everyone!
I have a Django app where I send emails with Anymail and Sendgrid. I noticed that when sending emails with merge data, the merge data variables aren't validated. This is an issue because I could mistype a variable name or forget to add a variable and I won't notice that there is an issue with email.
I want to make sure all merge data variables are provided correctly. Is this possible?
Thanks for your help!
submitted by /u/Hewett555
[visit reddit] [comments ..read more
Reddit » Django
15h ago
My django app saves user-uploaded files to my s3 bucket in DigitalOcean Spaces(using django-storages[s3], which is based on amazon-s3) and the path to the file is saved in my database. However when I click the url in located in the database it leads me to a page with this error: The request signature we calculated does not match the signature you provided. Check your key and signing method.
The actual url, for example, looks something like this: https://my-spaces.nyc3.digitaloceanspaces.com/media/uploads/Recording_2.mp3?AWSAccessKeyId=DO009ABCDEFGH&Signature=Y9tn%2FTZa6sVlGGZSU77tA%3D& ..read more
Reddit » Django
15h ago
I hope this is the correct place for this, but as a beginner I'm not sure enough of what the problem is, let alone the solution!
I want to make a form with the following features:
A Yes/No radio button
If No is selected, a further three options are revealed, one of which must be chosen.
A submit button. Either the Yes must be selected, or No and one of the three options.
Here is the HTML I have to far, based on Bootstrap 5:
<div > <form action="{% url 'comms_tool_app:test' %}" method='post'> {% csrf_token %} <input type="radio" name="yesno" id="yes" autocomplete="off" requi ..read more
Reddit » Django
15h ago
Is there any way to create an authenticate system between django and mongodb? I know it is not supported since it is not a SQL, but this is my first project with django and at the beggining I didn't know that it is not compatible. Now I have an App to finish that needs an authenticate system with the database, and I've already done a big part of it with mongoengine.
submitted by /u/un_tio_mediocre
[visit reddit] [comments ..read more
Reddit » Django
15h ago
Hi - I am starting a new app based on DRF and React to be deployed on DO likely after being containerized with Docker
I haven't used DRF in while so wanted to see what folks recommend using for authentication libraries these days. I will need to build workflows for self service email sign-up (double opt in) and password reset. Don't need oauth integration immediately but will likely need it in the future particularly with Google. Leaning towards token based auth (vs. session based). Also will need to integrate payments in the future (if that is relevant)
Here are some options I see:
Simple ..read more
Reddit » Django
15h ago
This is going to be our first Python frontend - Django meeting. They will be held the first Sunday of the Month starting on June 2nd. We have other meetups that are held by our Python User Group. This first meeting will be more of getting to know what folks want to learn and share.
Join me at Python Frontend & Django Meetup https://meetu.ps/e/N7lG1/4KNmC/i
submitted by /u/hydromike420
[visit reddit] [comments ..read more
Reddit » Django
15h ago
So yesterday evening a recruiter called and asked my current responsibilities and sent an assesment after shortlisting. I've completed the assessment ASAP and the recruiter got back on WhatsApp after 15 min saying that they wanna schedule interview today itself. I prepared everything in django and DRF. While the interviewer just came with a word doc which has a table Schema and the discussion went from select * from table to cases and joins. The worst part here is I fumbled in joins, cause I even didn't had the time to prepare for SQL. After that he just asked some basic questions in django a ..read more
Reddit » Django
15h ago
Im following tutorial 2 of django channels. Im getting this error right now... Refer pic 1
Earlier when i was following the tutorial i could this command and got further and got an error of async_to_sync error... Refer pic 2.
submitted by /u/watermelonelyypeach
[visit reddit] [comments ..read more
Reddit » Django
15h ago
hello I would like to know if the Django community uses NextJS or not.
First of all, I think the battery is too heavy.
But maybe not.
I'm a NextJS developer and would like to explore Django. And I'm hesitant to stay on NextJS with it or move to HTMX.
submitted by /u/WilOnWeb
[visit reddit] [comments ..read more
Reddit » Django
15h ago
Hey Django Devs,
As a Student, I enjoy using the OneNote App because it comes preinstalled with the Office Pack, and after using it for 2.5 years I got bored with it and decided to make my own. That's how I created Timely, a user-friendly note-taking solution with All functional features some examples are reminders and easy notebook sharing.
For some fun I have also thought about how to promote it - Are you tired of complex note-taking apps or limited free versions? You can look no further than Timely, a sleek and efficient notebook app designed to make your daily notes without the hassle.
Th ..read more