openshift/django-example — pull request #18 by getupcloud (2013-05-30 23:47:26+00:00)
Title: testing dir existence 

According to bash help:

-f FILE True if file exists and **is a regular file**.

It is better to use -e since it can test for symlink too.