I am using Ubuntu 11.04 and I had recently installed Django by using
svn and creating a hard link of the Django folder to the appropriate
python folder. When I tried to create a new project, It created the
project easily but the manage.py runserver is giving me trouble.
192.168.2.127 is the IP address of this computer. The problem is
coming even if I do not give my IP address.
Kindly help.
Following is the display on the terminal when I try to execute the
command:
$ python manage.py runserver
192.168.2.127:8000
Validating models...
Unhandled exception in thread started by <bound method
Command.inner_run of
<django.contrib.staticfiles.management.commands.runserver.Command
object at 0x2b5a990>>
Traceback (most recent call last):
File "/usr/lib/python2.7/dist-packages/django/core/management/
commands/runserver.py", line 88, in inner_run
self.validate(display_num_errors=True)
File "/usr/lib/python2.7/dist-packages/django/core/management/
base.py", line 243, in validate
from django.core.management.validation import
get_validation_errors
File "/usr/lib/python2.7/dist-packages/django/core/management/
validation.py", line 3, in <module>
from django.contrib.contenttypes.generic import GenericForeignKey,
GenericRelation
File "/usr/lib/python2.7/dist-packages/django/contrib/contenttypes/
generic.py", line 7, in <module>
from django.db import connection
File "/usr/lib/python2.7/dist-packages/django/db/__init__.py", line
27, in <module>
connection = connections[DEFAULT_DB_ALIAS]
File "/usr/lib/python2.7/dist-packages/django/db/utils.py", line 81,
in __getitem__
backend = load_backend(db['ENGINE'])
File "/usr/lib/python2.7/dist-packages/django/db/utils.py", line 23,
in load_backend
return import_module('.base', backend_name)
File "/usr/lib/python2.7/dist-packages/django/utils/importlib.py",
line 35, in import_module
__import__(name)
ImportError: No module named base