With a recent svn pull (968) and a fresh install using setup.py, django/contrib/admin/templates/ is not copied over. The result is that the admin interface fails with a traceback:
There's been an error:
Traceback (most recent call last):
File "/home/korpios/devel/py3p/django/core/handlers/base.py", line 68, in get_response
response = callback(request, **param_dict)
File "/home/korpios/devel/py3p/django/contrib/admin/views/decorators.py", line 60, in _checklogin
return _display_login_form(request, message)
File "/home/korpios/devel/py3p/django/contrib/admin/views/decorators.py", line 26, in _display_login_form
}, context_instance=DjangoContext(request))
File "/home/korpios/devel/py3p/django/core/extensions.py", line 11, in render_to_response
return HttpResponse(loader.render_to_string(*args, **kwargs))
File "/home/korpios/devel/py3p/django/core/template/loader.py", line 77, in render_to_string
t = get_template(template_name)
File "/home/korpios/devel/py3p/django/core/template/loader.py", line 57, in get_template
return get_template_from_string(load_template_source(template_name))
File "/home/korpios/devel/py3p/django/core/template/loader.py", line 47, in load_template_source
raise TemplateDoesNotExist, name
TemplateDoesNotExist: admin/login
This issue is likely not a problem for those merely linking to the checked out django directory, rather than using setup.py.
The workaround is to copy django/contrib/admin/templates/ from the checked out django directory to the corresponding location in the installed directory.