كاظم رياح
Hello I'm from Iraq Do you can help me
Doragonsureiyā
Hello I'm from Iraq Do you can help me
Please don't ask meta questions like: "Any user of $x here?" "Anyone used technology $y?" "Hello I need help on $z" Just ask about your problem directly! With a very high amount of people here the probability that someone will help is pretty high. Also please read: http://catb.org/~esr/faqs/smart-questions.html
Compro
There is a bug I want to confirm
Compro
I was following answers from https://stackoverflow.com/questions/851636/default-filter-in-django-admin
Compro
But link beside search field(in list view) doesn't actually know about custom filters(shows total count as a description of the link) and always resets the url to have no parameters.
Compro
This causes to have the custom filter to get confused as there is no standard way to tell if we want all items in queryset or not. Depending on None is not a good way it seems.
Ярослав
Has anyone read this book? https://spellbookpress.com/books/temple-of-django-database-performance/
Ярослав
Is it worth it to buy or not?
Alex
Has anyone read this book? https://spellbookpress.com/books/temple-of-django-database-performance/
No, but the topic is really important. All projects I worked on had mid-to-major problems with database perfomance. And not only perfomance - broken connection, extensive usage of ram and so on. That way I learned to respect DBs. I cannot give recommendation regarding this book, but you defenetly should read something about SQL. Like Alan Beauly "learning sql"
✙Yaroslav
hi guys. Which Can i use for my mobile app backend stack? It can only be FastAPI or DRF?
✙Yaroslav
Or can i use full-fledged django?
Mindru
Hello guys, I want to use django channels with unicorn and docker, can someone give me some tips how configure dockerfile and docker compose better?
Roman
Hi guys, how can I ovveride initial method of serializer in DRF ?
Anders (izzno / gooood) 🇳🇴
Why unicorn and not Daphne?
Mindru
In the same way you do without channels
I have to have another container besides that with gunicorn which will run uvicorn?
Mindru
Why unicorn and not Daphne?
which one is better?
Mindru
question
Anders (izzno / gooood) 🇳🇴
🤔
Mirco
question
So explain it better or make a better question
Anders (izzno / gooood) 🇳🇴
There's no difference between running channels and "Django" < 3.0 (docker wise)
Anders (izzno / gooood) 🇳🇴
Just replace wsgi server with a asgi server, but this is very well explained in docs. So I think maybe we are not understanding your question?
Anders (izzno / gooood) 🇳🇴
Or uvicorn 😛
😂😎 Cellphone
Anders (izzno / gooood) 🇳🇴
which one is better?
It's not about that, Daphne comes with channels and thus is less complicated. So maybe you did not do the channels tutorials?
Mindru
thanks, Anders
Anders (izzno / gooood) 🇳🇴
thanks, Anders
Thanks @pyflare 😉
Mostafa
hi guys. Which Can i use for my mobile app backend stack? It can only be FastAPI or DRF?
It can be anything depending on your app but i suggest DRF if you are going with RestfulAPI
Mostafa
Or can i use full-fledged django?
Yes you can develop it only with Django
✙Yaroslav
Yes you can develop it only with Django
but if I have a kivyMD app, can I use without Django?
Mostafa
but if I have a kivyMD app, can I use without Django?
So what are going to use for developing the API ?
✙Yaroslav
Maybe DRF or FastAPI
Mostafa
Maybe DRF or FastAPI
I think DRF is better
✙Yaroslav
So what are going to use for developing the API ?
but I dont know if I need Django?
Mostafa
but I dont know if I need Django?
Well if you are going to use DRF you are going to use Django to DRF = Django Rest Framework
Mirco
I think DRF is better
In terms on benchmark, that's not true FastAPI is currently faster
Mirco
IDK man i just like DRF
And I'm giving you more info to help you learn something new 😁
Mostafa
Udasi
How can I use expression in a statement in django templating? {% ... {{..}} ... %}
Mirco
Thanks but im still going to use DRF 😂👍
Yup, at the moment me too ( but it depends on the project 😁 )
Mostafa
Yup, at the moment me too ( but it depends on the project 😁 )
Yeah i said that it really depends on the project 👌
✙Yaroslav
Well if you are going to use DRF you are going to use Django to DRF = Django Rest Framework
I know, that DRF= Django Rest Framework. I have experience working with Django, I have couple web-project on Django, but now, I am learning a Kivy and KivyMD, this is a mobile development, in mobile development I for the first time. and as I understand it, my front is a mobile app, and back is either DRF or FastAPI. if I use only DRF or FastAPI, it will be normal? Do I need Django own frame?
Mirco
FastAPI is not related to Django
Mirco
Good for u 🙂
✙Yaroslav
Good for u 🙂
so I calmly lift the app to DRF and pass the api to my mobile app, right?
Harshit
I want to create chat feature for my web application, where i can display last seen, online or offline, typing. Best way to do this ?
Naga Jyothi
Do anyone know about react and django rest api
Mostafa
Do anyone know about react and django rest api
share your questions and probably many will answer !
Naga Jyothi
I want to create a simple login authentication page with react as front end and django as backend using rest api. Help please
Naga Jyothi
Actually working on a project. Need this login thing in my project
Alex
In terms on benchmark, that's not true FastAPI is currently faster
The simplest the problem solved by the tool, the better performance it will get. And most of the benchmarks don't test the additional features provided by the tool. Just learned about this framework from your conversation. Doesn't look like something inspiring
Alex
I mean comparing to DRF
Alex
But it is simply my opinion. I don't call for discussion.
Mirco
👍🏻👍🏻
Gil
It s easy to integrate fastapi with django auth backend, and jwt? I will need for a project that i m finishing. I would like to put, for the website django allauth too.. too much thinks not knowed for me 🙈
Sparsh
Yes django api easy to integrate
Gil
And what about ORM ( with fastapi, instead of drf)? SQLAlchemy ?
Alex
And what about ORM ( with fastapi, instead of drf)? SQLAlchemy ?
Actuall you can use django's orm without the rest parts of the framework.
Lelouch
Hey guys want to add upvote downvote feature on specific post ( created by user ) Any suggestion ?
Alex
And what about ORM ( with fastapi, instead of drf)? SQLAlchemy ?
Also if you need something REALLY simple, then you can try python walrus. it's python ORM for redis.
Doragonsureiyā
i am a new member i was not muted for any second 😂😂
Looks like you need a offtopic group, please continue this conversation at @pythonofftopic
Prithvi
Send me study materials for django and some projects please