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
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
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
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
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
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
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
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
3e22c8ff52
Fixed #2506 -- Added more i18n translation strings for admin docs. Thanks, dummy@habmalnefrage.de
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3551 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-08-11 05:07:07 +00:00
Jacob Kaplan-Moss
e9a236d86c
Fixed #2092 : added a "is_secure()" method to HttpRequest which correctly handles the subtleties of mod_python's interaction with os.environ. This one's been bugging me for about a *year*, so many many thanks to k.shaposhnikov@gmail.com for figuring it out, and Tim Shaffer for pointing out this ticket.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3410 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-21 16:20:22 +00:00
Adrian Holovaty
84dda1990f
Fixed #2267 -- Admin docs now show help text for fields. Thanks, vidar
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3284 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-07-07 04:00:44 +00:00
Adrian Holovaty
6dc719312d
Fixed #2157 -- Admin doc views now work if django.contrib.sites isn't installed
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@3213 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-06-26 23:01:46 +00:00
Adrian Holovaty
d31f190239
Fixed #1959 -- Fixed typo in django/contrib/admin/views/doc.py
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2957 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-22 04:47:14 +00:00
Adrian Holovaty
dd55b5e98a
Fixed #1835 -- FilePathField no longer breaks admin model documentation. Thanks, Adam Endicott
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2952 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-22 02:17:06 +00:00
Jacob Kaplan-Moss
20416b2972
Made a few small tweaks to admin doc pages.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2938 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-18 15:17:42 +00:00
Adrian Holovaty
f69cf70ed8
MERGED MAGIC-REMOVAL BRANCH TO TRUNK. This change is highly backwards-incompatible. Please read http://code.djangoproject.com/wiki/RemovingTheMagic for upgrade instructions.
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2809 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-05-02 01:31:56 +00:00
Adrian Holovaty
92c04cb7c6
Negligible formatting change to [2417] -- changed colon use to be consistent
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2419 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-02-27 21:37:11 +00:00
Jacob Kaplan-Moss
b830fa7e78
Exposed model __doc__ in admin docs views which fixes #1408 . Thanks, poelzi
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2417 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-02-27 21:05:50 +00:00
Adrian Holovaty
97eb38b21d
Fixed #1296 -- Made SlugField maxlength configurable. Thanks, Matt
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@2325 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2006-02-17 18:15:07 +00:00
Adrian Holovaty
b5288e732c
Fixed #951 -- Admin bookmarklets no longer assume admin is rooted at '/'
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1522 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-12-01 07:03:23 +00:00
Adrian Holovaty
5de6fe1b2d
Fixed #938 -- Fixed bug in admin model docs with OneToOneField
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1473 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-27 23:43:35 +00:00
Adrian Holovaty
2e7e19e0f2
Moved parts/admin/doc.py to contrib/admin/utils.py, where it belongs. Also caught docutils ImportError in a more controlled way
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1463 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-27 17:20:43 +00:00
Adrian Holovaty
f237936a87
Fixed #928 -- Fixed admin documentation breakage after [1443]. Thanks for reporting, nesh
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1462 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-11-27 17:14:11 +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
Adrian Holovaty
67d490a61d
Fixed #701 -- contrib.admin.views.doc now uses get_internal_type()
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@1019 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-28 03:48:33 +00:00
Adrian Holovaty
989fcce02a
Fixed template-name bug for admin doc templates in [948]
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@959 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-19 16:29:20 +00:00
Adrian Holovaty
15fb988dbc
Changed contrib.admin.views.template and doc to use staff_member_required decorator. Refs #627
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@929 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-18 05:12:45 +00:00
Adrian Holovaty
aed1930133
Moved django.views.admin.template and django.views.admin.doc to django.contrib.admin.views. Refs #627
...
git-svn-id: http://code.djangoproject.com/svn/django/trunk@923 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2005-10-18 04:40:47 +00:00