Hey guys, I am happy to announce that it finally works. The problem was
that there was an additional 'qq' in my settings.py file on line 44.(no
idea how it got there) I have posted my entire input / output here for
viewing and discussion ...
CaiGengYangs-MacBook-Pro:~ CaiGengYang$ cd mysite
> On Sep 27, 2015, at 06:04, Cai Gengyang wrote:
>
> This is my entire settings.py file
>
> …
I’m not seeing the problem, but it is certainly there somewhere.
Try removing pieces of the settings file until you can isolate the syntax
problem which is likely on or before line 45. Copy the orig
This is my entire settings.py file
"""
Django settings for mysite project.
Generated by 'django-admin startproject' using Django 1.8.4.
For more information on this file, see
https://docs.djangoproject.com/en/1.8/topics/settings/
For the full list of settings and their values, see
http
Hello,
that message is clear: line 45 in your settings.py has a syntax error. That
line, however, seem OK, so I guess the previous one is that; maybe a comma
is missing.
Best,
Gergely
On 27 Sep 2015 14:26, "Cai Gengyang" wrote:
> Hi Tom,
>
> Following your latest instructions , I have posted my
> On Sep 27, 2015, at 05:26, Cai Gengyang wrote:
>
> Hi Tom,
>
> Following your latest instructions , I have posted my input and output
> results here. Still getting an error message though it is a different one
> this time ( a traceback error )
Oh, much better :)
You are now seeing a typo
Hi Tom,
Following your latest instructions , I have posted my input and output
results here. Still getting an error message though it is a different one
this time ( a traceback error )
CaiGengYangs-MacBook-Pro:~ CaiGengYang$ cd mysite folder
CaiGengYangs-MacBook-Pro:mysite CaiGengYang$ ls
man
> On Sep 27, 2015, at 04:39, Cai Gengyang wrote:
>
> Hi Tom,
> So I click on Finder ---> Go ---> Home ---> 'Weiqi' folder ---> mysite folder
> ---> manage.py file. (using a Mac OS X Yosemite Version 10.10.2)
> This puts me in the same directory as the manage.py file.
> Then I key in the command
Hi Tom,
So I click on Finder ---> Go ---> Home ---> 'Weiqi' folder ---> mysite
folder ---> manage.py file. (using a Mac OS X Yosemite Version 10.10.2)
This puts me in the same directory as the manage.py file.
Then I key in the command : $ python manage.py migrate, but I still get
the same er
> …
> However, when I try to run the following command : $ python manage.py migrate
> to create the tables in the database,
> CaiGengYangs-MacBook-Pro:Weiqi CaiGengYang$ python manage.py migrate
> input
> I get the following error message :
> /Library/Frameworks/Python.framework/Versions/2.7
Hello all !
So I am going through the (Database setup) chapter of this tutorial
(https://docs.djangoproject.com/en/1.8/intro/tutorial01/) --- Its the
section right after the first chapter on "Creating a project"
I opened up mysite/settings.py as per the instructions on the Django
tutorial.
10 matches
Mail list logo