RachWalm / VolunteerVillage

Project 4 for Code Institute
0 stars 1 forks source link

Bug: migration datatype error #75

Open RachWalm opened 9 months ago

RachWalm commented 9 months ago

Story

As a developer, I can have the models working so that I can save and retreive the data from the database.

Acceptance Criteria

Tasks

RachWalm commented 9 months ago

Changed the migration file so that instead of containing a date.time in the default where there should have been an integer. It was changed to 1 and now works.

RachWalm commented 9 months ago

https://bilgedemirkaya.medium.com/django-typeerror-field-id-expected-a-number-but-got-datetime-datetime-2020-d9a5c1cddc98