pinax-comments
pinax-comments copied to clipboard
AttributeError: 'str' object has no attribute '_meta'
I'm already following the tutorial instruction, but when I run via npm run dev, I have this error:
File "/home/mavis/.virtualenvs/pinax_project/lib/python3.6/site-packages/django/contrib/contenttypes/models.py", line 27, in _get_opts model = model._meta.concrete_model AttributeError: 'str' object has no attribute '_meta'
Does anyone know?
I'm not sure atm. I googled the error and there were a lot of different things that could be wrong. You might want to look through and do the same.
I have encountered the same issue while including the snippet from docs. (see attachment) Also, I had to load {% load pinax_comments_tags bootstrap %} too, which was not written in docs.