Adrian Holovaty
375c88d2bc
Fixed #5227 -- Made the redirect security check in django.contrib.auth.views.login() tighter. Thanks, Sander Dijkhuis
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@6004 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-25 18:34:28 +00:00
Malcolm Tredinnick
14b5e074ba
Fixed #3311 -- Added naturalday filter to contrib.humanize. Thanks, Jyrki Pulliainen.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5985 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-20 08:50:08 +00:00
Adrian Holovaty
221f99ed58
Refactored quote_name() to DatabaseOperations.quote_name(). Refs #5106
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5967 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-20 01:03:33 +00:00
Malcolm Tredinnick
8d97f15b96
Fixed #4125 -- Added some small fixes to contrib.databrowse: fixed calendar views, added a summary of the number of objects in each list, and added a template entry point for the customisation enthusiasts. Nice work, SmileyChris.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5947 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-19 17:01:54 +00:00
Malcolm Tredinnick
90c177f18e
Fixed #5200 -- Added Polish localflavor. Thanks, Slawek Mikula.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5936 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-19 07:38:39 +00:00
Malcolm Tredinnick
a901af5f58
Fixed #5155 -- Translated the model name (when available) in the Recent Actions log.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5935 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-19 05:40:47 +00:00
Adrian Holovaty
b38375ee4c
Fixed bug in [5885]
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5886 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-14 22:26:34 +00:00
Adrian Holovaty
6aae9b2aa4
Changed django.contrib.auth.views.login to use RequestSite if the sites framework is not installed -- i.e., the sites framework is no longer required to use this view. See also [5654]
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5885 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-14 22:08:11 +00:00
Adrian Holovaty
9ee6326cb6
Fixed #5019 -- Fixed broken links in navigation of 'change password' admin page. Thanks, hpxchan@gmail.com
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5863 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-12 03:26:35 +00:00
Malcolm Tredinnick
e5fb29140b
Moved in_ directory to its correct location under localflavor. I committed it in the wrong place in [5847]. Fixed #3986 .
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5856 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-12 01:19:54 +00:00
Malcolm Tredinnick
35ce8a2a8a
Fixed #4902 -- Added Czech support to urlify.js. Thanks, Honza Král.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5853 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-11 12:09:52 +00:00
Malcolm Tredinnick
9d7dc0c4bf
Fixed #4189 -- Fixed crashes in a couple of corner cases in the comments app. Not a perfect fix (see ticket), but it will do as a holdover until the new comments framework is in place.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5848 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-11 10:50:39 +00:00
Malcolm Tredinnick
9309a8d6c3
Fixed #3986 -- Added Indian localflavor. Thanks, pradeep.gowda@gmail.com.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5847 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-11 10:04:19 +00:00
Gary Wilson Jr
212ee65be7
Fixed #2101 -- Renamed `maxlength` argument to `max_length` for oldforms `FormField`s and db model `Field`s. This is fully backwards compatible at the moment since the legacy `maxlength` argument is still supported. Using `maxlength` will, however, issue a `PendingDeprecationWarning` when used.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5803 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-05 05:14:46 +00:00
Gary Wilson Jr
919205ef85
Refs #3397 -- Corrected the Exception that is caught when ordering by non-fields (added in [4596]), thanks glin@seznam.cz.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5799 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-08-04 14:41:49 +00:00
Simon Willison
fd2b99b5f1
After discussing with Malcolm, added set_unusable_password() and has_usable_password() methods to the User object, plus tests and updated documentation
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5771 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-28 18:30:40 +00:00
Gary Wilson Jr
29078eaeca
Fixed #4971 -- Fixed some escaping and quoting problems in the databrowse contrib app. Based on patch from Johann Queuniet.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5764 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-26 05:01:53 +00:00
Malcolm Tredinnick
f5ef3bec68
Fixed #3925 -- Added Slovak localflavor items. Thanks, Martin Kosír.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5724 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-19 09:24:36 +00:00
Malcolm Tredinnick
29891add3d
Fixed #4887 -- Fixed another place where template tag arguments are used
...
directly as function keyword args. Thanks, Brian Rosner.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5715 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-16 04:54:49 +00:00
Malcolm Tredinnick
5dd9a2ab38
Fixed #4199 -- Changed date formatting in HTTP expires header to be spec
...
compliant. Thanks, Chris Bennett.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5712 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-16 03:50:22 +00:00
Malcolm Tredinnick
f2a45f9b38
Fixed #4862 -- Fixed invalid Javascript creation in popup windows in admin.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5694 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-14 13:14:28 +00:00
Malcolm Tredinnick
92ee770773
Fixed #4556 -- Stylistic changes to [5500]. Thanks, glin@seznam.cz.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5689 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-13 14:40:39 +00:00
Malcolm Tredinnick
3eb1071b3d
Fixed #4865 -- Replaced a stray generator comprehension with a list
...
comprehension so that we don't break Python 2.3.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5685 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-13 13:15:35 +00:00
Malcolm Tredinnick
0145e71ceb
Fixed #4846 -- Fixed some Python 2.3 encoding problems in the admin interface.
...
Based on a patch from daybreaker12@gmail.com .
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5683 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-13 11:05:01 +00:00
Russell Keith-Magee
6335317a42
Fixed #3505 -- Added handling for the error raised when the user forgets the comma in a single element tuple when defining AUTHENTICATION_BACKENDS. Thanks for the help identifying this problem, Mario Gonzalez <gonzalemario@gmail.com>.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5678 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-13 05:03:33 +00:00
Russell Keith-Magee
4d9e29ea86
Fixed #4775 -- Added some missing Hungarian accents to the urlify.js LATIN_MAP. Thanks, Pistahh <szekeres@iii.hu>.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5672 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-12 14:00:13 +00:00
Russell Keith-Magee
f3e71048c3
Fixed #4808 -- Added Chilean regions in localflavor. Thanks, Marijn Vriens <marijn@metronomo.cl>.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5663 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-12 12:44:05 +00:00
Adrian Holovaty
090aa5210e
Improved syndication feed framework to use RequestSite if the sites framework is not installed -- i.e., the sites framework is no longer required to use the syndication feed framework. This is backwards incompatible if anybody has subclassed Feed and overridden __init__(), because the second parameter is now expected to be an HttpRequest object instead of request.path
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5654 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-12 05:29:32 +00:00
Adrian Holovaty
dcd5750d7a
Added RequestSite class to sites framework
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5653 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-12 05:28:04 +00:00
Adrian Holovaty
06fc225ae6
Added helpful error message to SiteManager.get_current() if the user hasn't set SITE_ID
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5652 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-12 05:23:47 +00:00
Malcolm Tredinnick
86640f33c1
Fixed #3760 -- Added the ability to manually set feed- and item-level id
...
elements in Atom feeds. This is fully backwards compatible. Based on a patch
from spark343@cs.ubc.ca .
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5643 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-10 12:33:55 +00:00
Malcolm Tredinnick
fad7247715
Changed HttpRequest.path to be a Unicode object. It has already been
...
URL-decoded by the time we see it anyway, so keeping it as a UTF-8 bytestring
was causing unnecessary problems.
Also added handling for non-ASCII URL fragments in feed creation (the portion
that was outside the control of the Feed class was messed up).
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5629 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-07 17:15:54 +00:00
Malcolm Tredinnick
fbd9381802
Fixed #4766 -- Added Russian support to Javascript slug creation. Thanks,
...
boobsd@gmail.com .
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5611 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-04 12:31:19 +00:00
Malcolm Tredinnick
f0250b64f6
Fixed Javascript syntax from [5608] that was causing a problem in Opera. Fixed
...
#4365 .
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5610 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-04 12:25:43 +00:00
Malcolm Tredinnick
953badbea5
Merged Unicode branch into trunk (r4952:5608). This should be fully
...
backwards compatible for all practical purposes.
Fixed #2391 , #2489 , #2996 , #3322 , #3344 , #3370 , #3406 , #3432 , #3454 , #3492 , #3582 , #3690 , #3878 , #3891 , #3937 , #4039 , #4141 , #4227 , #4286 , #4291 , #4300 , #4452 , #4702
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5609 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-04 12:11:04 +00:00
Adrian Holovaty
f9a592d99d
Fixed #4729 -- SessionWrapper.pop now sets modified flag if necessary. Thanks, Ben Slavin, SmileyChris and Collin Grady
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5592 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-03 15:02:40 +00:00
Malcolm Tredinnick
179f478ffe
Fixed #4751 -- Fixed that AnonymousUser.__str__ to always return a string
...
object, as required by Python.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5590 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-07-03 12:24:46 +00:00
Malcolm Tredinnick
17145eef4c
Removed unneeded import.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5536 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-25 16:10:33 +00:00
Malcolm Tredinnick
ac64e91a0c
Merged boulder-oracle-sprint branch (r3965:5512) back into trunk. All
...
expected tests pass for all databases.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5519 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-23 14:16:00 +00:00
Malcolm Tredinnick
08aa5c585b
Fixed #4607 -- Tweaked checks for features missing in Python 2.3 to not assume
...
things Python does not guarantee. Patch from SmileyChris.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5514 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-23 03:18:22 +00:00
Malcolm Tredinnick
880e3cfaa6
Backed out the changes in [5482] for a bit whilst some more investigation into
...
side-effects is done. Refs #4565 .
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5511 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-22 07:15:04 +00:00
Adrian Holovaty
11a8084d4f
Fixed #4556 -- Admin showAddAnotherPopup JavaScript function can now handle URLs with GET attributes. Thanks for the patch, glin@seznam.cz
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5500 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-20 06:12:43 +00:00
Adrian Holovaty
bb5734ee30
Fixed #4584 -- Fixed improper </div> nesting in databrowse object_detail.html template.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5497 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-20 06:08:47 +00:00
Adrian Holovaty
13216e12dd
Fixed #4618 -- Fixed error in django.contrib.redirects new_path handling. Thanks, cephelo@gmail.com
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5494 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-20 06:01:16 +00:00
Luke Plant
18619a11ee
Fixed behaviour of contrib.auth.forms.PasswordResetForm when more than
...
one User have the same e-mail address.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5493 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-19 20:04:54 +00:00
Malcolm Tredinnick
bccb8897e6
Fixed #4565 -- Changed template rendering to use iterators, rather than
...
creating large strings, as much as possible. This is all backwards compatible.
Thanks, Brian Harring.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5482 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-17 07:11:37 +00:00
Malcolm Tredinnick
44dd91ec6d
Fixed #4015 -- Changed login() and logout() messages to update request.user if
...
it is relevant. Thanks James Bennett, Vinay Sajip and Gary Wilson.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5472 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-15 01:53:40 +00:00
Malcolm Tredinnick
4a61c2f912
Fixed #4531 -- Added a bit more randomness to session idents. Thanks, Frank
...
Tegtmeyer.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5470 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-15 00:22:16 +00:00
Malcolm Tredinnick
8728e0f353
Fixed #4404 -- Fixed LatestCommentsFeed query problem. Thanks, SmileyChris.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5408 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-06-01 11:58:17 +00:00
Jacob Kaplan-Moss
1e70426619
Fixed #3397 (again): admin_order_field is now displayed correctly in the admin views. Thanks, kent37@tds.net
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5318 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-22 16:56:53 +00:00
Malcolm Tredinnick
4c53116144
Fixed #4338 -- Added pop() method to SessionWrapper. Thanks, Gary Wilson.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5306 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-21 04:03:53 +00:00
Malcolm Tredinnick
92c35a0617
Fixed #2365 , #3324 -- Renamed FloatField to DecimalField and changed the code
...
to return Decimal instances in Python for this field. Backwards incompatible
change.
Added a real FloatField (stores floats in the database) and support for
FloatField and DecimalField in newforms (analogous to IntegerField).
Included decimal.py module (as django.utils._decimal) from Python 2.4. This is
license compatible with Django and included for Python 2.3 compatibility only.
Large portions of this work are based on patches from Andy Durdin and Jorge
Gajon.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5302 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-21 01:29:58 +00:00
Adrian Holovaty
03966f077b
Fixed #4348 -- Updated Google sitemap ping code. Thanks, marijn
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5300 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-20 20:47:18 +00:00
Russell Keith-Magee
edc0fcdf7c
Moved markup tests into their contrib directory.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5297 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-20 04:08:14 +00:00
Russell Keith-Magee
c9aa4c71ac
Modified the django system test script to search for tests in the contrib apps.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5296 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-20 03:51:21 +00:00
Malcolm Tredinnick
d8db013eea
Fixed #4330 -- Fixed typo when retrieving field names. Patch from Marc Fargas.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5293 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-19 18:54:35 +00:00
Malcolm Tredinnick
b996e214c0
Changed the fix from [5231] so that the backwards-incompatibility is made more
...
obvious and everything still has nice names.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5237 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-14 16:24:51 +00:00
Malcolm Tredinnick
3780a4532c
Fixed a compatibility problem with Python 2.3.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5210 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-12 16:05:51 +00:00
Malcolm Tredinnick
7c0ef82752
Fixed #4276 -- Fixed a crash in the lorem tag when more than 20 words were
...
requested.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5190 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-11 09:44:13 +00:00
Malcolm Tredinnick
ee227a8507
Added native eol-style settings to necessary files. Refs #4276 .
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5189 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-11 09:13:37 +00:00
Malcolm Tredinnick
1c53661bd1
Moved generic relations into django.contrib.contenttypes, since it depends on
...
that to work. Backwards incompatible change.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5172 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-08 10:59:35 +00:00
Malcolm Tredinnick
d1b0d34dc6
Fixed #4200 -- Made get_admin_log template tag behave according to its
...
docstring (user specifier is optional). Thanks, Bryan Chow.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5170 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-08 03:56:44 +00:00
Malcolm Tredinnick
0b2f9e89cd
Fixed #3946 -- Added Swiss localflavor. Thanks, charly.wilhelm@gmail.com.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5132 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-05-01 03:10:10 +00:00
Adrian Holovaty
51e867a2e5
Fixed inconsistent period usage in localflavor.br error messages from [5089]
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5099 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-26 15:05:47 +00:00
Adrian Holovaty
143270856b
Small formatting changes to localflavor/cl/forms.py
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5098 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-26 14:59:27 +00:00
Malcolm Tredinnick
4bce3c17ec
Revert [5092], since this should only have been applied to newforms-admin.
...
Refs #1576 .
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5097 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-26 14:58:38 +00:00
Adrian Holovaty
af6ed6c91d
Small formatting changes to localflavor/is_/forms.py
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5095 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-26 14:55:18 +00:00
Malcolm Tredinnick
6c18ba8c91
Fixed #1576 -- Fixed incorrect SQL generated when using descending ordering
...
from related models. Patch from SmileyChris.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5092 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-26 13:48:31 +00:00
Malcolm Tredinnick
439cb4047f
Fixed #4040 -- Changed uses of has_key() to "in". Slight performance
...
improvement and forward-compatible with future Python releases. Patch from Gary
Wilson.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5091 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-26 13:30:48 +00:00
Malcolm Tredinnick
6c02565e4f
Fixed #3957 , #3945 -- Added CPF and CNPJ (some Brazilian identity numbers)
...
fields to the Brazilian localflavor. Thanks, onaiort@gmail.com and
danielvaz@gmail.com .
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5089 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-26 13:11:07 +00:00
Malcolm Tredinnick
ed60b8645f
Fixed #4122 -- Added Chilean localflavor. Thanks, marijn@metronomo.cl.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5087 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-26 12:41:34 +00:00
Malcolm Tredinnick
a738f3a4ff
Fixed #4143 -- Added Icelandic localflavor. Note that we use the is_/ directory
...
name because "is" is a reserved word in Python. Patch from
django@einaregilsson.com .
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5080 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-26 08:43:25 +00:00
Malcolm Tredinnick
74bab89178
Fixed #3379 -- Changed login() so that we update last_login when a user
...
logs in. Thanks, arvin.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5074 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-25 09:44:06 +00:00
Malcolm Tredinnick
2a7d9ef23f
Fixed #3316 -- Added support for crypt hashing of passwords, mostly to support
...
easy porting from existing Unix-based legacy apps. Thanks, axiak@mit.edu .
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5073 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-25 09:34:29 +00:00
Malcolm Tredinnick
5dfe74f221
Fixed #3185 -- Made values for login, logout and post-login redirect URLs
...
configurable. This is a combined patch from Vasily Sulatskov, Marc Fargas and
Collin Grady.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5072 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-25 08:49:57 +00:00
Malcolm Tredinnick
00cb6a1ba8
Fixed #4107 -- Marked a few more strings for translation. Thanks, Baptiste.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5061 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-23 05:51:29 +00:00
Malcolm Tredinnick
e19ccdad56
Added missing piece needed for supporting subtitle in Atom feeds.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5045 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-20 14:53:21 +00:00
Russell Keith-Magee
e9b66ce1d3
Fixed #3866 -- Added Italian Social Security and VAT input fields to localflavor. Thanks, Massimiliano Ravelli.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5018 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-17 13:37:45 +00:00
Adrian Holovaty
c64f7f065a
Fixed #4060 -- Databrowse no longer requires admin site to be installed
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5016 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-17 07:08:42 +00:00
Adrian Holovaty
968a0627d9
Fixed #4058 -- Fixed AttributeError in databrowse with USE_I18N=True
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5015 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-17 00:40:11 +00:00
Adrian Holovaty
30fb62d71a
Added django.contrib.databrowse
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@5011 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-16 21:56:10 +00:00
Adrian Holovaty
cbb83f967f
Fixed #3983 -- Fixed misspelled Delaware in localflavor.us.us_states. Thanks, oneofthemany1
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4992 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-10 03:29:53 +00:00
Russell Keith-Magee
bbeb62c9af
Backwards-incompatible change -- Removed LazyDate helper class. To preserve existing functionality, query arguments can now be callable. Callable query arguments are evaluated with the query is evaluated.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4985 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-09 13:28:09 +00:00
Malcolm Tredinnick
dd7bb06f12
Fixed #3926 -- Fixed typo in admin CSS. Thanks, Jeff Hilyard.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4979 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-09 12:13:06 +00:00
Malcolm Tredinnick
c80c3922b3
Fixed a typo from [4968].
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4970 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-09 06:16:44 +00:00
Adrian Holovaty
bebf06611f
Removed a stray tab in django.contrib.localflavor.fi.forms
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4968 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-09 02:38:07 +00:00
Russell Keith-Magee
03d3d9f923
Corrected docstring comment for list of states in Brazilian localflavor.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4967 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-09 02:24:13 +00:00
Russell Keith-Magee
8fafee4de0
Fixed #3876 -- Added Australian local flavour. Thanks, Matthew Flanagan.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4955 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-08 13:22:48 +00:00
Russell Keith-Magee
1245b5c01e
Backwards-incompatible change -- Renamed localflavor.usa to localflavor.us to match naming of other flavors.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4954 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-08 11:21:00 +00:00
Adrian Holovaty
c7f6cd0243
Added blank lines around Meta and Admin classes in django.contrib.auth.models
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4945 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-07 04:21:31 +00:00
Adrian Holovaty
e3308e1976
Fixed inconsistent indentation in localflavor/de/forms.py from [4922]
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4939 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-06 04:24:06 +00:00
Malcolm Tredinnick
5f7b0dfb11
Removed an umlaut, since our i18n support (creating PO files) doesn't work
...
smoothly with Python unicode strings at the moment.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4926 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-04 15:15:51 +00:00
Malcolm Tredinnick
5f2c513f9c
Fixed #3919 -- Added German identity card number validation to German
...
localflavor. Thanks, Jannis Leidel.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4922 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-04 11:40:08 +00:00
Malcolm Tredinnick
7a0441b712
Fixed #3897 -- Added German localflavor. Thanks, Jannis Leidel.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4920 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-04 06:45:29 +00:00
Malcolm Tredinnick
1bddac37b6
Moved smart_unicode and StrAndUnicode to django.utils.encoding. They are useful
...
outside of newforms. This is backwards compatible as far as smart_unicode goes
(since newforms.util still imports it). All imports of smart_unicode and
StrAndUnicode have also been updated.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4918 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-04 06:34:19 +00:00
Adrian Holovaty
f791a598a8
Negligible formatting changes to some recent commits
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4917 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-03 22:33:28 +00:00
Malcolm Tredinnick
a5938f350c
Fixed #3890 -- Added USSocialSecurityNumberField. Thanks James Bennet.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4910 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-03 03:56:17 +00:00
Malcolm Tredinnick
44ba9aa674
Fixed #3882 -- Changed error messages in Brazilian localflavor to be in
...
English. Thanks, Wiliam Alves de Souza.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4908 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-03 03:13:21 +00:00
Malcolm Tredinnick
a599f1234e
Fixed #3879 -- Updated Norwegian social security validation rules. Thanks,
...
bp@datakortet.no .
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4888 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-04-01 05:00:44 +00:00
Malcolm Tredinnick
64073e4752
Fixed #3879 -- Added Norwegian localflavor. Thanks bp@datakortet.no
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4875 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-31 09:14:37 +00:00
Malcolm Tredinnick
79312f7a4e
Fixed #3882 -- Added Brazilian localflavor. Thanks, Wiliam Alves de Souza.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4874 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-31 09:05:54 +00:00
Russell Keith-Magee
7be1f44053
Fixed #3473 -- Corrected access to get in manager (probably introduced as part of magic-removal conversion).
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4873 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-31 02:23:34 +00:00
Malcolm Tredinnick
63a629bb8d
Fixed #3847 -- Added validation support for Finnish social security numbers.
...
Thanks, karsu.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4868 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-30 10:18:15 +00:00
Malcolm Tredinnick
51c7dadc4c
Fixed #3847 -- Added Finnish localflavor contribution from Ville Säävuori.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4867 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-30 10:04:22 +00:00
Malcolm Tredinnick
efd95dfedd
Fixed #3866 -- Added Italian localflavors contribution from
...
flavio.curella@gmail.com .
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4862 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-30 05:45:17 +00:00
Adrian Holovaty
d22e39c10d
Fixed #3799 -- Added django.contrib.webdesign and moved 'lorem' template tag into there
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4857 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-30 01:50:06 +00:00
Adrian Holovaty
587abaa95c
Removed stray tab in django.contrib.humanize template tag
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4856 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-29 22:28:13 +00:00
Russell Keith-Magee
aebd5f94a2
Fixed #3845 -- Added index to URL attribute of flatpages model.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4849 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-29 11:46:26 +00:00
Adrian Holovaty
796b2304f3
Fixed #3773 -- Added app_label to Permission.__str__(), so that the admin permission list is easier to use with multiple permissions of the same name. Thanks, mrmachine
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4823 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-25 21:28:59 +00:00
Adrian Holovaty
f2861dad43
Fixed #3715 -- Added Japanese package to django.contrib.localflavor. Thanks, Makoto Tsuyuki
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4822 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-25 21:26:44 +00:00
Adrian Holovaty
e2c04e8cf2
Indented DEPARTMENT_ASCII_CHOICES in localflavor.fr.fr_department to be consistent with our style
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4821 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-25 21:22:07 +00:00
Adrian Holovaty
955f4db6f4
Fixed #3813 -- Added French package to django.contrib.localflavor. Thanks, Fabrice Aneche
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4820 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-25 21:10:36 +00:00
Malcolm Tredinnick
29aa31d8f5
Reduced the chances of session object collision. The window of opportunity is
...
now about five Python instructions in get_or_create(). This doesn't guarantee
no collisions, but should fix many occurrences. Refs #1180 .
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4771 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-22 02:20:33 +00:00
Adrian Holovaty
61d6249c2b
Fixed #3758 -- Changed FormPreview template to use 'label' instead of 'verbose_name'. Also renamed 'Submit' button to 'Preview'. Thanks for the patch, erickt@dslextreme.com
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4757 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-20 16:54:05 +00:00
Malcolm Tredinnick
b1eea1af40
Fixed #3410 -- Edited a few i18n markups for completeness and to remove some
...
warnings from recent gettext versions. Refs #3704 . Thanks, Michael Radziej,
mirrorballu2@gmail.com and baptiste.goupil@gmail.com .
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4704 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-12 08:35:15 +00:00
Jacob Kaplan-Moss
a5e9f508ce
Added {{{ContentType.objects.clear_cache()}}} which clears the lookup cache. This needs to be called at syncdb time to avoid "stale" content-type IDs after the database gets flushed during unit tests.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4703 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-11 16:06:08 +00:00
Malcolm Tredinnick
ab64b38317
Fixed #2869 -- Do not append ADMIN_MEDIA_PREFIX to absolute-path URLs used for
...
included javascript. Based on patches from SmileyChris and oyvind@saltvik.no .
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4692 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-09 09:32:39 +00:00
Malcolm Tredinnick
c651b08f39
Fixed #3586 -- Only output "Vary: Cookie" HTTP header when the session object
...
is accessed. Leads to better caching performance. Thanks, Owen Griffiths.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4680 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-08 08:46:59 +00:00
Adrian Holovaty
aa55e98b87
Fixed #3654 -- Added missing Mass. to us_states.py in localflavor. Thanks, joe4444
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4665 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-03-05 19:55:29 +00:00
Jacob Kaplan-Moss
77be302469
Reverted [4590] (changes to field label CSS) since it caused more problems than it created. Fixes #3596 and reopens #2205 .
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4652 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-28 22:22:03 +00:00
Jacob Kaplan-Moss
f3cc581f3a
Fixed #2828 , a TypeError when deleting objects with m2m relations to self. Thanks, Brian Beck.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4616 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-26 19:12:31 +00:00
Jacob Kaplan-Moss
abf79841fe
Fixed #3397 : You can now order by non-DB fields in the admin by telling Django which field to actually order by. Thanks, marcink@elksoft.pl
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4596 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-26 05:37:24 +00:00
Jacob Kaplan-Moss
530409369f
Small fix to admin CSS. Fixes #2205 ; thanks, treborhudson@gmail.com
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4590 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-26 04:37:52 +00:00
Adrian Holovaty
ec2eb4d18f
Removed unimplemented allow_letters option from USPhoneNumberField
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4555 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-21 05:55:12 +00:00
Adrian Holovaty
08e406d146
Added newforms USPhoneNumberField in django.contrib.localflavor.usa
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4554 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-21 05:54:09 +00:00
Adrian Holovaty
907241e299
Fixed #2455 -- Added newforms USStateSelect widget in django.contrib.localflavor.usa
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4545 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-20 00:30:22 +00:00
Malcolm Tredinnick
795d832a01
Fixed #3259 -- Fixed problem with prepopulate_from for fields containing
...
underscores in their name. Patch from Gary Wilson.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4537 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-17 06:14:23 +00:00
Adrian Holovaty
1d5e974a4f
Fixed #3503 -- Added newforms UKPostcodeField in django.contrib.localflavor.uk. Thanks for the patch, Jonathan Buchanan
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4527 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-15 21:26:43 +00:00
Adrian Holovaty
1ce1442d95
Implented newforms USStateField in django.contrib.localflavor.usa. Refs #2455
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4525 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-15 06:18:27 +00:00
Adrian Holovaty
27b28616b4
Created django.contrib.localflavor, for country- and culture-specific functionality. Moved django/newforms/extras/usa.py into there
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4524 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-15 05:53:44 +00:00
Malcolm Tredinnick
6c4757729b
Revert [4485] in order to fix accidental mod_python breakage. Refs #2920 .
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4486 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-11 23:50:35 +00:00
Russell Keith-Magee
0e924c70b1
Refs #2920 -- Replaced implicit uses of _() with explicit imports or calls to gettext(). At some point post 0.96, we need to remove the calls that put _ into the builtins.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4485 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-11 06:20:52 +00:00
Russell Keith-Magee
f9cdde0cb4
Fixed #3162 -- Added coded to catch and rethrow exceptions that are thrown by the views visited by the test client. Thanks, Ben <afternoon@uk2.net>.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4482 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-11 00:23:31 +00:00
Malcolm Tredinnick
937f3190ba
Fixed #2762 -- added copyright element support to RSS and Atom feeds. Patch
...
from Jonathan Buchanan.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4478 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-02-10 08:36:39 +00:00
Adrian Holovaty
9d94355885
Fixed #2133 -- Invalid session cookie no longer causes fatal error. Thanks, greg-django@abbas.org
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4423 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-01-25 00:47:44 +00:00
Jacob Kaplan-Moss
43193c1821
Fixed #3287 : method columns in the admin changelist can now have a {{{boolean}}} attribute that uses the clever little checkmark icons instead of the ugly "True" or "False" strings. Thanks for the patch, xian@mintchaos.com
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4309 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-01-12 19:40:06 +00:00
Jacob Kaplan-Moss
b118b28bac
Fixed #1717 : ContentType.objects.get_for_manager() is now cached for a small performance gain when dealing with content-types regularly. Thanks, Dave St.Germain.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4307 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-01-12 15:15:05 +00:00
Adrian Holovaty
2144a2c23f
Fixed #3269 -- Fixed typo in admin change_password.html template. Thanks, ramiro
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4302 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2007-01-10 22:34:37 +00:00
Adrian Holovaty
d04a2e792c
Fixed typo in a docstring in django/contrib/admin/views/main.py
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4269 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-12-30 07:48:11 +00:00
Adrian Holovaty
7180207328
Fixed #3166 -- Added admin 'Change user password' view. Thanks for the patch, SmileyChris
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4266 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-12-30 07:16:25 +00:00
Adrian Holovaty
0919920bc0
Added missing import to django.contrib.formtools.preview from [4259]. Thanks, Vadim Macagon
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4260 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-12-30 00:06:28 +00:00
Adrian Holovaty
3dbaf60b86
Fixed #3204 -- Changed FormPreview to use RequestContext
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4259 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-12-29 19:42:56 +00:00
Jacob Kaplan-Moss
069a8858ba
Fixed #3128 : Added explicit object-tools block so custom admin templates can override it where needed. Thanks, Gary Wilson.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4230 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-12-20 05:00:36 +00:00
Adrian Holovaty
d9ce900e13
Fixed #3157 -- Made error message XHTML-friendly in CSRF middleware. Thanks, mir@noris.de
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4225 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-12-18 15:37:52 +00:00
Adrian Holovaty
706fcec164
Copied django.forms to django.oldforms and changed all code to reference django.oldforms instead of django.forms. Updated docs/forms.txt to add 'Forwards-compatibility' section that says you should not be using django.oldforms for any new projects.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4208 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-12-15 18:00:50 +00:00
Adrian Holovaty
5f36d9d562
Added django.contrib.contenttypes.management.create_all_contenttypes() function for convenience
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4183 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-12-07 16:19:37 +00:00
Adrian Holovaty
545ebf4395
Improved [4180] to add HTML escaping on the primary-key value in the error message
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4181 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-12-07 15:14:35 +00:00
Adrian Holovaty
201704be3d
Added improved error message in admin views/main.py when loading ChangeManipulator. Also took the opportunity to convert all Http404 exceptions to use proper exception raising syntax
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4180 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-12-07 15:09:24 +00:00
Russell Keith-Magee
939ee97d4d
Fixed #3106 -- Typo in sitemap ping_google method. Thanks, Bastian Kleineidam.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4169 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-12-07 00:02:02 +00:00
Adrian Holovaty
c7345f4e0f
Fixed bug in admin with raw_id_admin -- change list in popup didn't append 'pop' link to the 'total' link. Thanks for reporting, patrickk
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4165 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-12-06 06:23:59 +00:00
Adrian Holovaty
311fadeee0
Added django.contrib.formtools, including the forced-preview application
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4164 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-12-05 20:51:25 +00:00
Adrian Holovaty
6b7cd79e83
Fixed #3061 -- Fixed wrong schema URL in sitemap_index.xml template. Thanks, Mateusz Pawlik and John D'Agostino
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4101 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-25 05:20:14 +00:00
Adrian Holovaty
f759dac2c9
Fixed #3033 -- Extended django.contrib.sitemaps to support new, generic sitemap protocol rather than Google's proprietary version. Thanks, Petar Marić
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4088 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-20 16:32:40 +00:00
Adrian Holovaty
d2180a6bf3
Fixed #3014 -- Admin 'now' shortcut for DateTimeFields now updates seconds, too. Thanks for the patch, Esdras Beleza
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4087 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-20 16:23:48 +00:00
Jacob Kaplan-Moss
a14dba5eed
Fixed #2848 : broken doctest in comment app. Thanks, dummy@habmalnefrage.de
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4049 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-07 05:20:00 +00:00
Jacob Kaplan-Moss
212cb21baa
Fixed #2972 : prepopulate_from now works with multiple slugs on the same field. Thanks, Archatas.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4034 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-07 02:04:06 +00:00
Jacob Kaplan-Moss
726756bdd5
Fixed #2975 : dateparse.js now correctly handles the last day of the year. Thanks, wangbin@exoweb.net.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@4032 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-11-07 01:59:46 +00:00
Adrian Holovaty
41d11a685f
Fixed #2968 -- Changed arguments to __import__ to use empty dictionary instead of empty string, for stricter compliance with Python library reference. Thanks for the patch, Yasushi Masuda
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3951 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-10-30 20:50:27 +00:00
Jacob Kaplan-Moss
ed27ff9aa9
Fixed ngettext bug in comments post view
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3936 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-10-25 21:56:17 +00:00
Adrian Holovaty
60b46d72ac
Fixed #648 -- Added comment syntax to template system: {# #}. Thanks for the patch, mccutchen@gmail.com and Hawkeye
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3931 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-10-24 21:30:38 +00:00
Adrian Holovaty
fa49edc7bd
Fixed #2890 -- Added default values of False for auth.User is_staff and is_superuser. Thanks for the suggestion, dummy@habmalnefrage.de
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3930 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-10-24 20:45:28 +00:00
Adrian Holovaty
6b384e828d
Fixed #2826 -- Added .is_authenticated() check before login() in comments views
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3929 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-10-24 17:00:03 +00:00
Adrian Holovaty
1c4ac051ce
Fixed #2925 -- Added missing exception import to admin.views.auth. Thanks, SmileyChris
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3925 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-10-24 16:46:46 +00:00
Adrian Holovaty
179d410a7a
Fixed #2937 -- Added __eq__, __ne__ and __hash__ for AnonymousUser. Thanks, favo@exoweb.net
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3924 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-10-24 16:42:03 +00:00
Adrian Holovaty
3f9ebe6cc5
Fixed #2943 -- Changed admin select filter box to work properly with multi-byte characters in verbose_name. Thanks, mtsuyuki@gmail.com
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3922 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-10-24 16:37:51 +00:00
Adrian Holovaty
b0a8a75fc3
Fixed #2955 -- Fixed incorrect verbose-name display in admin delete_stage message. Thanks for the patch, mattimustang@gmail.com
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3921 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-10-24 16:35:04 +00:00
Russell Keith-Magee
c3c090ab13
Fixes #2915 -- Fixed typo in validation error message. Thanks, Matt Riggott.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3908 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-10-17 00:45:46 +00:00
Russell Keith-Magee
fa4bb1b093
Clarified documentation to indicate that authenticating a user doesn't imply that they are active. Reinforced the fact that has_perm only returns true if user is active, and fixed a minor bug to that effect.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3885 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-30 01:21:03 +00:00
Russell Keith-Magee
14fb13da7e
Disabled access to the admin site for inactive accounts, and clarified documentation regarding User.is_active. Thanks to Enrico <rico.bl@gmail.com> for the report.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3884 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-29 13:37:58 +00:00
Adrian Holovaty
96f0b7bd21
Fixed #2805 -- Removed some whitespace from the two sitemap XML templates.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3869 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-26 16:27:24 +00:00
Adrian Holovaty
2170110df9
Fixed #2704 -- Fixed error in create_superuser. It was failing for invalid usernames. Thanks for reporting, jmu
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3864 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-26 15:28:07 +00:00
Malcolm Tredinnick
6b4eb8bb70
Removed an unnecessary import from r3857. I'd forgotten that _() was put into
...
the global namespace.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3863 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-26 13:59:10 +00:00
Malcolm Tredinnick
876a3ed602
Fixed #2587 -- Removed some escaping from the summary fields.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3856 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-26 11:58:56 +00:00
Malcolm Tredinnick
9b034d2746
Fixed #2816 -- Marked a couple more translatable strings. Thanks, ramiro.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3847 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-26 03:42:27 +00:00
Adrian Holovaty
227626dcd0
Fixed typos and improved documentation for permission_required decorator addition from [3779]
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3835 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-25 17:33:17 +00:00
Georg Bauer
182b5c5b5c
fixed #2731 : updated password change form to allow translation
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3828 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-25 13:53:41 +00:00
Malcolm Tredinnick
e8b572b912
Fixed #2508 -- Added back support for custom edit_inline classes. Thanks,
...
jkocherhans.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3801 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-23 10:02:16 +00:00
Malcolm Tredinnick
96bc9ec79d
Fixed #2520 -- Fixed a problem with invalid SQL being generated by admin
...
interface in certain circumstances. Patch from favo@exoweb.net .
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3794 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-22 13:10:46 +00:00
Malcolm Tredinnick
9e05fc1598
Fixed #2770 -- Fixed a database connection leak in
...
django.contrib.auth.handlers.modpython.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3789 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-22 12:01:15 +00:00
Malcolm Tredinnick
6be701eba1
Fixed #2629 -- Added a permission_required decorator to
...
django.contrib.auth.decorator. Thanks, dummy@habmalnefrage.de .
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3779 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-22 01:44:28 +00:00
Adrian Holovaty
3c5782287e
Fixed #2702 -- Fixed LazyUser to store cache as attribute of request, not class. Thanks for the patch, jkocherhans
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3754 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-12 17:30:47 +00:00
Adrian Holovaty
69375bf9c9
Fixed #2680 -- Made small correction to DateTimeShortcuts.js that was causing problems in newest Mozilla security update for Debian. Thanks, ant9000@netwise.it
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3748 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-11 18:38:20 +00:00
Adrian Holovaty
e9b19df3ee
Added staff_member_required and permission check to django.contrib.admin.views.auth.user_add_stage() -- thanks, Robert Bunting
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3736 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-08 05:38:38 +00:00
Adrian Holovaty
5a1d560fb3
Fixed #2643 -- Fixed incorrect reverse() view names in sitemaps contrib app. Thanks for the patch, dummy@habmalnefrage.de
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3710 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-09-02 18:10:00 +00:00
Adrian Holovaty
60ebb616a9
Renamed django.contrib.sitemap to django.contrib.sitemaps, to be more consistent with our plural form for these sorts of things.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3699 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-31 23:44:26 +00:00
Adrian Holovaty
a30653ac54
Changed FlatpageSitemap to FlatPageSitemap, to be consistent with FlatPage model
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3698 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-31 23:31:25 +00:00
Adrian Holovaty
44dabecf6e
Fixed #2628 -- Added django.contrib.sitemap. Thanks for the patch, Dan Watson
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3694 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-31 23:13:59 +00:00
Adrian Holovaty
93b1f9ad6e
Made extract_views_from_urlpatterns() in admin.views.doc tolerant of URLconfs that point to views that don't exist (raise ImportError)
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3691 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-31 21:35:36 +00:00
Adrian Holovaty
d39b5cae68
Fixed #2529 -- Fixed TypeError in admin/doc/views. Thanks for the report and patch, dummy@habmalnefrage.de
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3690 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-31 21:32:50 +00:00
Adrian Holovaty
a4bd32770c
Fixed #2624 -- Fixed typo in docstring for Permission model. Thanks, david@dawninglight.net
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3681 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-30 16:39:18 +00:00
Russell Keith-Magee
77ab11be45
Refs #2333 - Added 'test' target to django-admin script. Includes addition of --verbosity and --noinput options to django-admin, and a new TEST_RUNNER setting to control the tool used to execute tests.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3660 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-27 12:46:39 +00:00
Adrian Holovaty
34609438bb
Fixed #2581 -- Added populate_xheaders() call to flatpage view. Thanks for the patch, dummy@habmalnefrage.de
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3650 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-23 02:05:05 +00:00
Adrian Holovaty
3cfc8bb5d9
Fixed #2582 -- filter_interface now works on fields with verbose_name containing quotes. Thanks for reporting, 235
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3649 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-22 17:45:21 +00:00
Adrian Holovaty
5ddd0e0498
Fixed #2570 -- Added 'DejaVu Sans' to admin global.css, because it is more utf-8 friendly than Bitstream. Thanks for the patch, riklaunim@gmail.com
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3644 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-22 04:58:16 +00:00
Adrian Holovaty
513ae3a3f4
Fixed #2587 -- Removed unnecessary escaping from admin_doc/model_detail.html template. Thanks for reporting, Gary Wilson
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3642 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-22 04:53:43 +00:00
Adrian Holovaty
64cf4b95a6
Fixed bug in [3553] -- Changed admin JavaScript quoting for related-object popup window not to use repr(), because that produces values such as 123L for longints. Refs #2500
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3613 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-18 21:39:29 +00:00
Adrian Holovaty
8b8f452055
Fixed #2540 -- Added one more i18n string to admin/views/doc.py. Thanks, dummy@habmalnefrage.de
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3605 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-18 03:37:01 +00:00
Adrian Holovaty
efa19ae8a7
Fixed #2559 -- Added cool new operators for Admin.search_fields, plus documentation. Thanks, Andy Dustman.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3601 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-18 02:48:34 +00:00
Adrian Holovaty
eefe35c7fa
Changed admin/base.html template to add a NONE,NOARCHIVE meta tag for robots. Thanks for the idea, Ian Holsman
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3600 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-17 23:05:42 +00:00
Adrian Holovaty
3e51dac933
Fixed #2533 -- Fixed XHTML error in admin edit_inline_tabular.html template. Thanks, erikg@codepoet.no
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3571 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-12 17:42:02 +00:00