WebFaction
Community site: login faq

Hi,

I have upgraded to django 1.4 using the tutorial given in the docs. Upgrade went ok. However when I tried to migrate database changes (timezone related modifications mainly) I get this error:

  File "<string>", line 1
    SouthFieldClass(default=datetime.datetime(2012, 4, 17, 8, 55, 5, 18458, tzinfo=<UTC>))

pytz is installed, too. I am still in development so I can start from scratch. I tried to delete migration history (directory and database table) and start with --initial flag but I still get the same error.

Any ideas what to do now?

asked 17 Apr '12, 04:05

xpanta
623344
accept rate: 0%

Is this error actually being generated by South? If not, can you try commenting out South from the INSTALLED_APPS during the migration and then uncomment it afterward?

As for actual Schema changes, it may or may not be possible for South to migrate these automatically, depending on the relationship and changes involved.

(17 Apr '12, 04:46) ryans ♦♦

Thanks. I am going to make some huge database changes today and try to migrate them tomorrow. I will comment out South to see if everything goes well.

Strange things is that migration went ok at work pc.

(18 Apr '12, 09:28) xpanta
Be the first one to answer this question!
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×910
×9

question asked: 17 Apr '12, 04:05

question was seen: 3,218 times

last updated: 18 Apr '12, 09:28

                              
WEBFACTION
REACH US
SUPPORT
LEGAL
© COPYRIGHT 2003-2020 SWARMA LIMITED - WEBFACTION IS A SERVICE OF SWARMA LIMITED
REGISTERED IN ENGLAND AND WALES 5729350 - VAT REGISTRATION NUMBER 877397162
5TH FLOOR, THE OLD VINYL FACTORY, HAYES, UB3 1HA, UNITED KINGDOM