STATIC_ROOT = 'static'
STATIC_URL = '/static/'
if settings.DEBUG:
urlpatterns += patterns('',
url(r'^static/(?P<path>.*)$','django.views.static.serve',{'document_root':settings.STATIC_ROOT})
)
<script src="./static/app/js/jquery-1.10.2.js"></script>
<script src="./static/app/js/my.js"></script>
STATICFILES_DIRS = (
# Put strings here, like "/home/html/static" or "C:/www/django/static".
# Always use forward slashes, even on Windows.
# Don't forget to use absolute paths, not relative paths.
# os.path.join(os.path.dirname(__file__), '..', 'static').replace('\\','/'),
'app/static',
)
Tools -Run manage.py Task-collectstatic