Anton
Hello everyone! Pls help. How it possible to remove M2M relation in model method save or in ModelAdmin in save_model method. When i do obj.relation.clean() relation has been removed but it not saved and obj.save() not helping
Fabiano
Hello everyone, can you help me please? I am use mysql on docker and I want to do tests, but I receive the following message: Got an error creating the test database: (1044, "Access denied for user 'django_project'@'%' to database 'mytestdatabase'"). I dont understand what I need to do.
Vikas
Can I hide one coloumn from a database through exclude method in django orm
Adie
Has anyone setup flower for celery?
Doragonsureiyā
Has anyone setup flower for celery?
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
Vikas
Aakash i am asking django queries
Aakash
Aakash i am asking django queries
You must be having ModelForm in your project
Aakash
Or else you can use .defer('field_name')
Aakash
Eg: models.objects.filter().defers('filedname')
Vikas
I have to hide password field
Vikas
Let me try
Akshay
Hey Guys If anyone has best content on django please do share.. I want to start django
Doragonsureiyā
Hey Guys If anyone has best content on django please do share.. I want to start django
Looking for Django tutorials? you can follow these three recommended ones: * Official documentation and tutorial * Tutorial from MDN * Tutorial from django-girls
saman
Hi How from ai At django To use?
Doragonsureiyā
Hi How from ai At django To use?
What are you talking about?
Sanchit
Then put optional fields
Can you share me the relevant link for this
Django
No
Vikas
Can anyone know defer method how it's is work
Vikas
Query
Vikas
Can anyone please help me
Vikas
I have to hide one db coloumn in frontend
Vikas
Ya
Alex
exclude field in form
Faraaz
i am getting these ImportError: cannot import name 'GeoIP2' from 'django.contrib.gis.geoip2' error even tho i installed it
Faraaz
also i made the path right in settings
Faraaz
Share code
okay wait
Faraaz
Share code
this is the code https://github.com/faraazzzz/geoloactor
Faraaz
imported already
Alex
imported already
instead of contrib, directly import
Faraaz
instead of contrib, directly import
then it says ModuleNotFoundError: No module named 'GeoIP2'
Faraaz
pip install geoip2
getting this now ERROR: Error [WinErro r 225] Operation did not complete successfully because the file contains a virus or potentially unwanted software while executing command python setup.py egg_info
👑 Dharmzeey
all_objects = [*Restaurant.objects.all(), *Place.objects.all()]
Caio
Hello all! How do I render in my template the choices field in a pretty way? When I set something like {{ticket.status}} it renders in_progress other then In Progress
Caio
Does anyone knows a way around? Some filter maybe
Caio
Thanks
Alex
Lone wolf
Is there anyone who can help me in website making with django, please
Pintraj
is it mandetory to create a project and virtual environment to desing a webiste using django
Alex
is it mandetory to create a project and virtual environment to desing a webiste using django
if you have the infrastructure and can create conf/management for the entire project then no
Pintraj
if you have the infrastructure and can create conf/management for the entire project then no
no i dont have infrastrucute recently I have learn the django but I want to desing a website. so I have to create project virtual and environment? and how to add the static html page to the project
Bazaroph
I created a json field with django. It works fine locally but once I move to the server and try to run the python manage.py migrate I get this error SystemCheckError: System check identified some issues: ERRORS: website.Profiles: (fields.E180) MySQL does not support JSONFields. WARNINGS: ?: (mysql.W002) MySQL Strict Mode is not set for database connection 'default' HINT: MySQL's Strict Mode fixes many data integrity problems in MySQL, such as data truncation upon insertion, by escalating warnings into errors. It is strongly recommended you activate it. See: https://docs.djangoproject.com/en/4.0/ref/databases/#mysql-sql-mode
Kevin
How could I fix "detail": "CSRF Failed: CSRF cookie not set." I'm using django rest framework with a http PUT
Anonymous
Is there the way to insert a frame with another site inside a Template? Looks like in past 10+ years most browsers became totally prison. Does not allow that.
Anonymous
Is there the way to insert a frame with another site inside a Template? Looks like in past 10+ years most browsers became totally prison. Does not allow that.
""" To protect your security, 127.0.0.1 will not allow Firefox to display the page if another site has embedded it. To see this page, you need to open it in a new window. """ This problem.
Anonymous
How can i creat chat boat for website
Doragonsureiyā
How can i creat chat boat for website
Your question is not related to Django. If it's a Python related question go to @Python group, otherwise please move to @PythonOfftopic group and ask there.
OceanMan
How can i creat chat boat for website
Chat bot for Django website, that's what you mean
Doragonsureiyā
Looking for Django tutorials? you can follow these three recommended ones: * Official documentation and tutorial * Tutorial from MDN * Tutorial from django-girls
ask
hello has anyone added a STAX payment to site? its API documentation difficult to understand, can you give an example of integration with Django. thank you
Doragonsureiyā
hello has anyone added a STAX payment to site? its API documentation difficult to understand, can you give an example of integration with Django. thank you
These single steps will help you a lot: 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
ask
I searched but didn't get info
Somebody
suggest me a project in django so that i can mention in my resume
Somebody
tell me a good project in django .
Somebody
your. own. project.
i dont get it
Somebody
Telegram clone
ya . its take long time. if you have time ,why we don't make it a group project
Maxim
i dont get it
do i understand correctly that you are asking about a ready-made project that you want to pass off as yours?
Maxim
no. i mean which type of project i should do for my placement
ask the same question at @pythonofftopic don't forget to delete here think about how to make your question not look like a cheater's question
Sayidbek
no. i mean which type of project i should do for my placement
https://dev.to/shivamrohilla/top-5-django-projects-that-can-get-you-a-job-1mn3
Law
1. Show all loans, copies, books and their author in a given date range, that is, start date and end date. How would you do this query in Django?
Lone wolf
How to add subtitles to a video to a website you made for uploading video using django framework Is there anyone who can help??