Well actually, I copied all of the data (including the database), not only the code. But indeed, like you say, the problem is not solved yet just by installing mysql.
So I followed the alternative solution you suggested. Now I get another error actually: when I run ./manage.py syncdb like you suggested I get the following message in the cmd: Error: No module named redis_cache.cache I must admit I'm lost ;-) 2010/5/5 Daniel Roseman <[email protected]> > On May 5, 12:23 pm, Etienne Python <[email protected]> wrote: > > > > File "c:\python26\lib\site-packages\django\db\backends\mysql\base.py", > > line 13, in <module> > > raise ImproperlyConfigured("Error loading MySQLdb module: %s" % e) > > django.core.exceptions.ImproperlyConfigured: Error loading MySQLdb > > module: No module named MySQLdb > > As Georg says, you need to install MySQLdb. However I suspect that > that won't solve your problem: if all you've done is copied the Django > code from the server, there'll be a whole stack of things you don't > have, starting with the database itself. If you need the actual data > from the server, you'll need to install MySQL itself as well, then > back up the data from the server and restore it to your local > database. > > If you don't, you can probably shortcut this whole process by simply > using sqlite - in your settings.py, change DATABASE_ENGINE to > 'sqlite3' and your DATABASE_HOST to a filename, something like > 'data.db'. Then run ./manage.py syncdb to create the empty database. > -- > DR. > > -- > You received this message because you are subscribed to the Google Groups > "Django users" group. > To post to this group, send email to [email protected]. > To unsubscribe from this group, send email to > [email protected]<django-users%[email protected]> > . > For more options, visit this group at > http://groups.google.com/group/django-users?hl=en. > > -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.

