Thanks for the reply.
I have done the makemigrations/migrate numerous times. Each time it says there is an error in the previous migration file so I have to comment out most of the file. I then just deleted all of the self generated migration files and started fresh.
I was also getting some weird characters in my files like ">>>>random letters & numbers. I deleted all of those & ran the migrations again.
The weird thing is that now when I click on the link it says "unknown column telephone in field list", previously it was first_name that was unknown.
I have this application running on a "similar" computer and it has NO problems with this area so maybe there are some other applications running that cause the problem even though this one is in a virtualenv.
At first glance it looks like you haven't applied a migration to this computer.
at the command line on this computer - in the man project directory :
If you have not copied the migration scripts from your development machine do this first :
$ python manage.py makemigrations
and then do this :
$ python manage.py migrate
No comments:
Post a Comment