Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttributeError: 'str' object has no attribute '_meta' #27

Open
agunghernanda17 opened this issue Jan 7, 2020 · 2 comments
Open

AttributeError: 'str' object has no attribute '_meta' #27

agunghernanda17 opened this issue Jan 7, 2020 · 2 comments
Labels

Comments

@agunghernanda17
Copy link

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?

@KatherineMichel
Copy link
Member

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.

@selcuko
Copy link

selcuko commented Aug 23, 2020

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.

2020-08-24-000105_1024x600_scrot

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants