Doragonsureiyā
It's not working
Please provide a full explanation including all the details that you consider relevant. Your statement is too broad and there is no clear way to answer you, you have to explain:
- what you're doing
- what you're expecting
- what you're using
- where you're running the script
- what Python version you're using
- what packages and their versions you're using
- and the most important thing: show the code YOU wrote (read rule 5️⃣ for that)
and more details, that way your chances to get help will increase
Naresh
I insert data into database and I need to redirect to list page but I use redirect function it's show undefined redirect in output and I use to import the redirect agian it's showing same error
Mirco
Naresh
In this group media access are not use how can I send the code my frnd
Sai
Anonymous
Sai
nope, redirect 😊
Sorry. The render is used to get back the data to HTML page correct.
Mirco
Naresh
It's work tq
mohamad
hey.. how can i filter for every element in list of strings?
Serkan
hi guys, I just started to learn infos about full-stack web development. What I have knowledge about
Python (intermediate), linux (beginner-inter), postgresql(beginner).
Now what I want to do is some sort of LAMP stack, but instead of php (wordpress) → python and django. And also instead of mysql → postgresql
Any suggestion, guide or starting point ?
Serkan
For example, do I have to use apache http server? or django can handle it self? is it possible to write some API for django and postgre?
Crygo
Serkan
What full-stack Django developer uses as an environment?
Crygo
Crygo
Serkan
Okay, it seems I have start from somewhere. There is lot's of things to cover.
Serkan
I can work with my computer via VirtualMachine
Serkan
I don't see any reason to use paid services, but thanks 👍
Adjetey
Hi guys
Please I need your help on something in relation to django email.
I created a contact form to submit questions from a landing page. The issue that i am facing is that when I send the email. I don't see the sender's email showing in the recipient inbox .
All I see is both the recipient and the sender's have the same email.
Please how do I solve this issue.
Thanks
ꜱᴀᴇᴇᴅ
Hello friends, is this (django-shopping-cart) package for shopping cart in Django good or not?
Has anyone used it?
Irteza
I need suggestions, if anyone working as research engineer in any MAANG or Open AI or some where else, pls reply?
Vedant
Hey I'm thinking of starting django rest frame work
Is there anything besides the basic that I need to know ?
Mirco
Adjetey
Hi guys
Please I need your help on something in relation to django email.
I created a contact form to submit questions from a landing page. The issue that i am facing is that when I send the email. I don't see the sender's email showing in the recipient inbox .
All I see is both the recipient and the sender's have the same email.
Please how do I solve this issue.
Thanks
Maxim
Adjetey
Adjetey
Mirco
Okay
with code sharing tools plz
Doragonsureiyā
Okay
To share code or error tracebacks, use a pasting service, like:
- https://linkode.org
- https://dpaste.org
Adjetey
Vedant
Adjetey
share your code which is related to it
from django.http.response import HttpResponse
from django.shortcuts import render
from django.core.mail import send_mail
from django.conf import settings
from Mingo_Blox.settings import EMAIL_HOST_USER
# Create your views here.
def index(request):
if request.method == 'POST':
name = request.POST['name']
from_email = request.POST['email']
subject = request.POST['subject']
message = request.POST['message']
send_mail(
subject,#subject
message,#message
from_email,#from
[settings.EMAIL_HOST_USER],#to
fail_silently=False)
return render(request, "mingo_blox/index.html")
Doragonsureiyā
Adjetey
Maxim
Adjetey
Adjetey
https://bin.kv2.dev/~61dc4170410e7c32e6697cb5
Adjetey
Adhin
Django rest best tutorial , any suggestions
Doragonsureiyā
Adhin
😂
Maxim
😂
this picture hints, among other things, that those who have successfully walked this path do not need tips on choosing a good tutorial or even need nothing but their own DRF documentation
Adhin
That's true..
amirHosseinZibaei
which one
Blog.objects.get(name=name) # or
Blog.objects.get(name__exact=name)
Christof
But the app(android pc) work normally
Paul
Good evening everyone,
I am writing a forum where there are different rooms, in each room a user can leave a comment and also update it as needed.
After updating the comment, i want to redirect the user to the same room where this comment was.
I already asked a question here and was advised to
1.Reverse + HTTPResponseRedirect - I tried http://linkode.org/#AmtBAJ2Af9V2UGJiACX3k7 but it's working out to return the user only when I manually write the id of the room in which the comment is. Is there a way to bind the id of the comment and the id of the room?
I tried to search for similar material and looked for similar projects on github repos, but I can't figure out how to do it, the only thing I understand is that I need somehow to link two primary keys and I don't know if I'm moving in the right direction
Thank you for your attention
Dmitry
Question regarding Django paths. Why does my app save static file paths in a careless way? When I view my sqlite db, paths are wild. They can look something like "/static\img\img1.PNG", which is ridiculous. So what's the problem with it?
Dmitry
I mean, if I'm adding my image through Admin panel in Django, the path is absolute and thus the image is not viewed
Dmitry
But i'f I'm correcting it in the db to relative path, it works perfectly
Ffffff
how I can get rid of "no password set Raw password are not stored etc"
Doragonsureiyā
how I can get rid of "no password set Raw password are not stored etc"
Please provide a full explanation including all the details that you consider relevant. Your statement is too broad and there is no clear way to answer you, you have to explain:
- what you're doing
- what you're expecting
- what you're using
- where you're running the script
- what Python version you're using
- what packages and their versions you're using
- and the most important thing: show the code YOU wrote (read rule 5️⃣ for that)
and more details, that way your chances to get help will increase
Adjetey
Anonymous
Hi guys , can any one help me to resolve the issue
I need to filter a queryset in alphabetical order ,
it should be show the results ,
What we are searching the starting letter that record should appear in the begging
And as well it should be show all the records with searching word
Anonymous
I need to filter the , field name like
(Title) Tjsd JH 1
Doragonsureiyā
Adding the word Django to your Off-Topic question doesn't magically turn it to a Django related question, so move to @PythonOfftopic group and ask there.
Armin
Adhil latheef
CELERY_BEAT_SCHEDULE = {
'reset_weekly_leaderboard': {
'task': 'reset_weekly_leaderboard',
'schedule': crontab(hour=13, minute=33, day_of_week=2),
}
}
Scheduling not working....adjust the time zone and and time multiple times.....but just use minute=*/1 is working.....please help
Vic
hello everyone, I'm planning to create a web based office application to do everything from processing incoming emails, distributing data to multiple users, storing office data and sending emails to our clients, is django able to make these applications? because for now I'm still using zoho creator for my office web based application, thanks before
Anshu
Khumoyun
Hello,
Question: Is Django 4.0.1 stable?
Anyone uses django 4.0.1 for production or upgraded prod?
Vadim
Hello. When clicking on a button, access the database and update them, how to implement this ?
cr
Vadim
And this way it is impossible?
Vadim
https://dpaste.org/NuNJ
Vadim
But it doesn't work that way
pavan
hi friends iam working on django application,iam facing some trouble.please look into it and make a correction. Github: https://gist.github.com/pavankv1/a24502c3725ca8f9e64afda510e7082f
Apoorva
Has anyone previously worked on an app that processes video uploaded by the user and stores it on azure?