If your wish whatever you want to use, all you have to use is the “request” variable that Django gives you. Btw see “generic views”. Sent from Mail for Windows 10 From: yashwanth balanagu why in views we use def(functions) and model we use class, why not we use def(fuction) in models and class in views -- 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 it, send an email to django-users+unsubscr...@googlegroups.com. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/42275F4A-510E-4C3B-B5CA-14C4D4156228%40hxcore.ol. |
- why in views we use def(functions) and model we use cla... yashwanth balanagu
- RE: why in views we use def(functions) and model w... Vishesh Mangla