"""
WSGI config for foundation project.

It exposes the WSGI callable as a module-level variable named ``application``.

For more information on this file, see
https://docs.djangoproject.com/en/1.6/howto/deployment/wsgi/
"""

import os
from django.core.wsgi import get_wsgi_application
from lib.dj_static import Cling, MediaCling

os.environ.setdefault("DJANGO_SETTINGS_MODULE", "foundation.settings")
application = get_wsgi_application()
application = Cling(MediaCling(application))

"""
WSGI config for foundation project.

It exposes the WSGI callable as a module-level variable named ``application``.

For more information on this file, see
https://docs.djangoproject.com/en/1.6/howto/deployment/wsgi/
"""

import os
from django.core.wsgi import get_wsgi_application
from dj_static import Cling, MediaCling

os.environ.setdefault("DJANGO_SETTINGS_MODULE", "foundation.settings")
application = get_wsgi_application()
application = Cling(MediaCling(application))

Update dj_static call