I can't see why not - as far as Python is concerned a callable is a
callable.
There is a deep in the weeds way for a caller to determine if a callable is
a __call__ method on a class, but I really doubt Django does anything close
to that - what would be the benefit.
On Wed, May 15, 2024 at 8:39 P
Hi. I need help on implementing
Cascading drop downlist in django using functional based views and manual
forms.
***Kateregga Julius*
*Email: julikats2...@gmail.com *
*Kampala-Uganda*
*Skype: Katslog*
--
You received this message because you are subscribed to the Google Groups
"Django users" g
Yes, in Django, a view function in a URLconf can indeed be a callable that
is not necessarily a function. You can use classes with a `__call__` method
as views, often referred to as class-based views (CBVs).
Class-based views offer more flexibility and organization than
function-based views in som
Yes, in Django, a view function in a URLconf can indeed be a callable that
is not necessarily a function. It can be a class-based view where the class
has a `__call__` method, effectively making it callable. This is a common
practice and allows for more flexibility and organization in your code.
Hi,
I'm surprised I don't know this, but: Can a view "function" in a urlconf be a
callable that is not actually a function, such as a class with a __call__
method?
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group
Hi Teams,
how can we create live streaming application when we are using react.js in
frontend and django rest framework in baackend
--
You received this message because you are subscribed to the Google Groups
"Django users" group.
To unsubscribe from this group and stop receiving emails from i
6 matches
Mail list logo