Hi,
It seems strange that it would be trying to convert a "date" column to an
integer.
Since you're creating a new database from scratch, you could try deleting
your migrations and generating them from scratch to see if that helps.
Otherwise, what does your "app_1.0003_auto_20141126_2333" file
The error occurs during migration.
The following shows the complete traceback.
Thanks.
% python manage migrate
WFK: BASE_DIR= /home/bill/django/wfkprojs/proj1
WFK: STATIC_PATH= /home/bill/django/wfkprojs/proj1/app_1/static/
WFK: MEDIA_ROOT= /home/bill/django/wfk
The error is probably in code you wrote that uses the date field. Can you
post the full traceback? That will let us see where the caller was that
created the problem.
On Tuesday, February 17, 2015 at 3:13:30 PM UTC-5, tony@gmail.com wrote:
>
> I have written a simple Django app (my first) th
I have written a simple Django app (my first) that works with sqlite3
database.
I want to change to postgres, but when I run the Django 1.7 migration
utility with the command
"python manage.py migrate"
I get the error:
psycopg2.ProgrammingError: column "date" cannot be cast automatically
t
4 matches
Mail list logo