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

content_object is not a Django model - manager.py:33 #28

Open
DigitalOriginTech opened this issue Nov 29, 2021 · 0 comments
Open

content_object is not a Django model - manager.py:33 #28

DigitalOriginTech opened this issue Nov 29, 2021 · 0 comments

Comments

@DigitalOriginTech
Copy link

I'm reviewing DTA for use on an existing site. I'm currently stuck at a brick wall of an error that I don't believe has been discussed yet.

Django==3.2.9, DTA==1.1.1

--- Loading a view that's using ---
Tracker.objects.create_from_request(request, local_model_object)

--- Error ---
AssertionError at /account/
content_object is not a Django model

--- manager.py:33 ---
assert issubclass(content_object.class, models.Model)

Please let me know what else I can provide to help me get past this issue. I thank you in advance.

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

No branches or pull requests

1 participant