Fan / Ac
https://bin.kv2.dev/~61dc4170410e7c32e6697cb5
btw whatvwas your problem ?? can you make it more clear
Fan / Ac
also can you print [settings.EMAIL_HOST_USER] in the function and verify its providing the mail you need did you set settings.EMAIL_HOST_USER ?? are you sure you need to send the settings.EMAIL_HOST_USER ?? also check example from doc https://docs.djangoproject.com/en/4.0/topics/email/
Haresh
Hey can anyone say how can we use filter using filter_param?
Fan / Ac
Hey can anyone say how can we use filter using filter_param?
https://docs.djangoproject.com/en/4.0/topics/db/queries/
Anonymous
Hello I want to implement autocomplete in django form drop-down with a multi select, any idea
Fan / Ac
Hello I want to implement autocomplete in django form drop-down with a multi select, any idea
https://stackoverflow.com/questions/53401696/django-autocomplete-based-on-drop-down-selection https://stackoverflow.com/questions/50380769/how-to-create-a-autocomplete-input-field-in-a-form-using-django
Shilpy
Can anyone give me idea on full text search in Django for MYSQL?
Anonymous
https://stackoverflow.com/questions/53401696/django-autocomplete-based-on-drop-down-selection https://stackoverflow.com/questions/50380769/how-to-create-a-autocomplete-input-field-in-a-form-using-django
Thank you, but my problem is that I have a JSON data that I want to search through on a drop-down. I have implemented this part, What I do not know how to do is implement the search and autocomplete
Anshu
Can anyone give me idea on full text search in Django for MYSQL?
Just get the query from the input field and compare it with the data and get the result
Shilpy
And is it possible to use the same queryset for two different functions of different classes?
Beben
Hi, I have problem to show mongo objectId on django template. I read https://stackoverflow.com/questions/24936601/django-templates-and-mongodb-id and still couldn't get the good good result, anyone can help me?
Shilpy
What do you different queryset??
Actually I am using ListAPIView and Pagination Class. And in both these the same queryset is used. So I am trying to reduce it to 1 to avoid hitting database twice
Jobir🇺🇿
hello every one
Jobir🇺🇿
i need django teacher
Amir
Thank you, my problem was solved
Jobir🇺🇿
youtube.com
thahks🤣
Almaz
Hello, everyone! Please, who can help me? https://dpaste.org/CTLO
Tukhtamurod
Here i can't even run the server
that port might already be occupied
Tukhtamurod
try another
Charly
Hello, everyone! Please, who can help me? https://dpaste.org/CTLO
you don''t have a running database on localhost
Shilpy
i need django teacher
I know a person who can teach you Django very well. You can DM me for more details if interested.
Jobir🇺🇿
ok
Naresh
Can any one send crud Operation using ajax with validation tutorial or sample code
Naresh
It would be helpful for me to learn
Anonymous
Okay thanks
Do check 👇 https://medium.com/@9cv9official/creating-a-django-web-application-with-a-postgresql-database-on-windows-c1eea38fe294
Вячеслав
Hello, everyone! How to generate csrf token manually and set it to user which can be authenticated manually (in the view)
William
Hello, everyone! How to generate csrf token manually and set it to user which can be authenticated manually (in the view)
If you are not using Django Rest Framework then don't do this. Still, If you want to generate in your javascript file you can search in google regarding Django generate CSRF token
pranav
{ "non_field_errors": [ "id field is required" ] } how to solve this error ?
Ffffff
can someone help me? the issue:https://stackoverflow.com/questions/70671825/how-to-grab-a-data-from-existing-field-in-django
Ffffff
I know what is this
Ffffff
I have attributes on input tag
Ffffff
But how to use it in views.py
Anshu
But how to use it in views.py
Get the data with request.POST
Anonymous
how to handle double nested serializer ?
Anonymous
what's the problem?
i have no ide how to handel double nested serializer crate methord
fateme
i have no ide how to handel double nested serializer crate methord
has no different with a common serializer🤔
Anonymous
Guys how to migrate the models to an existing database without deleting the existing tables in that db
Anonymous
has no different with a common serializer🤔
https://paste.ofcode.org/5TWWtZ2QsEuGxf3QfwXTgN can you provide little help
Anonymous
I want to add my tables created in models to the existing database tables with out deleting them
Anonymous
It's other database created by my friend
Sai
It's other database and your migrating to same Db
Shukurillo
ImportError: Could not import settings 'lenzo.settings' (Is it on sys.path? Is there an import error in the settings file?): cannot import name _uuid_generate_random it says so, when I do python manage.pu runserver
zubairspov
Is posting freelance project opportunity allowed in this group?
Doragonsureiyā
Is posting freelance project opportunity allowed in this group?
Read the rules before any activity: @PythonRules
𝑳𝒆𝒈𝒆𝒏𝒅?
ImportError: Could not import settings 'lenzo.settings' (Is it on sys.path? Is there an import error in the settings file?): cannot import name _uuid_generate_random it says so, when I do python manage.pu runserver
so your file manage.py does it look like this? import os import sys if name == "main": os.environ.setdefault("DJANGO_SETTINGS_MODULE", "bookings.settings") from django.core.management import execute_from_command_line execute_from_command_line(sys.argv)
𝑳𝒆𝒈𝒆𝒏𝒅?
if yes: 1. Check it in your shell with: $ python Python 2.7.3 (v2.7.3:70274d53c1dd, Apr 9 2012, 20:52:43) [GCC 4.2.1 (Apple Inc. build 5666) (dot 3)] on darwin Type "help", "copyright", "credits" or "license" for more information. >>> import sys >>> for path in sys.path: print path
𝑳𝒆𝒈𝒆𝒏𝒅?
If not, you need to add it or just move your bookingsapplication to one of the paths provided in your cs.path
Alireza
Hello I just started Django I made a series of changes inside my model, when Migraite gives me the following error I also set the default value, but received the same error again django.db.utils.IntegrityError: column "group_id" contains null values
Alireza
oh no😱 There is no other way
Alireza
I put a null = true for the fields
FA
How can we update data in django rest framework
Shubham
how to handle double nested serializer ?
If u can use read_only=True if you don't want to use the nested serializer
Anonymous
Shubham
I think u will have to override the def create of your serializer and handle the other serializer. If validation gives u problem then validation method can be also overridden of the serializer
Anonymous
i know i need to override the create method but how to make nested create method ?
Shukurillo
May you give some resources to learn uWSGI?
Vadim
Hello, How do I make my Django site accessible to local computers?
Bharat
Anyone know how to use custom exception handler ?
Pravin
Hello, How do I make my Django site accessible to local computers?
Connect in same network and run the command... py manage.py runserver 0.0.0.0:8000 Then go to ip-address:8000
Vadim
I launched "Django version 4.0.1, using settings 'hello.settings' Starting development server at http://0.0.0.0:8000/ Quit the server with CTRL-BREAK.". But the other computer has no access.
Armin
Anyone know how to use custom exception handler ?
https://www.askpython.com/django/django-exception-handling read it and if you need help ask other question