1
0
mirror of https://github.com/django/django.git synced 2025-07-04 01:39:20 +00:00

1198 Commits

Author SHA1 Message Date
Robert Wittams
32ca04e59e Merged to trunk 1407
git-svn-id: http://code.djangoproject.com/svn/django/branches/new-admin@1408 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-25 00:09:46 +00:00
Georg Bauer
ca683d8ca5 now really fixed the source formatting. brought to you by the magics of IRC-based pair programming
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1407 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-25 00:04:06 +00:00
Georg Bauer
eff2a1fde2 just another small fix to the template_debug layout
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1406 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-24 23:35:28 +00:00
Georg Bauer
73766b1f88 fixed debug view for templates so it starts counting with 1
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1405 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-24 23:31:33 +00:00
Georg Bauer
798e6d5663 mail sending used Template.render, but passed only a dictionary, not a Context object
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1404 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-24 23:10:24 +00:00
Georg Bauer
f0fbd43a57 small fix to the template_debug stuff, it was dropping last characters and didn't split the first line correctly
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1403 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-24 22:57:04 +00:00
Adrian Holovaty
18c7ed74e4 Fixed #896 -- Fixed error in filesystem serve view in Windows. Thanks, Petar Marić and nesh
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1402 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-24 22:41:05 +00:00
Adrian Holovaty
827ebe5368 Converted django/models/__init__.py to use unix newlines, not DOS
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1401 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-24 21:26:04 +00:00
Adrian Holovaty
d922825156 Fixed #892 -- TemplateDoesNotExist errors now get a 'Template-loader postmortem' section on the pretty debug page. Thanks for the idea, David Ascher
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1400 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-24 21:15:51 +00:00
Adrian Holovaty
22746d32a5 Added a get_template_sources generator function to filesystem and app_directories template loaders, so template-loader debugger can hook into it. Refs #892.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1399 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-24 21:14:42 +00:00
Georg Bauer
c616d869ed fixes #898 - updated 'sk' translation. Additional a small fix in the 'de' translation (removed a "fuzzy").
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1398 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-24 18:31:49 +00:00
Georg Bauer
834e7d3482 fixed a typo in a trans template tag. Thx David Ascher (on IRC)
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1397 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-24 18:30:31 +00:00
Jacob Kaplan-Moss
f286461e2a Fixed small typo in User object; thanks David Ascher
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1396 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-24 05:20:27 +00:00
Adrian Holovaty
03d9d060c9 new-admin: Negligible formatting changes to admin.templatetgas.admin_modify and template.decorators
git-svn-id: http://code.djangoproject.com/svn/django/branches/new-admin@1395 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-24 04:58:46 +00:00
Adrian Holovaty
95564bb882 newadmin: Converted django/models/__init__.py to use unix newlines, not DOS
git-svn-id: http://code.djangoproject.com/svn/django/branches/new-admin@1394 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-24 04:32:15 +00:00
Adrian Holovaty
7da863576f new-admin: Normalized spacing in admin template tags
git-svn-id: http://code.djangoproject.com/svn/django/branches/new-admin@1393 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-24 04:24:29 +00:00
Adrian Holovaty
82c071539b new-admin: Fixed spacing issue in setup.py
git-svn-id: http://code.djangoproject.com/svn/django/branches/new-admin@1392 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-24 03:42:59 +00:00
Adrian Holovaty
ab45bbbb02 new-admin: Changed runtests.py not to display full exception if test database can't be created
git-svn-id: http://code.djangoproject.com/svn/django/branches/new-admin@1391 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-24 03:41:49 +00:00
Adrian Holovaty
fa0436809c new-admin: Fixed spacing issues in template tests
git-svn-id: http://code.djangoproject.com/svn/django/branches/new-admin@1390 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-24 03:40:04 +00:00
Adrian Holovaty
7ee9f5c7c5 new-admin: Changed django.core.management.init to sys.exit(1) instead of raise on error
git-svn-id: http://code.djangoproject.com/svn/django/branches/new-admin@1389 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-24 03:35:06 +00:00
Adrian Holovaty
28fd32318f Updated django.utils.translation due to template changes from [1379]. From new-admin.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1388 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-24 03:32:26 +00:00
Adrian Holovaty
942d02a885 new-admin: Removed django/contrib/admin/media/css/template_errors.css -- it wasn't being used.
git-svn-id: http://code.djangoproject.com/svn/django/branches/new-admin@1387 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-24 03:27:28 +00:00
Georg Bauer
d953d9ba5b new_admin: merged to trunk r1385
git-svn-id: http://code.djangoproject.com/svn/django/branches/new-admin@1386 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-24 00:35:49 +00:00
Georg Bauer
eab4a22596 changed the linebreaks_iter function to use str.find instead of re.finditer, because the latter one has problems with Python 2.3
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1385 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-24 00:06:36 +00:00
Adrian Holovaty
140f4a6913 Added TEMPLATE_DEBUG to docs/settings.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1384 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-23 23:29:25 +00:00
Robert Wittams
95ab189dce remove purposeful error
git-svn-id: http://code.djangoproject.com/svn/django/branches/new-admin@1383 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-23 23:26:25 +00:00
Robert Wittams
f7d3e8a20d Merge to trunk r1381
git-svn-id: http://code.djangoproject.com/svn/django/branches/new-admin@1382 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-23 23:23:20 +00:00
Adrian Holovaty
39eac9bdff Added Wilson's HTML tweaks to the template error screen
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1381 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-23 23:15:52 +00:00
Adrian Holovaty
21f2d842fa Added Wilson's CSS tweaks to the template error screen
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1380 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-23 23:12:24 +00:00
Adrian Holovaty
5d863f1fbd Fixed #603 -- Added template debugging errors to pretty error-page output, if TEMPLATE_DEBUG setting is True. Also refactored FilterParser for a significant speed increase and changed the template_loader interface so that it returns information about the loader. Taken from new-admin. Thanks rjwittams and crew
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1379 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-23 23:10:17 +00:00
Adrian Holovaty
cfc5786d03 Fixed missing {% load i18n %} tag in comments FREE_COMMENT_FORM template
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1378 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-23 21:56:21 +00:00
Robert Wittams
9a47071c38 Removed old filter parser
git-svn-id: http://code.djangoproject.com/svn/django/branches/new-admin@1377 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-23 21:47:53 +00:00
Adrian Holovaty
08a494c40d Added better error handling for trailing periods in URLconf include()s
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1376 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-23 21:44:48 +00:00
Robert Wittams
fbae051559 Fix #885
git-svn-id: http://code.djangoproject.com/svn/django/branches/new-admin@1375 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-23 21:33:19 +00:00
Adrian Holovaty
fce688cc74 Fixed #886 -- timesince utility now supports microseconds. Thanks, Aaron Swartz
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1374 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-23 21:13:00 +00:00
Adrian Holovaty
c8719b7765 new-admin: Negligible syntax changes in django.views.debug in preparation for merge to trunk
git-svn-id: http://code.djangoproject.com/svn/django/branches/new-admin@1373 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-23 19:37:17 +00:00
Adrian Holovaty
c18d99735e new-admin: Negligible syntax changes in django.core.template in preparation for merge to trunk
git-svn-id: http://code.djangoproject.com/svn/django/branches/new-admin@1372 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-23 19:05:55 +00:00
Georg Bauer
87e0c2a712 updated all message files for translation hooks from [1368]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1371 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-23 17:31:52 +00:00
Georg Bauer
0e1ae73ad7 another update for the german translations file
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1370 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-23 17:27:47 +00:00
Georg Bauer
8dc25efea8 updated message files for new translation targets (comments) and updated 'de' translation
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1369 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-23 17:14:54 +00:00
Adrian Holovaty
6303141fbb Applied translation strings from new-admin to contrib.admin.views.doc
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1368 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-23 17:02:38 +00:00
Robert Wittams
855d9909c6 Exception handling fix for change lists. Cheers plisk.
git-svn-id: http://code.djangoproject.com/svn/django/branches/new-admin@1367 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-23 16:18:17 +00:00
Georg Bauer
6d6d90ce33 made the message when locale/ or conf/locale/ could not be found a bit more clear
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1366 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-23 16:14:24 +00:00
Georg Bauer
ea1d8471c2 test-commit
git-svn-id: http://code.djangoproject.com/svn/django/branches/new-admin@1365 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-23 15:48:16 +00:00
Adrian Holovaty
d215cbd63a Added translation strings to django.contrib.comments. Taken from new-admin.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1364 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-23 15:42:09 +00:00
Georg Bauer
df06056a17 fixed missing """ in the code
git-svn-id: http://code.djangoproject.com/svn/django/branches/new-admin@1363 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-22 23:18:47 +00:00
Georg Bauer
3d9eabdbe1 new_admin: updated message files to reflect code moves and fixed some small merge breakage in .po/.mo files
git-svn-id: http://code.djangoproject.com/svn/django/branches/new-admin@1362 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-22 23:02:48 +00:00
Robert Wittams
927e5d63b9 Merged to trunk r1359
git-svn-id: http://code.djangoproject.com/svn/django/branches/new-admin@1361 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-22 22:53:47 +00:00
Georg Bauer
55089cc02d updated 'sk' translations. Fixes #881
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1360 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-22 22:53:02 +00:00
Georg Bauer
cf84ba3b81 added translation hooks to timesince and updated message files to reflect them (and updated the 'de' translation). Additionally some smallish code changes to timesince (that weird zip thingy was just scary - and there is no need to .floor an integer division)
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1359 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-22 21:45:54 +00:00