I hate to chime in here but I recently started using Django, quite successfully. I'm also a consent-student. I fear that you are going to have a lot of trouble using Django (or anything like it) if you don't build some basics.
To successfully use a product like Django, basic knowledge of at least database administration will go along way. I'd also highly suggest you go though a Intro-to-python book. (The book Dive In To python is online: http://diveintopython.org/toc/index.html) Don't get me wrong, you don't need to be an expert -- or even close -- of anything to use these tools. But, some basic knowledge will take you a long way when trying to determine what a problem might be or how to go about something. Regards, Frank (tOSU) On May 5, 7:05 am, Etienne Python <[email protected]> wrote: > 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 > athttp://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.

