'else' expected error

I'm using Django/Pinax.

In the default urls.py of Pinax project Pycharm show an error after the colon of this if statement:

if settings.SERVE_MEDIA:

    urlpatterns += patterns("",

        url(r"", include("staticfiles.urls")),

    )

What's the problem?

Thank you

---

Original message URL: http://devnet.jetbrains.net/message/5448956#5448956

Please sign in to leave a comment.