Forums

Syntax error with postgres and Django

Hey everyone!

I'm trying to get my production app going using Django 3.0.4 and the PythonAnywhere Postgres database. When trying to get things working, I'm getting a syntax error near the keyword 'ON'. After doing some research, I've found that this syntax, which is used by Django, is only supported by Postgres 9.5 and above, while my instance is 9.4. Can my Postgres instance be updated?

Thanks, Matt

We can do that. Send an email to support@pythonanywhere.com and request it. We can then schedule a time that is good for you.

Sent, thanks!