On 15/09/2014 6:05 AM, Avery Laird wrote:
Hi,

I'm having an issue with migrating certain apps. The problem seems to be
well known, although I find myself unsure about how to fix it. I get the
following message when trying to migrate:

Your project contains migrations that include one of the fields
     from mezzanine.generic in its Migration.model dict: possibly
     KeywordsField, CommentsField or RatingField. These migratons no
     longer work with the latest versions of Django and South, so you'll
     need to fix them by hand. This is as simple as commenting out or
     deleting the field from the Migration.model dict.
     See http://bit.ly/1hecVsD for an example.

The unsynced apps are:
  - zeni_core
  - cartridge.shop
  - mezzanine.conf
  - mezzanine.core
  - mezzanine.generic
  - mezzanine.blog
  - mezzanine.forms
  - mezzanine.pages
  - mezzanine.galleries
  - mezzanine.twitter
  - mezzanine_events

 From what I understand, I must comment out all references
to KeywordsField, CommentsField or RatingField in the apps
Migration.model dictionary (all apps except for mezzanine ones).
However, after a cursory search through a single apps migration files, I
found multiple instances in just a single migration file, of which there
where about 25 files, and that's just a single app. Am I searching for
the wrong thing? Do I have to go through and make all those changes by
hand, or is there a way to streamline the process? Any help or insight
would be greatly appreciated!

I think this was to do with a Django upgrade.

Go through the files in your migrations folder and comment out the lines referencing keywords, comments or ratings. You should hopefully only have to do this in your custom app.

(I have a customised fork of cartridge and had to do it there, but you might be able to get away with only doing it in your app zeni_core)

Seeya. Danny.


Thanks,

Avery



--
You received this message because you are subscribed to the Google
Groups "Mezzanine Users" group.
To unsubscribe from this group and stop receiving emails from it, send
an email to mezzanine-users+unsubscr...@googlegroups.com
<mailto:mezzanine-users+unsubscr...@googlegroups.com>.
For more options, visit https://groups.google.com/d/optout.



--
Email: molo...@gmail.com

--
You received this message because you are subscribed to the Google Groups "Mezzanine 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to mezzanine-users+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to