1. Download django trunk
2. Run:
#django_admin. py startproject projectname
# cd projectname
# python manage.py startapp appname
dont give too much though about project and app. At the the end of the they are just a python package
# Add the following lines in your projectname/url.conf for image files. Its required only for development.
(r’^resource/(?P<path>.*)$’, ‘django.views.static.serve’, {‘document_root’: ‘/home/aaaa/django/django-trunk/projectname/media/’}),
Dont use “media” as pattern here. It was already consumed by admin site.