I try to install Django in Ubuntu 9.10 ....... using this link http://jeffbaier.com/articles/installing-django-on-an-ubuntu-linux-server
but i face problem with this command #django-admin.py syncdb it not works error message is { Traceback (most recent call last): File "/usr/local/bin/django-admin.py", line 5, in <module> management.execute_from_command_line() File "/usr/lib/python2.6/dist-packages/django/core/management/ __init__.py", line 429, in execute_from_command_line utility.execute() File "/usr/lib/python2.6/dist-packages/django/core/management/ __init__.py", line 379, in execute self.fetch_command(subcommand).run_from_argv(self.argv) File "/usr/lib/python2.6/dist-packages/django/core/management/ __init__.py", line 257, in fetch_command klass = load_command_class(app_name, subcommand) File "/usr/lib/python2.6/dist-packages/django/core/management/ __init__.py", line 67, in load_command_class module = import_module('%s.management.commands.%s' % (app_name, name)) File "/usr/lib/python2.6/dist-packages/django/utils/importlib.py", line 35, in import_module __import__(name) File "/usr/lib/python2.6/dist-packages/django/core/management/ commands/syncdb.py", line 7, in <module> from django.core.management.sql import custom_sql_for_model, emit_post_sync_signal File "/usr/lib/python2.6/dist-packages/django/core/management/ sql.py", line 5, in <module> from django.contrib.contenttypes import generic File "/usr/lib/python2.6/dist-packages/django/contrib/contenttypes/ generic.py", line 6, in <module> from django.db import connection File "/usr/lib/python2.6/dist-packages/django/db/__init__.py", line 14, in <module> if not settings.DATABASES: File "/usr/lib/python2.6/dist-packages/django/utils/functional.py", line 281, in __getattr__ self._setup() File "/usr/lib/python2.6/dist-packages/django/conf/__init__.py", line 38, in _setup raise ImportError("Settings cannot be imported, because environment variable %s is undefined." % ENVIRONMENT_VARIABLE) ImportError: Settings cannot be imported, because environment variable DJANGO_SETTINGS_MODULE is undefined. } what can i do please help.............. -- 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.