Want to know which files are missing or not between two directories:
Use diff
>diff direc1 direc2
Want to know which files are missing or not between two directories:
Use diff
>diff direc1 direc2
Folder file typeAction type what ever you want the context menu to display, I used Command Prompt.Application used to perform the action use c:\windows\system32\cmd.exe (note on win2k you will want to specify the winnt directory instead of the windows directoryOriginal post: here
In settings.py
STATIC_DOC_ROOT = os.path.join(os.path.dirname(__file__), “static”)
MEDIA_URL = ‘/static/’
——————–
In urls.py
from django.conf import settings
if settings.DEBUG:
urlpatterns += patterns(”,
(r’^static/(?P<path>.*)$’, ‘django.views.static.serve’, {‘document_root’: settings.STATIC_DOC_ROOT }),
)
————-
In template .html
<h1><a href=”/”><img src=”{{ MEDIA_URL }}images/logo.png” alt=”Your Logo” title=”Your website”/></a></h1>
———-
directory structure
yourapp/static/images/
