Jimmies San
for example. or you can use a plugin like django-allauth or similar
Jimmies San
https://github.com/pennersr/django-allauth
Anonymous
Ok
Jaydeep
How to do two factor authentication in django ...sending otp to mobile phone and verifying it??
inchidi
How to do two factor authentication in django ...sending otp to mobile phone and verifying it??
if you know how to send sms via python and how to generate 6 digit random int you are done actually
Jaydeep
Send some tutorial link
inchidi
Send some tutorial link
i dont know any good tutorial but i have an example working code https://gitlab.com/gitaproject/gita-api/blob/master/core_api/views/registration.py#L35
Nayan
Hi guys could you help me with connection with sql server i could able tao connrct it
Nayan
Please help me what steps do i need to follow
Nayan
Currently i am getting mysql.connector.error.interfaceerror
Anonymous
Hi guys. Can I handle save event for the model, who I use as "through" in m2m? I did try override model save, but it not work.
Anonymous
Nayan , did you read this https://docs.djangoproject.com/en/3.0/ref/databases/#mysql-notes?
Anonymous
Guys how do I implement a search functionality with Postgresql in django
Anonymous
Full Text Search
Anonymous
Guys how do I implement a search functionality with Postgresql in django
Try read this https://docs.djangoproject.com/en/3.0/ref/contrib/postgres/search/
Nayan
Nayan , did you read this https://docs.djangoproject.com/en/3.0/ref/databases/#mysql-notes?
Yes but didn't help me out either i am facing issue with driver using odbc else if i am trying with sql connector python it is giving me interface error
Sergey
Hello guys. Is it a good practice to rewrite default method save?
inchidi
Anonymous
need more info
For example, have this models: class Model1: field = ManyToMany(Model2, through=Model3) class Model2: ... class Model3: ... def save(*args, **kwargs) # need catch this when make # models1_obj.field.set(model2obj1, model2obj2) # but overrite save not work
inchidi
Sorry, override )
yup its pretty normal as long as you call super().save(...)
Alejandro
How to resolve permission denied when uploading a large image (4mg)? Already configure DATA_UPLOAD_MAX_MEMORY_SIZE up to 100mg
Alejandro
??
cj
How to resolve permission denied when uploading a large image (4mg)? Already configure DATA_UPLOAD_MAX_MEMORY_SIZE up to 100mg
what is mg? where did you set that variable? can you give more details about your deployment stack?
cj
also, is it related to Django? or related to some webserver you're using?
Alejandro
the problems are happening when using an apache web server, because when I do it with the django it goes up correctly without problems
cj
in that case you have to ask on some sysadmin/devops groups as it's not related to Django itself 🤷🏻‍♂️
Alejandro
when sending a 4 megabyte image by api rest, the server gives permission error, the server allows 200 gygabyte, and I don't know if I need to configure something in django so that it doesn't cause that problem
Franck
good evening everyone please I try to integrate the payment API Mtn MOMO in my django project without success. someone can advise me a tutorial. it's really urgent thank you very much for helping me
Batman
has anyone used django-rest-social-auth before? need some help figuring out how to integrate Google login using oauth2 using it... beed stuck on an error that says malformed auth code for a while, didn't find any results that could help fix this problem for me 😰
KALEAB
How to customize django admin page to make it more attractive for the admin user
KALEAB
YEs no one can help me .....please
Bekzod
YEs no one can help me .....please
his name starts with G and ends with e (Google)
KALEAB
I will try to digg out it from google but i couldn't get well prepared document so if u know other site please tell me
KALEAB
Okay tnxs
KALEAB
Could you tell free hosting sites for django web ....i don't have a master card to pay for payable hosting sites
Bekzod
heroku.com
KALEAB
Is there another site without heroku?
Bekzod
why you don't like heroku?)
Bekzod
Is there another site without heroku?
https://education.github.com/pack
Bekzod
Shaikha
Pythonanywhere
Shaikha
It’s free and easy to use
Shaikha
The deployment process is the same as local
KALEAB
Tnxs so much .....
KALEAB
Could tell me some sites which is used to learn django finger authentication system
KALEAB
Hello no one knows about it
professor
is there a way to expire after 24 hours or every 1 minute tokens ?
professor
https://stackoverflow.com/questions/59792757/how-to-generate-token-expire-itself-after-24-hours/59793400#59793400
Khaidem Sandip
Can anyone tell me how to allow html tags to work in django admin? Html tags don't work when we write something on the admin panel.
Khaidem Sandip
Finally I got the answer. {{ var|safe|escape }} where var is my variable.
KALEAB
Does django generate random id numbers.....
KALEAB
Yes
Feisal
Try to paginate the result in bits..it help on optimization
Mahakaal
How to connect online MySQL database with Django Local host server So that we get CSV File from online server to process for data prediction?
Jaydeep
How run django website in android through localhost running in windows
Anonymous
How run django website in android through localhost running in windows
Install Pydroid-3 app from Play Store and install requirements with pip command and same procedure as windows
PV
How run django website in android through localhost running in windows
Connect both system (windows and Android) to the same network find the ip of your Android and run django on it
Lalit
How to call a python function from javascript function?
Mirco
You cannot do it directly
Lalit
I want to access django model in JavaScript function
Jimmies San
How to call a python function from javascript function?
it depends. javascript browser or javascript serverside? it's really different
Mahakaal
the same as always no?
Database I am trying to connect to django server is PHP database made online by my friend from another system and I want to access that database from my django server, so how do I do that?
Philip
Guys, such a question. I have a view class in which there is no method I need (delete). What is the more correct decision to get a function that deletes and set the desired route for it, or you can somehow include it in my class representation.And one more question on models, in most vacancies there is a line (knowledge and understanding of the basic concepts of relational databases) this refers to ORM or, in general, to SQL. Maybe there are some resources or tips on how to pull this item up.