i cont able to understand how to modify the settings for mysql..
when i run the cammand 'python manage.py shell'
it gives the error no modulr fing for No module named MySQLdb

the actual error is::::::::::
---------------------------------------
[r...@scci01 book]# python manage.py shell
Traceback (most recent call last):
  File "manage.py", line 11, in <module>
    execute_manager(settings)
  File
"/usr/local/lib/python2.6/site-packages/django/core/management/__init__.py",
line 362, in execute_manager
    utility.execute()
  File
"/usr/local/lib/python2.6/site-packages/django/core/management/__init__.py",
line 303, in execute
    self.fetch_command(subcommand).run_from_argv(self.argv)
  File
"/usr/local/lib/python2.6/site-packages/django/core/management/base.py",
line 195, in run_from_argv
    self.execute(*args, **options.__dict__)
  File
"/usr/local/lib/python2.6/site-packages/django/core/management/base.py",
line 222, in execute
    output = self.handle(*args, **options)
  File
"/usr/local/lib/python2.6/site-packages/django/core/management/base.py",
line 351, in handle
    return self.handle_noargs(**options)
  File
"/usr/local/lib/python2.6/site-packages/django/core/management/commands/shell.py",
line 17, in handle_noargs
    from django.db.models.loading import get_models
  File "/usr/local/lib/python2.6/site-packages/django/db/__init__.py", line
41, in <module>
    backend = load_backend(settings.DATABASE_ENGINE)
  File "/usr/local/lib/python2.6/site-packages/django/db/__init__.py", line
17, in load_backend
    return import_module('.base', 'django.db.backends.%s' % backend_name)
  File "/usr/local/lib/python2.6/site-packages/django/utils/importlib.py",
line 35, in import_module
    __import__(name)
  File
"/usr/local/lib/python2.6/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


---------------------------------------

On Tue, Dec 15, 2009 at 7:19 PM, Simon Brunning <si...@brunningonline.net>wrote:

> 2009/12/15 'chiru'tha <chiru.bt...@gmail.com>:
> > hey i've seen dat.. bt i cont able to create a new one.. i'm doing
> > some mistake while setting settings. If u createed a project.. plz
> > tell me the process in detail.. plz.
> > thanku..
>
> Sorry, but that *is* the process.
>
> Why don't you tell us what went wrong? Perhaps we can help.
>
> --
> Cheers,
> Simon B.
>
> --
>
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-us...@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com<django-users%2bunsubscr...@googlegroups.com>
> .
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>
>
>


-- 
▒▒�...@g@d...@◄▒▒

--

You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-us...@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.


Reply via email to