On Mon, Feb 01, 2016 at 07:39:48PM -0800, Murray Baker wrote:
> *```*
> *Murrays-MacBook-Pro:mysite MurrayBaker89$ python manage.py sqlmigrate
> polls 0001*
> *Traceback (most recent call last):*
> * File "manage.py", line 10, in <module>*
> * execute_from_command_line(sys.argv)*
> * File
> "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/django/core/management/__init__.py",
> line 353, in execute_from_command_line*
> * utility.execute()*
> * File
> "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/django/core/management/__init__.py",
> line 302, in execute*
> * settings.INSTALLED_APPS*
> * File
> "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/django/conf/__init__.py",
> line 55, in __getattr__*
> * self._setup(name)*
> * File
> "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/django/conf/__init__.py",
> line 43, in _setup*
> * self._wrapped = Settings(settings_module)*
> * File
> "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/site-packages/django/conf/__init__.py",
> line 99, in __init__*
> * mod = importlib.import_module(self.SETTINGS_MODULE)*
> * File
> "/Library/Frameworks/Python.framework/Versions/2.7/lib/python2.7/importlib/__init__.py",
> line 37, in import_module*
> * __import__(name)*
> * File "/Users/MurrayBaker89/Documents/dja1/mysite/mysite/settings.py",
> line 113, in <module>*
> * s*
> *NameError: name 's' is not defined*
>
> *```*
As the error above says, line 113 of
/Users/MurrayBaker89/Documents/dja1/mysite/mysite/settings.py cotains
just a single character "s", which is not defined in the file.
By the way, something seems to be wrong with your email client, it
looks like it wrapped every line in asterisks, which makes them harder
to read.
Good luck,
Michal
--
You received this message because you are subscribed to the Google Groups "Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscribe@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/20160202121235.GK19381%40koniiiik.org.
For more options, visit https://groups.google.com/d/optout.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment