Maxim
Charanpreet Singh
Hey, I am working with MongoDB database and connecting it using djongo. However it gives me certain errors and warnings which seem that MongoDB is not presently not Compatible with django models Or ORM structure.
I am using python version 3.8.5
Django version of 3.2.3
And djongo version 1.3.6
Is there any way I can connect Django with mongoDB keeping the ORM structure intact!?
Maxim
Anonymous
We need experienced Python developer for Back end application development. Should have experienced in creating APIs. It is a Indian startup and work from home full time job. Anyone interested dm me.
Mirco
Arunkumar
Can We create two models inside generic listview class
Cacio Lucas
People, how can I write a single generic createview two render a template with a form for two models. I have a User model and a Profile model, I want to create Users and Profiles in a single view, but I need to use a generic view or do it the cleanest way, any suggestion?
Anonymous
Hello everyone,
Is there anyone who knows that how to integrate WEBRTC with #django .
I want to take video from client webcam and send it to server in real time.
Please help me.
Igor
Hi folks, how can i deserialize a json with nested, i have two tables, location and temperatures, i receive a json in endpoint with
{
'state': 'example',
temperatures [1, 2, 3, 45, 6]
}
but when i use my serializer.is_valid() DRF cut off my temperatures, i think is because don't have keys, any tips to validate only receiving the values, whitout a key, like in this example?
Werner
One time trial yes
Anonymous
My custom user have two fields dob, photo fields other than email password and name.
Problem is the user returned after logging in does not contain the fields, dob and photo.
I have fields = '__all__' in serializers. And have assigned user model to auth user model
Anonymous
How can I fix it?
Hello
How can I add 15 mins to a timefield in a model
Hello
Pls can anybody help me in this
Hello
How can I add 15 mins time to a stored time which is of timefield
Anonymous
hey everyone i need a book abot django it's name Django for professionals anyone can help me?
kuzmich
LEX
For every virtual environment project !! For each we need to create the admin id ?
LEX
Or
LEX
Once superuser created it is applicable for all projects ?
Swati
No connection could be made because the target machine actively refused it m getting this error while connecting my python file to database... m using sqlite
kuzmich
Anshu
Maxim
Anshu
Maxim
LEX
Manish
How to use redis cache in Flask restful API??
LEX
shashikant
Hello everyone,
I am using simple jwt for authentication,and I am getting the token in response,but I want also the user object in response.how can I do this.
Arunkumar
How many days will require to complete whole Django documentation?
Anybody here have finished before?
kuzmich
shashikant
Parse it
Can you plz explain little bit more of it.i am using this token in login api ,I want user object to be in that response
kuzmich
JSON Web Tokens - jwt.io
https://jwt.io/
kuzmich
kuzmich
Encoded*
kuzmich
Just pass your jwt there
kuzmich
And you'll see
kuzmich
That's why you want to decode it
shashikant
yeah ,that giving me the user id ,and from user id i can query the User model.Thanks @kuzmich
kuzmich
Hamed
Hi i have text that i must find question in it but text i think encrype how i solve it???
Hamed
The file is word
Hamed
Please help
Doragonsureiyā
Hi i have text that i must find question in it but text i think encrype how i solve it???
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
JX
Does anyone know how to configure eclipse to run a Python project that requires pygame?
B120034_Mohammad Asim Khan
Can anyone help me with activating python django evn on PowerShell?
B120034_Mohammad Asim Khan
It's something
Scripts/activate ps.1
But its says script module not loaded....
Gaurav
Does anyone know vuejs i am stuck with some error
Maxim
Doragonsureiyā
Yes
Anonymous
how can i go with django serverless
Elmir
Hi, when I deploy django project to heroku, I get 'can't open file manage.py' error. Who can help?
Gaurav
How can i use django rest API in django template
Horlarwumhe
Gaurav
I have made blog api want to use in django templates
Elmir
(.venv) elmir@elmir:~/Desktop/portfolio/MySiteProject$ heroku run python manage.py migrate
Running python manage.py migrate on ⬢ safaraliyevelmirpy... up, run.3284 (Free)
python: can't open file 'manage.py': [Errno 2] No such file or directory
Rohan
Most platforms can work with a task definition and a container image
Maxim
Elmir
Raj
Rohan
And be protected against vendor lockin
Rohan
It provides a wrapper around most serverless platforms including lambda and app engine
Elmir
Raj
Rohan
manage.py should be available in root of application
Elmir