Moiez
ok dear i,ll check then tell you 😊
Moiez
Moiez
i am stuck in it from yesterday 😂😂
Don
Ss
hi i have a problem with project django
AttributeErrore 'Nonetype' object has no attribute 'Command'
help me plz
Sofia
Hello,
I have a address and customer model that is one to many.
I want to user able to fill customer and address fields at the same time.
I wrote with rest api
Hamed
Hi guys I load osm data in postgis database now how can I use this data to make an graph data
George
https://docs.djangoproject.com/en/4.1/ref/models/lookups/
George
Could you explain in detail what do you need?
George
Are you using DRF or django views?
George
are you reading the right docs?
https://www.django-rest-framework.org/api-guide/generic-views/
George
lmao, this was fun.
Алексей
Hi all. Mates, can u help pls 🙏
I have 1 projects and 1 app. I also have 6 databases and using them with 1 model. How can I see all 6 databases in one django admin?
Thanks in advance 🙏
George
George
Алексей
The Inspired
The Inspired
The Inspired
Look up Django Rest Framework docs on nested serializers
Sofia
The Inspired
no... that is the only way, I think
Mohammed
Hello guys! I have a weird problem in my code, There's a view that doesn't show any images in it's template whether it's a <img> tag image or a background image. I'v done all the neccessary settings like setting a media root and a media url and images work fine in all other routes (and templates) EXCEPT FOR THIS ONE. I even tried to remove all the template's content and copy-pasted the content of another template on it and it didn't work.
Mohammed
Mohammed
Hamza
What is the maximum number of days in 'SLIDING_TOKEN_REFRESH_LIFETIME'
Hamza
What is the best settings for simplejwt
To unlimit time for the token lifetime
Mohamed
how to do addition of two numbers in jinja
Charly
Mohamed
Why jinja?
the context contain course price and discount and i render them to the template
how i can calculate new price
Charly
Charly
Charly
https://docs.djangoproject.com/en/dev/ref/templates/builtins/#add
Maksim
People of kinds, help me with sending email, in settings. Error: Username and password not accepted
Maksim
Library "send_mail" is Django library but is not Python
Hamza
Charly
Maksim
Email host user and email host password it's email and him password?
Maksim
EMAIL_HOST = smtp.gmail.com
EMAIL_USE_TLS = True
EMAIL_PORT = 587
EMAIL_HOST_USER = "myEmail"
EMAIL_HOST_PASSWORD = "myPasswordEmail"
Maksim
And she give the error: username and password not accepted
Maksim
Thaks
Mohan
Somvit
u have to use app password in Gmail security section and replace the generated code with password
Somvit
that's how it works
Maksim
What to need use from mail?
Maksim
gmail doesn't work?
Mohan
You have to use other services
Mohan
Search trapmail
Doragonsureiyā
What to need use from mail?
Your question is not related to Django.
If it's a Python related question go to @Python group, otherwise please move to @PythonOfftopic group and ask there.
ラマゾッティ
""
Vaibhav
Is there a way to track user activity, time spend on each page and what all they did in a session in django
Ali
I have one error, who can help me?
Ali
I have one question
Ali
How do I add a favorite field to a post?
Charly
Ali
Charly
Why
Because theres is not enough information to give you help
Ali
Ali
Do you know a good course for DRF(Django rest framework)?
Charly
Ali
Charly
Ok thanks
So you pereffer don't explain your problem in a propper way and not get any help?
Ali
Charly
Ali
Nothing
Charly
Nothing
So you don't want help? Please delete your messages here
Ali
Ali
But I don't know how to explain
NightE
Could you please share YouTube channels or websites that were helpful for you while learning Django
I would prefer if they are short tips videos and how to do's
not full courses