Эльдияр
Hello guys, who can help me with social login using drf, have some problems
Sarthak
محمد دلشاد
https://stackoverflow.com/questions/61528078/django-profile-project
Ghorz
Ghorz
Ghorz
Ghorz
محمد دلشاد
Anonymous
SVG is not showing on weazy print generated PDF
Anonymous
Any solution??
Cheap
why model’s manager class (if any) is always written above the model, is it convention or compulsary?
Jaime
Hello, any idea to implement django channels to update a datagrid that updates realtime prices (currencies) with asgi without refreshing? An example you might know is enough thx
Alberto
Hi I'm having problems when I try to hand some static files and put them in the homepage
Ghorz
Look your terminal
Ghorz
Did you see 404
Ghorz
Alberto
It gives me a 404 error but I check all is ok. All the files are in a folder, the folder is called from protect settings
Alberto
Alberto
In the terminal I see how it try to get the image from the path but don't output anything
Alberto
When I inspect my homepage.html I then see the error
Ghorz
Yes
Did you specify where static files are stored in settings.py and urls.py
Alberto
I did it in settings but not in urls
Alberto
raven
Anonymous
how can I make a input tag which will show the predefined list of tags
Anonymous
Anonymous
but users should be able able to add new tags to the list
Anonymous
how can i do that
Anonymous
i can share an image but its not possible here:(
Ghorz
Aditya
I want to learn django can anybody help me how should I o start
Ninja
How we override inbuilt templates?
Aneesh
If I set debug= false then server 500 occur in one admin page
Please help
L
Hey everyone! I was wondering if any of you guys could help me with this
L
https://codeshare.io/arAnyK
L
As it happens with GitHub and YouTube, whenever you upload something, is up to you to decide if the thing you're publishing is Private/Hidden(only if you have the link)/Public
L
I wanna make it so the default value of my sub repo to a private repo is always private, and the same if it's public or hidden
Xavier
how to establish duplicate relationship in django models?
situation: i am creating something like a cart model which stores multiple products so i tried it with many to many relationship, but i read in the docs that it dont allow duplicate.
Is it even possible to place duplicate value? or i should just make an array feild in the cart model and store the id of the product there.
saran
Xavier
Xavier
like one is oil and other is ham
but oil qty is 4 and ham qty is 2
saran
Cart model is something like this na..
It contain product, qty, price likewise. So once you add oil to cart. Then again you add, increase the qty and price accordingly. Same for ham also
Xavier
saran
👍
saran
You used arrays in postgres??
Xavier
You used arrays in postgres??
i did, array with integer feild and storing the ids of products like a tedious job
but it made it an untouchable mess
saran
Xavier
saran
Okayy ok
George
Hi, i am uploading some files through FormData but when i look at the admin, it's only one.
I have a formdata with a key and multiple images and they print correctly on DevTools, when i parse the response in django. It's only one image.
https://hastebin.com/imuqozevow.rb
pp request.data
{'images': ,
'inspection': '1'}
But it's only one image, and the form data has multiple.
Alberto
I need to use an image for my homepage, I'm trying to upload it but I get 404 error, I had tried to import url of the img to urls.py but still doesn't work.
Here is the code:
pastebin.com/E0r8r9zj
Any suggestion about how to fix it?
Abhishek
hi, anyone know here that how to host django app on gcp using apache ??
Alan
Abhishek
Google
i tried all thing... but still only able to host in debug mode...
Abhishek
Code
Using Apache and mod_wsgi
make sure mod_wsgi is enable in the apache config.... and then, configure your 'static' paths in apache
Mihir
And also configure Python virtual environment path
Abhishek
ᎯⅅℳℐℕℐЅᏆℛᎯᏆᎾℛ
Command "D:\python\venv\Scripts\python.exe d:\python\venv\lib\site-packages\pip-19.0.3-py3.8.egg\pip install --ignore-installed --no-user --prefix C:\Users\Admin\AppData\Local\Temp\pip-build-e
nv-i70tze9l\overlay --no-warn-script-location --no-binary :none: --only-binary :none: -i https://pypi.org/simple -- setuptools>=40.6.0 wheel "cffi>=1.8,!=1.11.3; platform_python_implementation
!= 'PyPy'"" failed with error code 1 in None
help me
KALEAB
Anyone who could have django.pdf best book which helps for begginer please send me
Muflone
!djangotut
Doragonsureiyā
Looking for Django tutorials? you can follow these three recommended ones:
* Official documentation and tutorial
* Tutorial from MDN
* Tutorial from django-girls
Wang
hi good evening every one
Wang
<input type="text" name="text" name="new_item" placeholder="Enter a to-do item" id="new_item" required>
Wang
i have a problem.
Wang
i have two name attribe in input tag when i setting attrs
Wang
this is my form code,
anyone can help me fix it ?
i want to override default name 'text' to 'new_item',
but it seem more complex
Wang
i got two name attribute
Wang
emmm
who can help me please
Wang
https://pastebin.com/7NSYdmqU
isa
I start ht_makale_al method with schedule module within a time period. It works as requested but web server doesn't work properly during and after method perfoming. https://paste.ubuntu.com/p/h2GWdk2j5T/
isa
Is there a job schedule method works with Django properly ?
Mirco
isa
Thanks @pyflare