Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- abhi@abhi-Vostro-3546:~/Downloads/CourseMaterial/django/intranet$ python manage.py runserver
- Traceback (most recent call last):
- File "manage.py", line 10, in <module>
- execute_from_command_line(sys.argv)
- File "/home/abhi/Downloads/CourseMaterial/django/django/django/core/management/__init__.py", line 349, in execute_from_command_line
- utility.execute()
- File "/home/abhi/Downloads/CourseMaterial/django/django/django/core/management/__init__.py", line 341, in execute
- self.fetch_command(subcommand).run_from_argv(self.argv)
- File "/home/abhi/Downloads/CourseMaterial/django/django/django/core/management/__init__.py", line 193, in fetch_command
- klass = load_command_class(app_name, subcommand)
- File "/home/abhi/Downloads/CourseMaterial/django/django/django/core/management/__init__.py", line 40, in load_command_class
- module = import_module('%s.management.commands.%s' % (app_name, name))
- File "/usr/lib/python2.7/importlib/__init__.py", line 37, in import_module
- __import__(name)
- File "/home/abhi/Downloads/CourseMaterial/django/django/django/core/management/commands/runserver.py", line 16, in <module>
- from django.db.migrations.executor import MigrationExecutor
- File "/home/abhi/Downloads/CourseMaterial/django/django/django/db/migrations/executor.py", line 7, in <module>
- from .loader import MigrationLoader
- File "/home/abhi/Downloads/CourseMaterial/django/django/django/db/migrations/loader.py", line 10, in <module>
- from django.db.migrations.recorder import MigrationRecorder
- File "/home/abhi/Downloads/CourseMaterial/django/django/django/db/migrations/recorder.py", line 12, in <module>
- class MigrationRecorder(object):
- File "/home/abhi/Downloads/CourseMaterial/django/django/django/db/migrations/recorder.py", line 26, in MigrationRecorder
- class Migration(models.Model):
- File "/home/abhi/Downloads/CourseMaterial/django/django/django/db/migrations/recorder.py", line 27, in Migration
- app = models.CharField(max_length=255)
- File "/home/abhi/Downloads/CourseMaterial/django/django/django/db/models/fields/__init__.py", line 1072, in __init__
- super(CharField, self).__init__(*args, **kwargs)
- File "/home/abhi/Downloads/CourseMaterial/django/django/django/db/models/fields/__init__.py", line 166, in __init__
- self.db_tablespace = db_tablespace or settings.DEFAULT_INDEX_TABLESPACE
- File "/home/abhi/Downloads/CourseMaterial/django/django/django/conf/__init__.py", line 53, in __getattr__
- self._setup(name)
- File "/home/abhi/Downloads/CourseMaterial/django/django/django/conf/__init__.py", line 41, in _setup
- self._wrapped = Settings(settings_module)
- File "/home/abhi/Downloads/CourseMaterial/django/django/django/conf/__init__.py", line 117, in __init__
- raise ImproperlyConfigured("The SECRET_KEY setting must not be empty.")
- django.core.exceptions.ImproperlyConfigured: The SECRET_KEY setting must not be empty.
Add Comment
Please, Sign In to add comment