1
0
mirror of https://github.com/django/django.git synced 2025-10-27 15:46:10 +00:00

newforms-admin: Merged to trunk [5473].

git-svn-id: http://code.djangoproject.com/svn/django/branches/newforms-admin@5475 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
Joseph Kocherhans
2007-06-15 04:02:33 +00:00
parent ec622fc2a9
commit d304ccad8c
24 changed files with 465 additions and 79 deletions

View File

@@ -241,7 +241,8 @@ TRANSACTIONS_MANAGED = False
# The User-Agent string to use when checking for URL validity through the
# isExistingURL validator.
URL_VALIDATOR_USER_AGENT = "Django/0.96pre (http://www.djangoproject.com)"
from django import get_version
URL_VALIDATOR_USER_AGENT = "Django/%s (http://www.djangoproject.com)" % get_version()
##############
# MIDDLEWARE #