Артём
Guys, hello everyone. I might have a slightly stupid question. The thing is, I'm new to python and don't know if it's worth starting to learn Django now? Does he have any prospects? Thanks in advance
Anonymous
Anonymous
bikrant
What are possible questions that can be asked in job interview for a developer role based on django react?
Deleted
🆘🆘🆘🆘🆘🆘🆘🆘🆘🆘🆘🆘🆘🆘
https://stackoverflow.com/questions/67633954/add-django-native-authentication-as-the-second-layer-of-authentication-after-us
🆘🆘🆘🆘🆘🆘🆘🆘🆘🆘🆘🆘🆘🆘
Stack Overflow
Hello
Can anybody tell me how do I get the user location like latitude, longitude in django
Anonymous
Hello
Use request.META
Kk what if I want create a model field to store that value
Anonymous
Kk what if I want create a model field to store that value
qq:
Use ipaddressfield if you wanna store users ip
Also you can collect things like useragent, ip address etc. For useragent you can use charfield
If you know not big piece of JavaScript, you can collect info about users device.
To retrieve geolocation you can send users ip to some service api endpoint, and in response you get location
But, I think you have to make users know that you collect this data
Artem
How to delete password field from Django AbstractBaseUser? I've tried a lot of things, but nothing helped me at all.
Amir
Hi,
I have a problem with django when using mongodb as Database
here is my question
I really appreciate any help and response
https://stackoverflow.com/questions/67656602/django-query-to-get-count-of-all-distinct-values-for-column-of-mongodb-arrayfiel
Artem
𝙼𝚘𝚘𝚕𝚎𝚛
elementary question, getting this error:
The current path, notify/1/vote/, didn’t match any of these.
views.py
def vote(request, question_id):
return HttpResponse("You're voting on question {}.".format(question_id))
urls.py
path('<int:question_id/vote/', views.vote, name='vote'), #urlpattern
𝙼𝚘𝚘𝚕𝚎𝚛
Anmol
Can anyone send me study material ??
Shiv
Hi I want to write test cases for views.py calls
Shiv
Can someone point me place where I can find
Anonymous
Who has frontend codes for practise in django
Anonymous
Jay
Anonymous
William
Most of the books are either available in pdfdrive or zlibrary sites
𝙼𝚘𝚘𝚕𝚎𝚛
error in urls.py
yeah, it would be great if u tell me where it went wrong
Anonymous
Daler
𝙼𝚘𝚘𝚕𝚎𝚛
Daler
𝙼𝚘𝚘𝚕𝚎𝚛
𝙼𝚘𝚘𝚕𝚎𝚛
Anonymous
Anonymous
Hello friends
Can you tell that how can we make the like system in django or suggest any video related to it.
For example we can add comment by using the form.py
But how can we make the like system?
Amir
Ted
Robz
React or vue will be good for django..for beginner
shashikant
I am using list_filtet in my admin and passed foreign key field like ('author__name',).but in my django admin,I get the filter with (by name )only.need your help guys . Thanks
Amir
Ghorz
pat
Simple question guyz..
I'm learning Django right now..
Is it possible to make half of my website static to host documentation with mkdocs and the other half dynamic?
Will it work if I simply install mkdocs in the static folder in django?
Or do I need to install mkdocs in a new app in django?
Hard to find some good tutorial on Google..
Thanks for your help
Anonymous
Anonymous
pat
Anonymous
Anonymous
I get it
Thank you very very much
God bless you
But I recommend you to don't serve documents like static files because they're not (css, js, etc.). Your website can have 3 parts that makes its structure better (urls are just for example):
1- Main django app => example.com
2- Django app's static files => static.example.com
3- Docs => docs.example.com
Serving docs is like serving static files by webserver
pat
Anonymous
who wants a quick job paid in bitcoins and if your good we will work longterm and you will get paid in bitcoins daily minimum $500. dont reply if you sound like police or you think i am lying. looking for a old school python coder to make good money. no newbies!
ко жели брзи посао плаћен у битцоинима и ако је ваше добро радићемо дугорочно, а ви ћете бити плаћени у битцоинима дневно минимално 500 УСД. не одговарај ако звучиш као полиција или ако мислиш да лажем. тражећи стари школски питхон кодер да би добро зарадио. нема новајлија!
Anonymous
In Django channels, self.scope['user'], always shows anonymous user, please help.
sunita sharma
Scrapy module in python ? Im Not able to extract the pound symbol properly in json format while scraping using scrapy module in python ..instead of showing pound symbol ..its showing some code \u00a3
John
How to add a custom input boolean field in a model serializer
John
I'm able to insert it in serializer but not able to input the boolean value
Anonymous
who have expert in react django rest orm
Anonymous
Doragonsureiyā
who have expert in react django rest orm
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
Ejas
Hi Django Lovers,
I had a trouble with one of my projects recently.
The front end was calling the GET API continuously (Some Mistake)
And the Server Usage went to 100% and then Disk IO too.
Which is the best things to take care to prevent these?
I am using Nginx & Gunicorn to Deploy the project
Should I try changing the Nginx configurations?
Ajitesh
Husain
Guys any libraries you can suggest to convert django apps to microservices
Himanshu
I am trying to make a custom authentication where i login only with the user id without password . i searched over the internet but i couldnt find a good/working answer . i m new to django maybe this is the reason for why i cant find a solution . can anyone help me to solve the problem ?Thanks
Sai
Nimesh
Nimesh
yourapp.auth_backend.PasswordlessAuthBackend
Use this
Nimesh
After this you can call authenticate without password
Nimesh
authenticate(username=user.username)
Like that
Anonymous
How can we send message from admin to specific user
Using django
To transfer data from I app to another app ?
Owolabi
Hello guys, please how can I pass user ID to serializer for validation. Thanks
Ejas
Ejas
serializer = ProductSerializer(context = {'request':request},data=request.data)
Ejas
def create(self, validated_data):
user = self.context['request'].user
print("User is")
print(user)
Ejas
rohittt
Can anyone tell me?
rohittt
Iam making template by using os method in 3.2 django version. However,while writing template name in setting. Py . It says template doesn't exist??
Mirco
Abdulaziz
Good day which tutorial if better for rest framework API?
Mirco
rohittt
Mirco
Means?
It means you have to study Django basics