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
But yes, it might be enough for single user
Piyush
I want upload 3 image so how i can make view
You should use request.FILES.getlist('images') and then fetch one by one using forloop
Hirbod;
I want 3 different image and 3 model field
3 model fields like this? Class imagemodel() Image1=.. Image2=.. Image3=..
sina
How to serve media files on iis server please help me
Anonymous
How is a half user?
Sorry I meant 1 or 2 users lol
Doragonsureiyā
How to serve media files on iis server please help me
Your question is not related to Django. If it's a Python related question go to @Python group, otherwise please move to @PythonOfftopic group and ask there.
K(RANA)
How to free host django application with Mongodb database?????
Doragonsureiyā
How to free host django application with Mongodb database?????
Do you want to use Django with MongoDB? Then you shouldn't Please read this article: https://daniel.feldroy.com/when-to-use-mongodb-with-django.html
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
#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
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
what is the problem internet connection?
Pk
tinymce
$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?
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
Doragonsureiyā
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
Don't ask meta questions like: "Any user of $x here?" "Anyone used technology $y?" "Hello, I need help on $z!" Just ask directly! The better you are at explaining the problem, the more likely you are to get help. Asking smart questions
Axror
Then what for 'image2'
img2 img3 and etc as above
Doragonsureiyā
Yeah, we have a project. But I want to understand first if someone here is available in the areas mentioend. Thank you
Rule 🔟: Job posts are SPAM unless they meet the requirements. Read the rules for details.
Mahesh
but our requirement is linked across. soseriously looking fo rhelp
Maxim
it is nt a job posting please
maybe, but it's definitely offtopic
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
Mahesh
So you need help with 3js?
yes, but the data is fed by django. so 3js is embedded in django
Mahesh
hence, familiarity with both is important
Charly
hence, familiarity with both is important
Here we can't help with 3js
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
Rohit 007
In views iam getting no reverse for PayPal ipn
Rohit 007
sounds like offtopic
I am using sandbox paypal for payment
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 ??
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