CommentForm inherits from both ModelForm and “forms”.  I don’t know what 
“forms” is, but PEP-8 says all classes should be capitalized.  If forms is a 
base class that has already defined Meta, then you need to have CommentForm’s 
extend it.  So change the line to class Meta(forms.Meta):

> On Oct 28, 2021, at 8:18 PM, Sabbir Hasan Munna <[email protected]> 
> wrote:
> 
> 
> <Annotation 2021-10-29 081743.png>
> 
> -- 
> 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 [email protected] 
> <mailto:[email protected]>.
> To view this discussion on the web visit 
> https://groups.google.com/d/msgid/django-users/f7d8a010-0f68-437c-b3df-ec99a4460aafn%40googlegroups.com
>  
> <https://groups.google.com/d/msgid/django-users/f7d8a010-0f68-437c-b3df-ec99a4460aafn%40googlegroups.com?utm_medium=email&utm_source=footer>.
> <Annotation 2021-10-29 081743.png>

-- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/E4AE72BA-48B0-4AD8-9D63-4AE9663F7C10%40gmail.com.

Reply via email to