Sibi
Hello Guys,
I am working on a django-mongodb project
The _id is objectIdField
I am trying to access it it is always giving none
And I want to set it as my look up field in model viewsets
Any ideas
Anonymous
Hi everyone
Is the default SQLite database enough for a real project ?
I’m building a CRM with 1/2 users max
Thanks for your help
Charly
Charly
But yes, it might be enough for single user
sina
How to serve media files on iis server please help me
Doragonsureiyā
Syed
K(RANA)
How to free host django application with Mongodb database?????
Ivan
somebody can help me? Im trying to do a custom login form
Ivan
I created a form that extend from AuthenticationForm
Ivan
form render fine, the problem is always return is_valid false, I check post data and it's ok.
Ivan
ok it's there https://dpaste.org/AyRH
Ivan
and my logic's view it's ok
Ivan
https://dpaste.org/F5Q7 but always return form.is_valid() => False
Ivan
My service, it's a layer helper to help me, but there not is doing a lot https://dpaste.org/ZJq5
Ivan
User is the first superuser I created
Ivan
I found the problem
Prabhakaran
It’s related to aws router/firewall settings.. in aws.. you need to allow the port 5432
Prabhakaran
I understand that the database is external and your ec2 firewall is blocking the connection with your database
agz
Please how can I handle more than on form in a Django view
Akash
Akash
#views.py
Def image(request):
If request.method=='POST':
Img1=request.FILES['img1']
Img2=....
Imh3=....
Akash
What should I change in views
Jitendra Kumar
https://stackoverflow.com/questions/68158154/django-how-to-get-all-the-column-names-from-the-given-sql-table-model-py
Axror
Anonymous
Enumerating objects: 2838, done.
Counting objects: 100% (2838/2838), done.
Delta compression using up to 4 threads
Compressing objects: 100% (2812/2812), done.
error: RPC failed; curl 55 Send failure: Connection was aborted
send-pack: unexpected disconnect while reading sideband packet
Writing objects: 100% (2838/2838), 59.72 MiB | 189.00 KiB/s, done.
Total 2838 (delta 177), reused 0 (delta 0), pack-reused 0
fatal: the remote end hung up unexpectedly
Everything up-to-date
Anonymous
Anonymous
what is the problem internet connection?
Pk
tinymce
Doragonsureiyā
$whoami
there is another way to get information from several models for a template, i have this:
class DasboardStatics(TemplateView):
# require authenticated o redirect signin
template_name = "account/template.html"
def get_context_data(self, **kwargs):
context = super().get_context_data(**kwargs)
context["object_one"] = ModelOne.objects.filter(is_online=True).count()
context["object_two"] = ModelTwo.objects.filter(is_online=False).count()
return context
kaleab
I'm beginning django and when I run server it work successfully but when i go to browser and enter 127.0.0.1:8000 it isn't work please help me🙏
Ted
What error are you getting?
Akash
Mahesh
Hi, I am Mahesh and am keen to interact with full stack python/django developers with javascript exposure. We are working on a project, need some help. I hope I am in right group. Please confirm. Thank you
Axror
Mahesh
Doragonsureiyā
Mahesh
Mahesh
but our requirement is linked across. soseriously looking fo rhelp
Roy
Bonjour quelqu'un parle français ici ?
Doragonsureiyā
Bonjour quelqu'un parle français ici ?
Hi! This group is English-only. Please, translate your message into English and delete the non-english message. Or move to a group speaking your language (type "!ol" to see the list). Thank you.
Mahesh
ok, we are trying using 3js with django for an animation assignment. .All data is fetched form database and to be displayed on the canvas. we need help in changing the direction of the object on the canvas (3js). is osmeon for quick help please. Thanks in advance
Charly
Mahesh
hence, familiarity with both is important
Charly
Mahesh
ohh ok, thank you
Mahesh
so looking for someone with both django n javascript
Kai
!ol
Doragonsureiyā
Python groups in other languages
(‼️ Not managed by us ‼️)
Amharic @python_amharic
Arabic @arabipython
Azerbaijani @azepug
Chinese @pythonzh
French @python_francais
German @pythonde
Hebrew @pythonisrael
Hindi @pyindianew
Indonesian @pythonid
Italian @python_ita @pythonita
Kazakh @python_kz
Malaysia @pythonmalaysia
Persian @pyfarsi
Portuguese @pythonbr
Russian @ru_python_beginners @ru_python
Spanish @PythonEsp
Swahili @python_eafrica
Turkish @python_tr
Uzbek @python_uz
If you have an (active) group you want to add, ask in the meta group, link in the rules page.
Ai
Live streaming app using opencv and django
Doragonsureiyā
Live streaming app using opencv and django
We're not here to do your job for you.
This group is to help you on specific issues you have in YOUR code, so you have to show the code you wrote by yourself and explain where and why you are stuck... as simple as that. 🤷🏻♂️
Rrrrrrr
$WTRFID,P10,868618057046377,20211117120101,16,1,0,366,DEV-ID,CRD-ID,19,0,2021111120050,2021111120101,E28011700000020D2C05C2F7,18,0C#
Rrrrrrr
How to convert json string?
Rrrrrrr
{'Header': '$WTRFID' , 'Protocol Version' : P10,'IMEI Number' : 868618057046377 , 'Timestamp' : 20211117120101 ,
'GSM Signal Strength' : 16,'Log status' : 1, 'Future use':0 , 'Totalizer' : 366,
'RFID Device ID' : 'DEV-ID' , 'RFID Reader ID' : 'CRD-ID' , 'Batch Count' : 19,
'Pulse Count': 0 ,'RFID Shown Start Time': 2021111120050 ,'RFID Shown End Time': 2021111120101,'RFID Card Number': E28011700000020D2C05C2F7,
'Checksum': 0C , 'Pocket End' : # }
Rrrrrrr
Example
Rohit 007
Is there any way to run paypal-ipn in localhost
Maxim
Rohit 007
In views iam getting no reverse for PayPal ipn
Sina
Hi, I'm using django-crontab, but my script does not run every 4 minutes
Sina
what is the problem?
R
hello every one i have a question
i have a check box in html and this name is remember_me and i get this in view by request.POST['remeber_me']
i wrtite this code =>
remember = requiest.POST["remember_me"]
if remember:
''' my codes '''
else:
''' another codes '''
checkbox is checked but run my else codes
R
what is this problem?
can anyone help me
Prathmesh
Anyone know how to display all model data of clicked image on another page in django ??
Jitendra Kumar
Prathmesh
Yes but how to do it for particular item
Prathmesh
??
Prathmesh
Just like amazon we click on any image and page with all details of that product open
Jitendra Kumar
Possible
Prathmesh
Yes but how
Prathmesh
I want to do like that