Skip to content

review modles is missing an on_delete positional argument #51

Description

@standaloneSA

New generic install from both PyPi and Github result in an error when running

python manage.py runserver:

`
File "/home/bandman/code/findscience/env/lib/python3.6/site-packages/review/models.py", line 22, in

class Review(models.Model):

File "/home/bandman/code/findscience/env/lib/python3.6/site-packages/review/models.py", line 42, in Review

content_type = models.ForeignKey(ContentType)

TypeError: init() missing 1 required positional argument: 'on_delete'
`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions