goku
Hello everyone
goku
Does anyone know about token authentication in Django I want to make an API and connect it with my app
goku
I want to make an API which will send a token to frontend and user don't need to fill password again it will just check token connect it with my app
cj
Zoha
Hii
Can you help me find the best way to learn django?
Furqan
Lugano
Collecting staticfiles throws ImproperlyConfigured - Stack Overflow
https://stackoverflow.com/questions/27213752/collecting-staticfiles-throws-improperlyconfigured
Lugano
Lugano
i just don get it
goku
Can anyone send any good article or video where I can learn about drf token authentication
Anonymous
Hi i had a problem storing latitude and longitude values usiny mongodb database i was using decimalfield to store these location values but it gives db error tht mongodb does not support decimal field. Can someone suggest me a better idea to store latitude and longitude values using mongodb and django
cj
cj
otherwise don't use MongoDB (why are you using it at first?) and use PostGIS
Lugano
Sarjat
Guys i was just thinking how can i implement friend request mechanism
Sarjat
Can anyone help with this?
Sherlock
Hi,
Error:
AttributeError: type object ‘ModelName’ has no attribute ‘_meta’
I am getting this error wen i try to register one of my model to admin.py
Any help?!
Root
Sherlock
https://pasteboard.co/JyRvbQu.png
Sherlock
https://pasteboard.co/JyRvwfz.png
Sherlock
Solved.. thanks..
I missed to pass models.Model in first line
Root
Sherlock
Thanks☺️
bikrant
Can we flutter as frontend and django in the backend for a website
Laxmi
Anonymous
Can we change the value of context dictionary in django temple?
Anonymous
With assignment operator
Baggy ️️
Baggy ️️
Frontend is obviously simple
my
Anyone know how to pass current user I'd while user enter a model data(that I want a user send a data to dB then want know which user do this)
my
Sadra
my
I want the data in a model field (created_by).
Then how I pass it directly
Manikandan
I want to store image in google drive and that url link stored in db its possible . If its possible how plzz tell any link about this
Saurabh
Ghorz
Anonymous
Use postgresql
Mongodb is clients requirement u see , and i know there is a way out of this . I m making some silly mistake
Ghorz
You can use geo-django
Max
Hello! Please tell me how best to organize working with databases in Django in this situation? The external database is incomplete and does not have all the relationships (MySql). So I wrote my database in models on Sqlite. When we will start testing, we need to take data from some tables from mysql... Does anyone know how to do this?
Baggy ️️
How do you connect your dB in Aws windows server any idea?
Baggy ️️
Local mysql db
Baggy ️️
It's working fine with sqllite
Max
I will connect to the external database via the settings.py file, specifying the host/port/password. it will also be available via the api. it's just that the server hasn't been raised yet, but when it is, I need to output data from some of the tables there. I would like to maybe overwrite them in my database, but I don't understand how to do it?
I'm sorry, if I misunderstood
This is my first project
Amd64
https://pasteboard.co/JyXgl7x.png
Full stack developer (React, Django)
how to a queryset to a list or object
Mourya
How to write django get api give response for 200 hits
Amd64
yes
Mourya
Anyone
Mourya
??
Manikandan
Search button in djangoo
Khumoyun
Hello, I want to implement authentication with email or phone number and also password
And I have no idea
P.S I have field which is client can enter phone number or email number. I need handle it what client enter to login
Full stack developer (React, Django)
aleks-th
Didn't understand
Point by point.
1. What did you do?
2. Sample code?
3. What do you want to do?
4. What exactly is unclear ?
Baggy ️️
Doragonsureiyā
Anyone
Maybe anyone is here, yes, but they are not obliged to read everyone's message here neither to reply to everyone's message, if someone wants to reply to your message, they will do that, just don't try to draw attention to your message writing "anyone?" every 5 minutes, that will lead you to be warned for SPAM/Flood, just be patient or use Google/DuckDuckGo to research about your question instead of wasting time here waiting for people to do your work.
Have a nice day 😊
Baggy ️️
He is really good
Khumoyun
Mourya
*
Hey!
I've tried following the Django-Channels tutorial (https://channels.readthedocs.io/en/stable/tutorial/part_1.html).
For some reason, it doesn't work as supposed. They ask you to open the chat
in two browser tabs and send a message. The message is supposed to appear in both tabs.
However, it appears twice, and only in the second tab.
I'm absolutely sure to have followed the tutorial by the letter. I've uploaded
the resulting code here: https://github.com/nesvoboda/problem_with_channels
Could you please take a look and help me to figure out what's wrong?
My Django version is 3.1.3, Channels is 3.0.0.
The channel layer backend is Redis, but I have the same results using the in-memory backend.
Sarjat
Anyone who knows django channel , websockets and is interested in working on my source code DM me...
Vxvek
Can any one help me to slove this.. , the problem is that I have a table which get values dynamically., in that table each row has a button which onclick bring a pop window.. And in that pop window I need to show the details of that row..can anyone help me this ? Please
Anonymous
how can I use react with django server side?
Doragonsureiyā
how can I use react with django server side?
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
bikrant
Can anyone suggest which is better to learn for web development react or flutter ?
bikrant
Yes I googled that , as I'm just a fresher and build project for portfolio not for clients/production
bikrant
I think flutter is more in demand now than react so it's better to learn flutter
*
React is arguably more popular/widespread, so more job offers/stack overflow questions
*
I don't think that Flutter is widespread at the moment as a web frontend framework, but you can Google the actual data on job offers/framework popularity
bikrant
Ok thanks I'll search on that
Sarjat
Can anyone explain the meaning of this line in models.py
Sender=models.ForeignKey(settings.AUTH_USER_MODELS)
please explain the meaning of setting.AUTH_USER_MODELS
cj
Khumoyun
Hello,
Question: How validate international phone number with regex?