Re: Syntax Error when trying to migrate to Postgresql

2018-02-17 Thread PASCUAL Eric
sday, February 15, 2018 4:12:54 AM To: Django users Subject: Re: Syntax Error when trying to migrate to Postgresql The problem was with the quotes being weird format, had to copy and paste the correct quotes in for it. Thanks for the help!! On Wednesday, February 14, 2018 at 9:59:06 PM UTC-5, Joe

Re: Syntax Error when trying to migrate to Postgresql

2018-02-14 Thread Joe
The problem was with the quotes being weird format, had to copy and paste the correct quotes in for it. Thanks for the help!! On Wednesday, February 14, 2018 at 9:59:06 PM UTC-5, Joe wrote: > > I used TextEdit on Mac to edit the files, maybe using a different editor > would work better. > > On

Re: Syntax Error when trying to migrate to Postgresql

2018-02-14 Thread Joe
I used TextEdit on Mac to edit the files, maybe using a different editor would work better. On Wednesday, February 14, 2018 at 5:41:24 PM UTC-5, larry@gmail.com wrote: > > On Wed, Feb 14, 2018 at 5:32 PM, Joe > > wrote: > > > > DATABASES = { > > 'default': { > > 'ENGINE': 'd

Re: Syntax Error when trying to migrate to Postgresql

2018-02-14 Thread Larry Martell
On Wed, Feb 14, 2018 at 5:32 PM, Joe wrote: > > DATABASES = { > 'default': { > 'ENGINE': 'django.db.backends.postgresql', > 'NAME': ‘postgres’, > 'USER': ‘postgres’, > 'PASSWORD': ‘*’, > 'HOST': ‘localhost’, > 'PORT': ‘8000’, > } > } Looks l

Re: Syntax Error when trying to migrate to Postgresql

2018-02-14 Thread Joe
DATABASES = { 'default': { 'ENGINE': 'django.db.backends.postgresql', 'NAME': ‘postgres’, 'USER': ‘postgres’, 'PASSWORD': ‘*’, 'HOST': ‘localhost’, 'PORT': ‘8000’, } } On Wednesday, February 14, 2018 at 3:58:59 AM UTC-5, Andy wrote: > > Coul

Re: Syntax Error when trying to migrate to Postgresql

2018-02-14 Thread Andy
Could you post a few more lines of this settings.py? Preferably the whole DATABASES definition. Just in case there actually is a weird invisible character try retyping 'postgresql', but more likely it looks as if you are using wrong quotation marks other than ' or ". I dont even have on my keyb

Syntax Error when trying to migrate to Postgresql

2018-02-13 Thread Joe
I have installed django, Postgresql, and psycopg2 and went to migrate a project to a new database I created on postgresql, This is the error message I got. Traceback (most recent call last): File "manage.py", line 15, in execute_from_command_line(sys.argv) File "/Users/JosephConrad