🟢 Denys
Thanks
Pouya
Hello If you please suggest me free courses to learn Django Rest Framework, I would appreciate it Because I live in Iran and economic sanctions don't allow me to buy monetary resources and courses
Please 🙏
Pouya
And I am doing my best to immigrate with the best resume
Дарья
Hello, guys! I have a problem with usage of select_for_update() with select_related() and foreign key can be null. The way with select_for_update(of=(self,)) is not a solution, because I need no lock both tables. How can I avoid this issue?)
vaseem cholakkan
Anyone know whats the difference between using signal or celery to trigger a task while a model is saved to databse (post_save)
Shubhtiwarii
django.db.utils.ProgrammingError: (1146, "Table 'student_management_system.student_management_app_courses' doesn't exist")
Shubhtiwarii
how to resole this error in django please help me
vaseem cholakkan
Shubhtiwarii
first i am doing python manage.py makemigrations command but it will show this error
vaseem cholakkan
Legend
Kofi Middle
Tohirjon Zaripov
Hi guys!
Is there anyone integrate Zoom API with django?
Doragonsureiyā
Hi guys!
Is there anyone integrate Zoom API with django?
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
#me {display: none;}
Hello, guys! Do you have any ideas how to write django package (app) with its own database (for example nosql). This package will be installed to the main project with PostgreSQL DB
Bobosher
#me {display: none;}
Containerization (using Docker, for example) would make your life much easier.
yeap, but I need to write another repo with django package and somehow add separated DB to that, and then, when I will install this package to main django project and add this package to INSTALLED_APPS, there should be two DB connections (one from the main Django project - PSQL, second from package - Mongo)
Targoon
Hello. i deployed a django web application and it works well. static files work as well.
but in django admin, no css or js file is uploaded. should i add static address to hosting provider? if so, how and what?
*my problem is with static files of django admin ui, not the website static files.
Noufal
Hello any body have docs dj-rest-auth customoised email confirmation?
Muflone
Targoon
i do not remember
Targoon
lol
Muflone
i do not remember
Then do it
Django admin static files are not python/Django stuff
They are js and css to serve with nginx, if you don't give them it's obvious it cannot give them you back
Amnas
document_file = self.request.FILES.get('document')
read_data = document_file.read()
print(read_data)
Why it showing io read_data = document_file.read()
^^^^^^^^^^^^^^^^^^^^
ValueError: I/O operation on closed file.
Targoon
Maq
Please help
when I tried serving admin media files, I failed. please kindly help me locating the problem, as I've tried to troubleshoot the problem for several days already with no luck (been googling too and read the django doc about serving static files as well).
I have trouble with downloading media files via admin panel
the interesting part is: file is being deleted, yet downloading it from admin panel results in 404 error
error screenshot: https://imgur.com/a/EiTm5Xm
my settings.py: https://pastebin.com/GYebBmFx
my url.py: https://pastebin.com/0KGUmb8h
MHJ
Name  best youtube channel for Django Rest framework Tutorial
Muflone
Maq
Muflone
Anonymous
how can redirect user to previous location page after login at login page ?
Muflone
Anonymous
Muflone
Noufal
Hi anybody know about customisation of dj-rest-auth email confirmation
Maq
Sure
it is admin unable to provide the file https://imgur.com/a/uqZnzFC
in the console it says «Not Found: /media/tables/empty_price_8rtMptM.xlsx»
but I did set MEDIA_ROOT to absolute path https://pastebin.com/GYebBmFx
Anonymous
What you aren't able to do?
<button type="submit" class="loginBottomLink" value="{{ request.GET.next }}">Log in</button>
request.POST.get('next') is None
Muflone
Muflone
Maq
Maq
Is the file there?
looks like url is not even there, the handler supposed to be generated automatically, right?
Muflone
Maq
what you mean? the media files are indicated from you
I mean when I add
"static(settings.MEDIA_URL, document_root=settings.MEDIA_ROOT)" to my urlpatterns
route for downloading media should be done automatically, and I don't need to create any additional views, right?
Muflone
Vic
Hello. I have one django project and i have some urls in it. I need to make another Django project for buisness analytics - to collect information about client’s behaviour. Maybe you have some ideas how to make a mapping for urls and actions. For example, ‘/services/search’ - «Services check», ‘/payment’ - «Client payed for service». Can i use middleware and what should i send to BI project? Maybe you know some articles?
Legend
Cabrel
My project is as follows, I have to develop a platform for managing employee attendance in a company, allowing them to authenticate themselves on arrival and departure by scanning a qr code generated by the platform. She must therefore scan them to record their parameters such as identity, arrival and departure times, offer the possibility of having a file therefore on each of them at the end of each month, for example. But I don't really know how to do it, I'm new to django, it's a project for school, internship
Doragonsureiyā
Пикелькхаубе
Can you help me? In my application everything works alright, but in unit test these post requests aren't working.
Пикелькхаубе
Response status is 200
Kumar Shreyansh
Hi, please use a pasting service to post your code here ☺️☺️
Пикелькхаубе
Пикелькхаубе
Пикелькхаубе
i found an answer. The problem was because settings object for some reason didn't updated in a variable. So i needed to request it from database once more
Freddy
Django rest framework
Ngdream
hello please which host should I choose knowing that I make an application like google drive
I would like to know that you advise me for the hosting of the frontend
for the backend
and for the database
Jimmies San
Bakhodir
Hi, Can you help.I don't understand why order_by doesn't work
https://linkode.org/#F38jMnt9M4v1xZeTTFq1l7
Tuan
Hi, what is best workflow library that you recommend? Thank you
Charly
Tuan
I mean approval workflow
Charly
Tuan
For example, staff raise a purchase order, and need manager approve it for process
Charly
https://django-river.readthedocs.io/en/latest/
Charly
but I'd just develop for the specific project
Tuan
Thank you
inchidi
Maq
I have problems with media files
I can delete file and upload it, but not download, it says 404
please help me, I n struggling with this for several days now
error screenshot: https://imgur.com/a/EiTm5Xm
my settings.py: https://pastebin.com/GYebBmFx
my url.py: https://pastebin.com/0KGUmb8h
Muflone
Phrêsh
Maq
Phrêsh
Have you tried accessing the media file using it absolute url in the browser
Maq
Maq
Maq
Phrêsh
just tried it, did not work
Then check your configuration. You can try separating the static helper function from the urlpatterns