“>>>>random letters & numbers”

That looks like merge conflicts with Git.  You’ll want to fix those up, not 
just by deleting those lines, but by verifying the code does what you want it 
to.
You may want to just delete all of your migrations files and start anew if 
they’re not important to you.


From: [email protected] [mailto:[email protected]] On 
Behalf Of Gerald Brown
Sent: Wednesday, May 2, 2018 4:08 AM
To: Anthony Flury; [email protected]
Subject: Re: OperationalError


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.

On Wednesday, 02 May, 2018 03:00 PM, Anthony Flury wrote:
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

--
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to 
[email protected]<mailto:[email protected]>.
To post to this group, send email to 
[email protected]<mailto:[email protected]>.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/5499b870-33e8-52db-85e2-df835be17e87%40gmail.com<https://groups.google.com/d/msgid/django-users/5499b870-33e8-52db-85e2-df835be17e87%40gmail.com?utm_medium=email&utm_source=footer>.
For more options, visit https://groups.google.com/d/optout.

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To post to this group, send email to [email protected].
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/21802186cf2749e6b6e191e8fc78ce26%40ISS1.ISS.LOCAL.
For more options, visit https://groups.google.com/d/optout.

Reply via email to