Moiez
ok dear i,ll check then tell you 😊
Moiez
Underastand? change T with H
o my bro love you ❤️❤️❤️❤️
Moiez
i am stuck in it from yesterday 😂😂
Moiez
Underastand? change T with H
very thankfull to you dear ❤️❤️
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 🙏
Алексей
Алексей
Consider fusing your databases or using sharding methods or idk. Clustering (?)
I am using sqlite3 and while db is locking when I am making lot of incerts and updates
Sofia
yeah, for that... you would also have to write serializers
I wanna use nested writeabe serializer but i don't know how
The Inspired
Look up Django Rest Framework docs on nested serializers
Sofia
Look up Django Rest Framework docs on nested serializers
Do you know any simple way to do this?
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
https://github.com/M7mdhisham25/alsoug
This website I'm working on is an ebay-like market place you create auctions, place a bid on auctions , etc
Mohammed
This website I'm working on is an ebay-like market place you create auctions, place a bid on auctions , etc
the view that doesn't show images is "listing" with the template "listing.html"
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
Mohamed
Why jinja?
the context contain course price and discount and i render them to the template how i can calculate new price
Mohamed
Why are you using jinja en django?
without it how i can add loop , if and more in html templates?
Charly
https://docs.djangoproject.com/en/dev/ref/templates/builtins/#add
Azizbek Xushnazarov
how to do addition of two numbers in jinja
https://pypi.org/project/django-mathfilters/
Maksim
People of kinds, help me with sending email, in settings. Error: Username and password not accepted
Doragonsureiyā
People of kinds, help me with sending email, in settings. Error: Username and password not accepted
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.
Maksim
Library "send_mail" is Django library but is not Python
Hamza
People of kinds, help me with sending email, in settings. Error: Username and password not accepted
You should activate two-factor authentication in your Gmail And add password for django app
Maksim
Email host user and email host password it's email and him password?
Maxim
Library "send_mail" is Django library but is not Python
the problem is not in the library, but in the mail service or credentials
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
Charly
And she give the error: username and password not accepted
https://support.google.com/mail/thread/15048240/keep-getting-username-and-password-not-accepted-when-trying-to-download-gmail-to-my-ms-outlook?hl=en
Maksim
Thaks
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?
Doragonsureiyā
I have one error, who can help me?
Not until you explain your difficulties.
Ali
Not until you explain your difficulties.
I have a picture but I can't send it
Doragonsureiyā
I have a picture but I can't send it
Rule 5️⃣: Never post walls of text or screen photos. Use paste bins like https://linkode.org, https://nekobin.com (or your favorite one)
Ali
I have one question
Ali
How do I add a favorite field to a post?
Charly
How do I add a favorite field to a post?
That question have not enought context
Charly
Why
Because theres is not enough information to give you help
Ali
Do you know a good course for DRF(Django rest framework)?
Charly
Do you know a good course for DRF(Django rest framework)?
The official documentation is a good start
Charly
Ok thanks
So you pereffer don't explain your problem in a propper way and not get any help?
Charly
No
Then?
Ali
Nothing
Charly
Nothing
So you don't want help? Please delete your messages here
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