Am having hard time learning django...can someone please get in touch...I will be really grateful... thanks
Get Outlook for Android<https://aka.ms/ghei36> ________________________________ From: django-users@googlegroups.com <django-users@googlegroups.com> on behalf of Nilima Dahal <nilimadaha...@gmail.com> Sent: Friday, November 6, 2020 1:11:59 PM To: Django users <django-users@googlegroups.com> Subject: Hello ! I'm having some issues in django unit testing. Is there anybody to help ? Hello ! I'm having some issues in django unit testing. Is there anybody to help ? I'm having confusion in testing django mixins . Can anyone share his/her git with such unit testing or have some experienced shareable codes. how do I test this ? def dispatch(self,request,*args,**kwargs): if self.request.user.is_superuser: return super().dispatch(request, *args, **kwargs) return self.handle_no_permission() -- 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<mailto:django-users+unsubscr...@googlegroups.com>. To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/44f22b97-7499-4762-92d2-59fa6dd6ad8bn%40googlegroups.com<https://groups.google.com/d/msgid/django-users/44f22b97-7499-4762-92d2-59fa6dd6ad8bn%40googlegroups.com?utm_medium=email&utm_source=footer>. -- 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/AM6PR03MB595708923241D013CF47325AA7EC0%40AM6PR03MB5957.eurprd03.prod.outlook.com.