title: django-admin runserver error
body: <p>I set virtualenv for python 2.7</p>
  
  <pre><code>16% source Work/Django/env/bin/activate
  </code></pre>
  
  <p>next create project</p>
  
  <pre><code>django-admin startproject myproject
  </code></pre>
  
  <p>create app</p>
  
  <pre><code>cd myproject
  django-admin startapp contact
  </code></pre>
  
  <p>and try run dev server </p>
  
  <pre><code>16% django-admin runserver
  </code></pre>
  
  <p>I receive an error</p>
  
  <blockquote>
    <p>Traceback (most recent call last):
      File "/home/dima/Work/Django/env/bin/django-admin", line 11, in 
        sys.exit(execute_from_command_line())
      File "/home/dima/Work/Django/env/local/lib/python2.7/site-packages/django/core/management/<strong>init</strong>.py", line 353, in execute_from_command_line
        utility.execute()
      File "/home/dima/Work/Django/env/local/lib/python2.7/site-packages/django/core/management/<strong>init</strong>.py", line 345, in execute
        self.fetch_command(subcommand).run_from_argv(self.argv)
      File "/home/dima/Work/Django/env/local/lib/python2.7/site-packages/django/core/management/<strong>init</strong>.py", line 195, in fetch_command
        klass = load_command_class(app_name, subcommand)
      File "/home/dima/Work/Django/env/local/lib/python2.7/site-packages/django/core/management/<strong>init</strong>.py", line 39, in load_command_class
        module = import_module('%s.management.commands.%s' % (app_name, name))
      File "/usr/lib/python2.7/importlib/<strong>init</strong>.py", line 37, in import_module
        <strong>import</strong>(name)
      File "/home/dima/Work/Django/env/local/lib/python2.7/site-packages/django/core/management/commands/runserver.py", line 16, in 
        from django.db.migrations.executor import MigrationExecutor
      File "/home/dima/Work/Django/env/local/lib/python2.7/site-packages/django/db/migrations/executor.py", line 7, in 
        from .loader import MigrationLoader
      File "/home/dima/Work/Django/env/local/lib/python2.7/site-packages/django/db/migrations/loader.py", line 10, in 
        from django.db.migrations.recorder import MigrationRecorder
      File "/home/dima/Work/Django/env/local/lib/python2.7/site-packages/django/db/migrations/recorder.py", line 12, in 
        class MigrationRecorder(object):
      File "/home/dima/Work/Django/env/local/lib/python2.7/site-packages/django/db/migrations/recorder.py", line 26, in MigrationRecorder
        class Migration(models.Model):
      File "/home/dima/Work/Django/env/local/lib/python2.7/site-packages/django/db/migrations/recorder.py", line 27, in Migration
        app = models.CharField(max_length=255)
      File "/home/dima/Work/Django/env/local/lib/python2.7/site-packages/django/db/models/fields/<strong>init</strong>.py", line 1072, in <strong>init</strong>
        super(CharField, self).<strong>init</strong>(*args, **kwargs)
      File "/home/dima/Work/Django/env/local/lib/python2.7/site-packages/django/db/models/fields/<strong>init</strong>.py", line 166, in <strong>init</strong>
        self.db_tablespace = db_tablespace or settings.DEFAULT_INDEX_TABLESPACE
      File "/home/dima/Work/Django/env/local/lib/python2.7/site-packages/django/conf/<strong>init</strong>.py", line 55, in <strong>getattr</strong>
        self._setup(name)
      File "/home/dima/Work/Django/env/local/lib/python2.7/site-packages/django/conf/<strong>init</strong>.py", line 41, in _setup
        % (desc, ENVIRONMENT_VARIABLE))
    django.core.exceptions.ImproperlyConfigured: Requested setting DEFAULT_INDEX_TABLESPACE, but settings are not configured. You must either define the environment variable DJANGO_SETTINGS_MODULE or call settings.configure() before accessing settings.
    How fix this error?</p>
  </blockquote>