Hi there
I have got quite far along the road in setting up 4 test environments for the new release, using pyenv
However, they are all 'failing' at the 'createdb' point.

For example for Python 2.7.9 and Django 1.7 when I run the command 'python manage.py createdb' from within my pyenv
(py2.7.9-dj1.7)graham@graham-laptop:~/mp-py2.79-dj1.7$

I get this stack trace

/home/graham/.pyenv/versions/py2.7.9-dj1.7/lib/python2.7/site-packages/mezzanine/utils/conf.py:51: UserWarning: You haven't defined the ALLOWED_HOSTS settings, which Django requires. Will fall back to the domains configured as sites.
  warn("You haven't defined the ALLOWED_HOSTS settings, which "
/home/graham/.pyenv/versions/py2.7.9-dj1.7/lib/python2.7/site-packages/mezzanine/utils/conf.py:59: UserWarning: TIME_ZONE setting is not set, using closest match: Pacific/Auckland
  warn("TIME_ZONE setting is not set, using closest match: %s" % tz)
Traceback (most recent call last):
  File "manage.py", line 34, in <module>
    execute_from_command_line(sys.argv)
File "/home/graham/.pyenv/versions/py2.7.9-dj1.7/lib/python2.7/site-packages/django/core/management/__init__.py", line 385, in execute_from_command_line
    utility.execute()
File "/home/graham/.pyenv/versions/py2.7.9-dj1.7/lib/python2.7/site-packages/django/core/management/__init__.py", line 345, in execute
    settings.INSTALLED_APPS
File "/home/graham/.pyenv/versions/py2.7.9-dj1.7/lib/python2.7/site-packages/django/conf/__init__.py", line 46, in __getattr__
    self._setup(name)
File "/home/graham/.pyenv/versions/py2.7.9-dj1.7/lib/python2.7/site-packages/django/conf/__init__.py", line 42, in _setup
    self._wrapped = Settings(settings_module)
File "/home/graham/.pyenv/versions/py2.7.9-dj1.7/lib/python2.7/site-packages/django/conf/__init__.py", line 98, in __init__
    % (self.SETTINGS_MODULE, e)
ImportError: Could not import settings 'mp-py2.79-dj1.7.settings' (Is it on sys.path? Is there an import error in the settings file?): No module named mp-py2.79-dj1.7.settings


Any thoughts?
g

--
You received this message because you are subscribed to the Google Groups "Mezzanine 
Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to