Are you sure that this settings file is the one that is being read? Put
something ugly at the beginning of it that will raise a syntax error
earlier just to check. Also check whether you have any *.pyc files left
that for some reason might be being read instead of the .py. You can
safely delete all *.pyc files to make sure.

John


On 27/09/15 18:50, Cai Gengyang wrote:
> http://pastebin.com/RWt1mp7F --- If anybody can find any error with
> this settings.py file, let me know !
>
> Looked through it and can't find any mistakes. The error message I got
> was that there is an error on or before line 45 (like a missing
> parentheses) , but can't seem to spot anything wrong , really weird ...
>
> Thanks ...
>
> Gengyang
> -- 
> 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+unsubscr...@googlegroups.com
> <mailto:django-users+unsubscr...@googlegroups.com>.
> To post to this group, send email to django-users@googlegroups.com
> <mailto:django-users@googlegroups.com>.
> Visit this group at http://groups.google.com/group/django-users.
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/django-users/4365c3a4-76d6-4dc2-8cbf-eeb6a7d34d31%40googlegroups.com
> <https://groups.google.com/d/msgid/django-users/4365c3a4-76d6-4dc2-8cbf-eeb6a7d34d31%40googlegroups.com?utm_medium=email&utm_source=footer>.
> For more options, visit https://groups.google.com/d/optout.


-- 
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+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/5608338E.6010305%40martinhome.org.uk.
For more options, visit https://groups.google.com/d/optout.

Reply via email to