import os
SECRET_KEY = os.environ.get('DJANGO_SECRET_KEY', 'cg#p$g+j9tax!#a3cup@1$8obt2_+&k3q+pmu)5%asj6yjpkag')
export DJANGO_DEBUG=False
SyntaxError: invalid syntaxexport DJANGO_DEBUG=False
--
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...@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/django-users/779d99cf-2445-4dcf-9c37-e1f7d9ab7bf0%40googlegroups.com.
hi,export DJANGO_DEBUG=FalseThis is a shell command, you shouldn't add this to your settings.py.
On Fri, Oct 11, 2019 at 9:51 PM fishbite <stuar...@gmail.com> wrote:
--Hi there,My first post to this group!I've built the locallibrary project following the MDN tutorial and I'm now preparing to deploy the site on Heroku as described in the same tutorial and have added these lines to my settings.py file:import os
SECRET_KEY = os.environ.get('DJANGO_SECRET_KEY', 'cg#p$g+j9tax!#a3cup@1$8obt2_+&k3q+pmu)5%asj6yjpkag')export DJANGO_DEBUG=FalseI get:SyntaxError: invalid syntaxHas anyone else encountered this problem and / or know why it is occuring or how to resolve the issue?Thanks in advance for any help you can provide.
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...@googlegroups.com.