Been there. Done that. Many times!!! Still can't find the field list
that it is complaining about.
What is really weird is that the same code runs on 2 other computers
without any errors.
On Wednesday, 02 May, 2018 09:16 PM, Matthew Pava wrote:
“>>>>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:*django-users@googlegroups.com
[mailto:django-users@googlegroups.com] *On Behalf Of *Gerald Brown
*Sent:* Wednesday, May 2, 2018 4:08 AM
*To:* Anthony Flury; django-users@googlegroups.com
*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 django-users+unsubscr...@googlegroups.com
<mailto:django-users+unsubscr...@googlegroups.com>.
To post to this group, send email to django-users@googlegroups.com
<mailto:django-users@googlegroups.com>.
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 django-users+unsubscr...@googlegroups.com
<mailto:django-users+unsubscr...@googlegroups.com>.
To post to this group, send email to django-users@googlegroups.com
<mailto:django-users@googlegroups.com>.
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
<https://groups.google.com/d/msgid/django-users/21802186cf2749e6b6e191e8fc78ce26%40ISS1.ISS.LOCAL?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 django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
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/9ad1a0d3-9243-a539-e584-b9f1fcb78962%40gmail.com.
For more options, visit https://groups.google.com/d/optout.