Ticket #4517: global_settings.diff
File global_settings.diff, 576 bytes (added by , 17 years ago) |
---|
-
django/conf/global_settings.py
241 241 242 242 # The User-Agent string to use when checking for URL validity through the 243 243 # isExistingURL validator. 244 URL_VALIDATOR_USER_AGENT = "Django/0.96pre (http://www.djangoproject.com)" 244 from django.core import management 245 URL_VALIDATOR_USER_AGENT = "Django/%s (http://www.djangoproject.com)" % management.get_version() 245 246 246 247 ############## 247 248 # MIDDLEWARE #