environment variables - Problems to startproyect django-admin -
i'm trying start proyect, , errors occurs when made startproyect django-admin
esteban@esteban-gl:/var/www/django_proyect$ django-admin startproyect ap1 traceback (most recent call last): file "/usr/local/bin/django-admin", line 9, in <module> load_entry_point('django==1.8.2', 'console_scripts', 'django-admin')() file "/usr/local/lib/python2.7/dist-packages/django-1.8.2-py2.7.egg/django/core/management/__init__.py", line 338, in execute_from_command_line utility.execute() file "/usr/local/lib/python2.7/dist-packages/django-1.8.2-py2.7.egg/django/core/management/__init__.py", line 330, in execute self.fetch_command(subcommand).run_from_argv(self.argv) file "/usr/local/lib/python2.7/dist-packages/django-1.8.2-py2.7.egg/django/core/management/__init__.py", line 182, in fetch_command settings.installed_apps file "/usr/local/lib/python2.7/dist-packages/django-1.8.2-py2.7.egg/django/conf/__init__.py", line 48, in __getattr__ self._setup(name) file "/usr/local/lib/python2.7/dist-packages/django-1.8.2-py2.7.egg/django/conf/__init__.py", line 42, in _setup % (desc, environment_variable)) django.core.exceptions.improperlyconfigured: requested setting installed_apps, settings not configured. must either define environment variable django_settings_module or call settings.configure() before accessing settings. realy i'm not using linux, reading best work in linux distribution. i'm using ubuntu 14.04 don't know how set environment variables here :(
Comments
Post a Comment