To set the static folder path we need to edit the STATICFILES_DIRS variable in settings.py. Better to set the BASE_PATH+'/static' as the static folder.
  To set the BASE_PATH use the following code
   import os
       BASE_PATH = os.path.dirname(os.path.abspath(__file__))