No_name
Unable to install pillow on django
No_name
Can somebody help
Doragonsureiyā
Unable to install pillow on django
Don't ask meta questions like: "Any user of $x here?" "Anyone used technology $y?" "Hello, I need help on $z!" Just ask directly! The better you are at explaining the problem, the more likely you are to get help. Asking smart questions
Arpit
Please help me in resolving the error
Zoha
Please help me in resolving the error
You have to specify username for create_user()
Moon
How to connect to Django PostgresSQL?
Doragonsureiyā
How to connect to Django PostgresSQL?
These single steps will help you a lot: Step 1️⃣: Open a browser Step 2️⃣: Write down https://google.com or https://duck.com and press Enter Step 3️⃣: In the search box, write down the same words you asked here Step 4️⃣: Read the first results
Moon
Thanks
Muxtoriddin
hello everyone did anyone happen ckeditor doesn't work in server.
Charly
Charly
How to connect to Django PostgresSQL?
So it means you skiped the official tutorial, please read it before trying to do any project
Kay!
Please help me with my project
Kay!
I want user to send image file then I'll perform some opencv operations on that image then I save and show the resultant image ?
Сергей
Hello everyone who has the installation guide Slugify on Django?
Сергей
Well, or how to replace spaces in all site URLs with "-"?
Charly
Hello everyone who has the installation guide Slugify on Django?
https://docs.djangoproject.com/en/4.0/ref/utils/#django.utils.text.slugify
Сергей
https://docs.djangoproject.com/en/4.0/ref/utils/#django.utils.text.slugify
I'm specifically interested in what needs to be written in urls.py and views.py, to make it work
عَبٔدُ الٔحَكِيم
hello everyone. when i use get_image_url i have a mistake with it . The 'image' attribute has no file associated with it. like this . someone can solve this?
Charly
I'm specifically interested in what needs to be written in urls.py and views.py, to make it work
save the slugin a model field, then use these field to be the url param
عَبٔدُ الٔحَكِيم
you havent a file for that field, so the solution is add one
no i have image element in my model with name image
Charly
no i have image element in my model with name image
yeah but have you uploaded a file there?
عَبٔدُ الٔحَكِيم
no u are right but when it posted from front image isnt uploading to database
عَبٔدُ الٔحَكِيم
i have written null true to my imagefield
عَبٔدُ الٔحَكِيم
can i use image field without defoult image?
Bekzhan
Hello.Сan you suggest how to use != on Django ORM
Zhaks
Hello.Сan you suggest how to use != on Django ORM
For which field do you want to apply?
Bekzhan
sum(case when t2.status != 'unwatched' then 1 else 0 end ) test
𝓙𝓪𝓶𝓸𝓵𝔁𝓸𝓷
Rohan
list.append(Q(name=request.get('name') | Q(address=request.get('address'))
Rohan
Also, list is a keyword, don’t shadow it.
Rohan
They’ll get appended
Rohan
| is OR operation
No_name
My python version is 3.9.12
No_name
Pip version 22.0.4
No_name
Django 4.0.4
No_name
I cant install pillow
Arsen
I cant install pillow
What is the error ?
No_name
It gives error building wheel failed
Charly
It gives error building wheel failed
We need the full error (read rule 5)
No_name
Failed building wheel for pillow
Arsen
What operating system do you use ?
No_name
Windows 10
No_name
Error is too large give me some time i am sending it
Doragonsureiyā
Error is too large give me some time i am sending it
To share code or error tracebacks, use a pasting service, like: - https://linkode.org - https://dpaste.org
No_name
Thanks
No_name
https://linkode.org/#i5uRQwyK4pgPccOI4y5jh5
No_name
This is the error
Arsen
Try python3 -m pip install --upgrade pip Then try to install python3 -m pip install Pillow
Charly
https://linkode.org/#i5uRQwyK4pgPccOI4y5jh5
It says you need to install zlib
No_name
Installing zlib gives same error of failed wheel
Arsen
Try to install the old version of Pillow There may be conflict of versions
No_name
Ok trying pillow 9.0.1
No_name
Same error
Arsen
At the end try to work with easy_install
Arsen
If you get the same error, I think the best option is to reinstall python with pip to the newest version(3.10+)
Krunal
Which class based view do I need to use while creating a api in production? Can some one guide me to maintain the structure and code writing guide & error handling?
Abhinesh
Hi all is there any method i can find orm queries performance like using django debug toolbar. I want to see orm query performance in manage.py shell
Kay!
How to save request.FILES[file] in local dir. In django
vector
How can i use slug field in django with pymodm? I can't find anything related to this in its documentation.
Mihail
Are any variables, which help to get appconfig.name or .lable variable of test modules?
Drag
Guys can someone help? I have a troubles with display form errors. input.after doesnt show, but with value all right
Intelligence
https://stackoverflow.com/questions/72200630/how-to-get-details-from-two-models-in-django
Kavi
Has anybody worked on migration from postgres to google cloud sql(postgres) by using Django/ORM export import methods
C
Failed to load resources: the server response with a status of 500
Maximiliano Exequiel
check if you have de table of the database created
Doragonsureiyā
Has anybody worked on migration from postgres to google cloud sql(postgres) by using Django/ORM export import methods
Don't ask meta questions like: "Any user of $x here?" "Anyone used technology $y?" "Hello, I need help on $z!" Just ask directly! The better you are at explaining the problem, the more likely you are to get help. Asking smart questions
Doragonsureiyā
Failed to load resources: the server response with a status of 500
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
RK
How to store each and every employee clock in clock out time in Django