Wednesday, June 25, 2014

Re: on manage.py migrate appname I get: AttributeError: 'module' object has no attribute 'Migration'

Hi Erik

I solved it.. You vere right I should check again the files in migration folder
It was my IDE (Pycharm) which for some reason sometimes fail on uploading files. So there was missing a few files, in a migrations folder
Sorry I didnt know that - Pycharm is still new for me. I'm use to Filezilla which would prompt such error more clearly

Let me know if I can help You some day
I work with ecommerce and my number is 22116322

Thank You very much

Michael


2014-06-25 22:07 GMT+02:00 Michael Lind Hjulskov <michael@hjulskov.dk>:
hmm 
could it be:
I run my local development env with a sqlite3 as database
when I launch to deployment, I use mysql as db

But doesnt South produce the same result when i run schemamigration, nomatter what db I'm using ?
Hope You undderstand what I mean



Med venlig hilsen
Michael Hjulskov

Mobil +45 22116322


2014-06-25 22:02 GMT+02:00 Michael Lind Hjulskov <michael@hjulskov.dk>:

Den 25/06/2014 kl. 21.30 skrev Michael Lind Hjulskov <michael@hjulskov.dk>:

> Hi Erik
>
> Thank You
>
> I tried ./manage.py migrate myappname --traceback
> Still the same error message and no more info available than before.

Check your migrations folder and make sure you only have South migration files in there. Also, update to the latest South version, if you haven't already.
Just checked on the server
There are only south files, and one __init__.py file i each migration folder
I have South 0.8.4 installed, which is the latest I can find
 
> PS I see You are from DK - I'm from Aalborg, You?

Roskilde.
OKay I'm looking for a Danish django developer to help me sometimes when i'm in finding myself in a dead end. 

Erik

--
You received this message because you are subscribed to a topic in the Google Groups "Django users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/django-users/d6TT9Z6nDLI/unsubscribe.
To unsubscribe from this group and all its topics, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/1E00F7CB-168A-4EAA-92D9-89B235A25155%40cederstrand.dk.
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+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/CAJrCdYD6EOq48RDzO4U4Ud24nmZ_O%2BJ%3DG82eno7qHhDvyVhcXQ%40mail.gmail.com.
For more options, visit https://groups.google.com/d/optout.

No comments:

Post a Comment