1
0
mirror of https://github.com/django/django.git synced 2024-12-26 19:16:11 +00:00
Commit Graph

2536 Commits

Author SHA1 Message Date
Adrian Holovaty
a6946dac54 Fixed #533 -- Fixed bug when using custom context_instance in load_and_render(). Thanks, Brantley
git-svn-id: http://code.djangoproject.com/svn/django/trunk@657 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-21 21:41:37 +00:00
Adrian Holovaty
0505000533 Changed django.core.extensions.load_and_render to take context_instance instead of context_class keyword arg, so DjangoContext can be used
git-svn-id: http://code.djangoproject.com/svn/django/trunk@656 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-21 18:18:04 +00:00
Adrian Holovaty
63994a9801 Added django.core.extensions.load_and_render, which factors out the boilerplate of loading a template, rendering a context and returning an HttpResponse
git-svn-id: http://code.djangoproject.com/svn/django/trunk@655 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-21 17:24:33 +00:00
Adrian Holovaty
bb87b2163c Fixed #525 -- admin.list_filter now works with ManyToManyFields whose primary keys are integers and are not called 'id'. Thanks for the bug report, nesh
git-svn-id: http://code.djangoproject.com/svn/django/trunk@654 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-20 03:46:11 +00:00
Adrian Holovaty
88a65ddd7f Added ManyToManyField filter doesn't display question to FAQ
git-svn-id: http://code.djangoproject.com/svn/django/trunk@653 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-20 03:24:01 +00:00
Adrian Holovaty
aa865f3605 Added 'Why did you write all of Django from scratch' FAQ question
git-svn-id: http://code.djangoproject.com/svn/django/trunk@652 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-20 03:18:05 +00:00
Adrian Holovaty
fe01b4d939 Changed my bio to reflect my job change
git-svn-id: http://code.djangoproject.com/svn/django/trunk@651 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-20 03:05:37 +00:00
Adrian Holovaty
7dfb86724d Improved model validator so that it validates admin.list_display values
git-svn-id: http://code.djangoproject.com/svn/django/trunk@650 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-20 02:48:25 +00:00
Adrian Holovaty
1d65ba62db Added a few notes about list_display to docs/model-api.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@649 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-20 02:37:39 +00:00
Adrian Holovaty
473306a658 Added unit test to one_to_one model that confirms #527
git-svn-id: http://code.djangoproject.com/svn/django/trunk@648 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-20 01:12:24 +00:00
Adrian Holovaty
e7982bb5b0 Fixed #491 -- Non-user connections are now supported for PostgreSQL. Thanks, jafo@tummy.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@647 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-19 01:23:03 +00:00
Adrian Holovaty
09bd9d3ef6 Fixed #506 -- runtests.py now allows models to be tested individually. Thanks, Simon
git-svn-id: http://code.djangoproject.com/svn/django/trunk@646 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-19 01:18:04 +00:00
Adrian Holovaty
bcc2873c70 Companion django.core.extensions checkin to [644]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@645 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-17 23:08:24 +00:00
Adrian Holovaty
1e910f94d2 Fixed mutable-argument bug in template.Context init. Thanks, Luke
git-svn-id: http://code.djangoproject.com/svn/django/trunk@644 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-17 23:06:16 +00:00
Jacob Kaplan-Moss
526de4987a Fixed "unique" validator for fields with relations.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@643 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-15 16:54:46 +00:00
Adrian Holovaty
1874f26d22 Small change to docs/modpython.txt -- added link to Apache Web site
git-svn-id: http://code.djangoproject.com/svn/django/trunk@642 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-14 19:07:29 +00:00
Adrian Holovaty
9a24228a3e Fixed #502 -- Added 'categories' keyword argument to RSS framework. Thanks, eugene
git-svn-id: http://code.djangoproject.com/svn/django/trunk@641 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-14 17:39:47 +00:00
Adrian Holovaty
f55f98f989 Fixed #500 -- Created a TEMPLATE_FILE_EXTENSION setting that lets you override the default '.html' if you want to use a different extension (or none at all) for templates
git-svn-id: http://code.djangoproject.com/svn/django/trunk@640 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-14 01:24:36 +00:00
Adrian Holovaty
adaf046591 Fixed metasystem bug when using get_related_many_to_many() method with a custom-named primary key. Thanks, stane
git-svn-id: http://code.djangoproject.com/svn/django/trunk@639 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-13 03:48:06 +00:00
Adrian Holovaty
84560c7f84 Removed Lawrence-specific stuff in utils.text.recapitalize. Refs #467
git-svn-id: http://code.djangoproject.com/svn/django/trunk@638 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-13 03:31:34 +00:00
Adrian Holovaty
99e0f7a932 Removed utils.text.fix_microsoft_characters, which didn't actually do anything. Refs #467.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@637 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-13 03:28:34 +00:00
Adrian Holovaty
6e034a831a Fixed #481 -- Added all other HTTP status codes to WSGI backend. Thanks, eugene
git-svn-id: http://code.djangoproject.com/svn/django/trunk@636 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-13 03:21:44 +00:00
Adrian Holovaty
63e512f25f Fixed #485 -- Typo in utils/feedgenerator.py. Thanks, eugene@lazutkin.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@635 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-11 15:20:05 +00:00
Adrian Holovaty
095305cb44 Fixed #486 -- Fixed bug in template filter parsing in edge cases, and added unit tests. Thanks, Simon
git-svn-id: http://code.djangoproject.com/svn/django/trunk@634 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-11 15:18:04 +00:00
Adrian Holovaty
e01ef9ddd8 Fixed #487 -- Fixed typo in docs/cache.txt. Thanks, eugene@lazutkin.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@633 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-11 15:12:30 +00:00
Adrian Holovaty
f46402bc90 Made 'django-admin.py init' more robust
git-svn-id: http://code.djangoproject.com/svn/django/trunk@632 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-06 22:14:40 +00:00
Adrian Holovaty
93010c75f2 Fixed #465 -- Fixed typo in docs/templates_python.txt. Thanks, Manuzhai
git-svn-id: http://code.djangoproject.com/svn/django/trunk@631 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-06 21:30:45 +00:00
Adrian Holovaty
1087ee3d5e Fixed #462 -- Fixed typo in docs/templates_python.txt. Thanks, eugene@lazutkin.com and sanxiyn
git-svn-id: http://code.djangoproject.com/svn/django/trunk@630 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-06 12:37:54 +00:00
Adrian Holovaty
4ea3dd5dbd Fixed small typo in [628]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@629 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-06 03:07:38 +00:00
Adrian Holovaty
cadb6a008d Finished docs/templates_python.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@628 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-06 03:05:50 +00:00
Adrian Holovaty
276731d625 Fixed some more formatting bugs in [625]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@627 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-06 02:37:39 +00:00
Adrian Holovaty
adae680c73 Fixed some formatting bugs in [625]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@626 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-06 02:35:51 +00:00
Adrian Holovaty
f9f0ea9308 Added a couple more sections to docs/templates_python.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@625 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-06 02:30:23 +00:00
Adrian Holovaty
e131e400e0 Made small cleanups to [623]
git-svn-id: http://code.djangoproject.com/svn/django/trunk@624 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-06 00:01:44 +00:00
Adrian Holovaty
096ad32c84 Added docs/templates_python.txt, which isn't finished yet
git-svn-id: http://code.djangoproject.com/svn/django/trunk@623 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-05 23:38:46 +00:00
Adrian Holovaty
e5a801590a Improved model validator to check for upload_to attribute in FileFields
git-svn-id: http://code.djangoproject.com/svn/django/trunk@622 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-05 15:04:20 +00:00
Adrian Holovaty
65bab4b824 Fixed #456 -- Fixed minor typo in docs/overview.txt. Thanks, eugene@lazutkin.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@621 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-04 18:24:23 +00:00
Adrian Holovaty
fc9d457686 Fixed #458 -- Added /r/ to default admin urlconf
git-svn-id: http://code.djangoproject.com/svn/django/trunk@620 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-04 18:20:57 +00:00
Adrian Holovaty
1a010f8b29 Fixed #459 -- setup.py now includes admin_templates/registration. Thanks, igor@jahber.org
git-svn-id: http://code.djangoproject.com/svn/django/trunk@619 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-04 18:19:27 +00:00
Adrian Holovaty
66d4db7b09 Fixed #351 -- views.generic.list_detail.object_list now respects allow_empty when paginating. Thanks, kmh
git-svn-id: http://code.djangoproject.com/svn/django/trunk@618 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-02 22:54:12 +00:00
Adrian Holovaty
5c22b8b4b7 Improved model validator to make sure prepopulate_from is a list or tuple
git-svn-id: http://code.djangoproject.com/svn/django/trunk@617 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-02 22:50:53 +00:00
Adrian Holovaty
6d92319838 Added note to docs/cache.txt saying CacheMiddleware needs to be first entry in MIDDLEWARE_CLASSES
git-svn-id: http://code.djangoproject.com/svn/django/trunk@616 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-02 21:22:49 +00:00
Adrian Holovaty
ccbea84834 Fixed #404 -- Fixed random ordering in MySQL by abstracting random function into db backend modules. Thanks, mattycakes@gmail.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@615 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-02 20:46:00 +00:00
Adrian Holovaty
95e8688d7f Added unit test that confirms #404
git-svn-id: http://code.djangoproject.com/svn/django/trunk@614 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-02 20:37:24 +00:00
Adrian Holovaty
5bdf1da730 Fixed #394 -- Trailing-slash redirects now retain duplicate name-value query-string pairs, instead of the first of each pair. Added a QueryDict.urlencode() method to accomplish this. Updated the docs. Thanks for the good catch, mlambert
git-svn-id: http://code.djangoproject.com/svn/django/trunk@613 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-02 19:39:47 +00:00
Adrian Holovaty
92918b5ed7 Fixed ReST bugs in docs/django-admin.txt
git-svn-id: http://code.djangoproject.com/svn/django/trunk@612 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-02 19:05:51 +00:00
Adrian Holovaty
64d3da63ae Fixed #429 -- Small cleanup to code in utils/html.py. Thanks, pb@e-scribe.com
git-svn-id: http://code.djangoproject.com/svn/django/trunk@611 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-02 18:51:14 +00:00
Adrian Holovaty
33570454e3 Fixed #448 -- Fixed bug in docs/forms.txt. Thanks, Hugo
git-svn-id: http://code.djangoproject.com/svn/django/trunk@610 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-02 18:42:36 +00:00
Adrian Holovaty
3aa1276bff Fixed #453 -- 'django-admin install' now does model validation before installation. Lightly refactored django.core.management to add a get_validation_errors() function, which validate() wraps.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@609 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-02 18:38:23 +00:00
Adrian Holovaty
24006427d9 Changed django.core.management.validate to take an optional 'outfile' argument, defaulting to sys.stdout
git-svn-id: http://code.djangoproject.com/svn/django/trunk@608 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-09-02 18:28:26 +00:00