Эльдияр
Hello guys, who can help me with social login using drf, have some problems
Sarthak
Can I share the link of that question here?
Sure newbie ! 😆 im newbie too
محمد دلشاد
https://stackoverflow.com/questions/61528078/django-profile-project
Ghorz
https://stackoverflow.com/questions/61528078/django-profile-project
Pastebin your code and describe the issue you're facing
Ghorz
is it ok now?
Use pastebin
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
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
404
Yes
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
Did you specify where static files are stored in settings.py and urls.py
Where I have to do it? in project urls.py or app urls.py
Anonymous
how can I make a input tag which will show the predefined list of tags
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:(
Anonymous
how can I make a input tag which will show the predefined list of tags
like one in stack overflow which is used to add tags whan asking a question
Aditya
I want to learn django can anybody help me how should I o start
Doragonsureiyā
I want to learn django can anybody help me how should I o start
Looking for Django tutorials? you can follow these three recommended ones: * Official documentation and tutorial * Tutorial from MDN * Tutorial from django-girls
Ninja
How we override inbuilt templates?
Aneesh
If I set debug= false then server 500 occur in one admin page Please help
krishna
How we override inbuilt templates?
You can goto site_packages and django folder there you can edit templates
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.
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
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
ahhh, thanks i actually never thought of segregating them, this solves using postgres and array issue too, saves a lot of time too
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
i did, array with integer feild and storing the ids of products like a tedious job but it made it an untouchable mess
I thot of using array in my project. Now I'm confused. Will it make mess for me too 😁
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 ??
Abhishek
Google
i tried all thing... but still only able to host in debug mode...
Abhishek
Using Apache and mod_wsgi
but exactly how??
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
Code
And also configure Python virtual environment path
read the django docs.. it explains everything there
Code
so, do i have to create a new ,conf file or i edit the default one?
I’d recommend creating a new configuration file which the default one points to.
ᎯⅅℳℐℕℐЅᏆℛᎯᏆᎾℛ
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 ?
isa
Thanks @pyflare