Anonymous
u can dm me...
Scary
i am trying to create an item on my model but when i create it saves it as object (1) on the database what could be the issue here . Here is the screenshoot https://ibb.co/Kr759BH
Anonymous
there must be double underscores
Anonymous
str
Scary
👍
Mohit kumar
Anyone worked on trading platform application or web app??
Doragonsureiyā
Anyone worked on trading platform application or web app??
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
Mohit kumar
Here is a problem in websocket that i am usingbin real time market data for trading website...
Doragonsureiyā
Anyone here who can sort me up with this
Please provide a full explanation including all the details that you consider relevant. Your statement is too broad and there is no clear way to answer you, you have to explain: - what you're doing - what you're expecting - what you're using - where you're running the script - what Python version you're using - what packages and their versions you're using - and the most important thing: show the code YOU wrote (read rule 5️⃣ for that) and more details, that way your chances to get help will increase
Maxim
Anyone here who can sort me up with this
ask specific question here or hire someone at @pythonofftopic anyway please read the rules first
Bwaks
This is a date field in forms.py 'application_deadline': forms.DateInput(format=('%Y-%m-%d %H:%M'), attrs={'class': 'form-control application_deadline ','placeholder': 'Select a date','type': 'datetime-local' }), ....................... while this its source code at the edit page <input type="datetime-local" name="application_deadline" value="2021-12-16 17:03" class="form-control application_deadline dateinput form-control" required id="id_application_deadline">..................as you see from the view source code there is the field value as{value="2021-12-16 17:03" } but its being displayed when a user is at edit page .How can i fix it
Jahongirmirzo
Hello,is anyone having problem that django is not showing any error in terminal when do runserver? it is happening in the last version of django
Ravi
how to user queryset by request.user.model.fieldnane in django
Ravi
Using function based
M***
How to install mysqlclent in windows. When I install it shows error I tried a lot but I didn't get any answer. Help me to solve this problem
cj
Failed building wheel for mysqlclent
why MySQL? use PostgreSQL!
Tanner
why MySQL? use PostgreSQL!
+1 it’s pretty much the only RDBMS you should use if you have a choice
Viswa
How to install mysqlclent in windows. When I install it shows error I tried a lot but I didn't get any answer. Help me to solve this problem
Try Downloading the wheel file manually and then install. You can download the wheel file for respective python version in the below link https://pypi.org/project/mysqlclient/1.3.12/#files
Вова
Hello everyone! I have a problem, in my forms.py I have next fields: win1choise = BooleanField(initial=False) win2choise = BooleanField(initial=False) drawchoise = BooleanField(initial=False) frsttimechoise = BooleanField(initial=False) secondtimechoise = BooleanField(initial=False) breakchoise = BooleanField(initial=False) When I try to mark some fields django says to mark all fields. How I can correct this?
Nareth
how to create authentication like google using one user can login to other application ?
Nareth
Search about Single sign-on in google
thank i try to use django-oauth2-toolkit
Neha
After finding the length of pdf and converting it to imagedata how we can render multiple pages of pdf on canvas
Neha
???
Neha
Yes
Anshu
Yes
You should use pdf.js, to render pdf on HTML canvas
Maxim
After finding the length of pdf and converting it to imagedata how we can render multiple pages of pdf on canvas
you don't have a pdf in imagedata, i guess what is in imagedata is not a pdf
Neha
you don't have a pdf in imagedata, i guess what is in imagedata is not a pdf
I have converted it into image data but after rendering it is only showing 1 page... I want to render all the pages of pdf
Adhil latheef
How Order manytomany field objects by added order.....?
Anonymous
Can anyone help in building a page in Django?
Doragonsureiyā
Can anyone help in building a page in Django?
Rule 🔟: Job posts are SPAM unless they meet the requirements. Read the rules for details.
Python Guy
in simplejwt authentication, user login using username, I want to change it to email. What changed I need to made in my Views, Serializer in this settings
amirHosseinZibaei
How to fix this? Reverse for 'tinymce-css' not found. 'tinymce-css' is not a valid view function or pattern name.
Fan / Ac
threading, handling multiple request is done in django using wsgi servers right and running multiple process/thread things in general using tools like celery is this correct
~:$
A simple anchor tag can do the things. On clicking on anchor tag call your view function which download the required file.
Fan / Ac
Celery is analog to cron job in unix like systems.
like run task every 10 minute or like that
Fan / Ac
can you make the other 60% clear for me
~:$
can you make the other 60% clear for me
I have cleared the celery part.
Fan / Ac
so other things i have said are correct ??
Fan / Ac
also so normal threading module is used to implement threading if required ??
Fan / Ac
For wgsi thing... ask your question more clearly.
my question is how python frameworks run multithreading when GIL exists
~:$
my question is how python frameworks run multithreading when GIL exists
I do not know the much more internals of django. So i do not want to confuse you. May be some other expert answer your question or you can google.
~:$
ah ok, thanks
Well an other keyword to search is "asgi" with regard to django.
Fan / Ac
my question might not be phrased correctly, but i think my questions is directed to these two interfaces for wrbservers
~:$
my question might not be phrased correctly, but i think my questions is directed to these two interfaces for wrbservers
May be. But if you want to run your business logic as background job with django in a periodic way, you can use celery... and results can be communicated or persistence via database.
~:$
by persistance what do you mean
Save records for longer period of time across requests.... it is a general term... much like save a record on system file.
Fan / Ac
Even after the death of process :p
ah so basically svaing to db
Swapnil
In django can it possible multiple validations?
Swapnil
In one serializer how many time we can write def validate()...??
Doragonsureiyā
Step 1: Open a browser Step 2: Write down https://google.com or https://duck.com and press Enter Step 3: In the search box, write down the same words you asked here Step 4: Read the first results
Anonymous
how to install django on cpanel
ㅤㅤㅤㅤ ㅤㅤㅤ◡̈⃝ㅤㅤ ㅤㅤㅤㅤㅤㅤ ㅤㅤㅤ
how to install django on cpanel
Your cpanel must have python
~:$
how to install django on cpanel
On cpanel you have python app setup. Setup a python apl amd install django then.