[Fixed]-Django: model object "has no attribute '_meta'" in class based view

14👍

Change:

class Project(models.Manager)

to:

class Project(models.Model)

because models.Model is actual class you must extend to create custom models, and managers are actually used to override database operations models are involved in.

Leave a comment