Ярик
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}}
cj
cj
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
But I'm sure DDG will yield results
Shiva
Shiva
Anonymous
Shiva
Mirco
Aadhi
Is there any library in python to automate some processes?
$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
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
Rohan
Most probably a bot, but anyways.
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?
Sander
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
mr__
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
Mirco
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
Mirco
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))
Shiva
Master
Shiva
V@RG..
hi group...
V@RG..
i have a problem with Imagefield
Anonymous
any tkinter programmer here??
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?
V@RG..
jejejejeje
Anonymous
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
Mirco
Anonymous
ok i try another group
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
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
NC
cj
NC