Ярик
ty
Mirco
Yw 😊
Anonymous
any help please with this kind of message " {"detail":"Authorization header must contain two space-delimited values","code":"bad_authorization_header"} "
$whoami
{{csfr}}
Anders (izzno / gooood) 🇳🇴
I think the question is: Do you know what a header is ?
Anonymous
Lol
Shiva
Guys how to take screenshot of web page automatically?
Shiva
And I want to save the image to separate folder
Anonymous
And I want to save the image to separate folder
Django can't do that, you need a different program for that
Anonymous
But I'm sure DDG will yield results
Anonymous
Mirco
Can I do that with HTML JavaScript ?
Use selenium , you just need python
Shiva
Use selenium , you just need python
Ok I will check this thank you
Aadhi
Is there any library in python to automate some processes?
cj
Is there any library in python to automate some processes?
well... I will automate warning you for cross spamming your question 🤷🏻‍♂️
$whoami
Hi everyone, as I can have parameters available for all views in django, I want something similar to request.user or request.user.email or {{user.email}}
Firdaus
Is there any library in python to automate some processes?
https://duckduckgo.com/?q=python+automation
El
I need to do a ListView type class with two models, where I get the code that the user enters for an input and store it in the query variable and I want to iterate the two object_list in the same template, I appreciate your help
Sankhe
Hi..i need e-commerce site code please send.
Rohan
Most probably a bot, but anyways.
𝐁𝐋𝐀𝐂𝐊𝐒𝐓𝐀𝐑
Hi..i need e-commerce site code please send.
😂😂😂😂😂😂
Firdaus
Hi..i need e-commerce site code please send.
https://duckduckgo.com/?q=django+e+commerce
Anonymous
Hello, guys! I'm getting this error when I'm trying to add one model in Django Admin website https://pastebin.com/XZ2H94HB How to fix this issue?
Anonymous
https://pastebin.com/jGgjj3dr
Sander
Where do you call obj.save()
Anonymous
it is called inside super(DealerPointAdmin, self).save_model(request, obj, form, change) i think
Anonymous
incoming obj is None and I don't know why
Anonymous
Delete methods save_model, save_form, get_queryset and all works
Anonymous
My problem was in the save_form. It didnt return anything
apple
well ok
Artyom
Hi guys!
Artyom
Who worked with openpexl lib? I have some questions about how translate django data to particulary cell
Anonymous
I solved it, just need to add return before super().save_form
Artyom
Hi! I trying to export some django data to excel by openpyxl. But this part of code frstkey = ForestryKeys.objects.get(pk=4) frstvalue = frstkey.name worksheet['A37'].value = repr(frstvalue)
Artyom
return (<django.db.models.fields.CharField>,) in relevant excel cell
Artyom
str() doesn't help
Artyom
why you wanna use repr ?
I want to display value of field in excel cell) I try to use repr() instead str(), cause I thought repr can helps
Artyom
Now result is :
Artyom
return (<django.db.models.fields.CharField>,) in relevant excel cell
Krunal
dynamic lables are not getting load on chart.js
Krunal
Please guide me how to solve the issue
Root
Good Evening Everyone, I'm trying to make a model where user can choose a restaurant from a list. And that list/dictionary is going to be generated from a model that contains all restaurants in db stored by or added under restaurant class.
Root
https://stackoverflow.com/questions/27435394/django-create-choices-based-on-database-query I saw this, but doesn't really helps. :(
Shiva
def lat long(request) # satelite - Ctrl + dick to follow link com/vt/lyrs=y&x={x}&y={y}&z={z}" # route = r" https://mt1.google.com/vt/lyrs=r&x={x}&y={y}&z=£z}'" lat request.POST["lat"] Ing request. POST["long" zoom = request.POST["zoom"] maptype = request.POST["maptype" if maptype == 'satelite': maptype = r"'https://mt1.google.com/vt/lyrs=y&x={x}&y={y}&z={z}'" elif maptype == 'route' maptype = r"'https://mt1.google.com/vt/lyrs-r&x={x}&y={y}&z={z}'" return render(request, "index.html", {'lat' : lat , 'ing':lng, 'zoom': zoom, 'maptype': maptype))
Root
Models.ForeignKey(restorans_table_from_db) ?
Trying. Thanks 😊 I'm new to Django and Python
V@RG..
hi group...
V@RG..
i have a problem with Imagefield
Anonymous
any tkinter programmer here??
cj
any tkinter programmer here??
you're in a Django group... you came to the wrong neighborhood
V@RG..
in my template the type Imagefield to convert type='file'... i want capture image with camera browser and send to server como hago eso...???
V@RG..
how do I do that?
cj
in my template the type Imagefield to convert type='file'... i want capture image with camera browser and send to server como hago eso...???
use JS in the frontend to capture the image from the camera, and put it in a file input in the <form> you want to POST. y usa puro inglés! 😉
V@RG..
jejejejeje
Anonymous
you're in a Django group... you came to the wrong neighborhood
yes bro i know but i think multitalented programmer also here
V@RG..
link1 , solo en html https://github.com/W-Varg/camara-web-html link2 , con un projecto django https://github.com/W-Varg/django_image_camera
Anonymous
ok i try another group
V@RG..
link1 , solo en html https://github.com/W-Varg/camara-web-html link2 , con un projecto django https://github.com/W-Varg/django_image_camera
this my proyect django... captured the image with js, I charge it to the form, when sending it, this image does not reach the server What is my mistake?
V@RG..
https://ibb.co/tJhDYtL
V@RG..
I do not want to upload the photo of my files, rather I want to capture the image with the navigator and send that photo in the form Can somebody help me??
Bernard Kwey
OperationalError at /admin/group_pages/entry/ no such column: group_pages_entry.text Request Method: GET Request URL: http://127.0.0.1:8000/admin/group_pages/entry/ Django Version: 2.2.1 Exception Type: OperationalError Exception Value: no such column: group_pages_entry.text Exception Location: C:\Users\parke\AppData\Local\Programs\Python\Python37-32\lib\site-packages\django\db\backends\sqlite3\base.py in execute, line 383 Python Executable: C:\Users\parke\AppData\Local\Programs\Python\Python37-32\python.exe Python Version: 3.7.2
Bernard Kwey
help please
cj
help please
did you run the migrations?
NC
Hey people, am new in django and would like to implement automatic user creation of an employee when he is added in the employees model and the user profile should contain the details of the employee