Closed adamdoty closed 1 year ago
I tried to change the coupon model fields names, but keep getting these errors. It seems Django has built-in migrations.RenameField
but I may not be using it correctly. I tried to make a manual makemigrations file to fix this, but it didn't work.
Error message:
django.core.exceptions.FieldError: Unknown field(s) (reason_for_coupon, reason_for_coupon_date, coupon_recipient) specified for Coupon
I would not build migration files manually, let me check ...
Building coupon model in progress