1
0
mirror of https://github.com/django/django.git synced 2024-12-27 03:25:58 +00:00
Commit Graph

11921 Commits

Author SHA1 Message Date
Anssi Kääriäinen
ee0a7c741e Fixed an Oracle-specific test case failure
Made a test checking ORM-generated query string case-insensitive.
2012-04-29 19:48:43 +03:00
Anssi Kääriäinen
584e2c0337 Prevent Oracle from changing field.null to True
Fixed #17957 -- when using Oracle and character fields, the fields
were set null = True to ease the handling of empty strings. This
caused problems when using multiple databases from different vendors,
or when the character field happened to be also a primary key.

The handling was changed so that NOT NULL is not emitted on Oracle
even if field.null = False, and field.null is not touched otherwise.

Thanks to bhuztez for the report, ramiro for triaging & comments,
ikelly for the patch and alex for reviewing.
2012-04-29 19:25:46 +03:00
Alex Gaynor
e75bd7e51c Merge pull request #22 from aviraldg/test_17967
Added regression test for #17967.  Thanks to aviraldg for the patch!
2012-04-29 09:08:12 -07:00
Aviral Dasgupta
0525f6d8bd Fixed some style issues in previous commit. 2012-04-29 21:31:09 +05:30
Aymeric Augustin
a15cfb2e45 Simplified timezones tests with settings_changed.
All relevant state is now properly reset whenever TIME_ZONE or USE_TZ
are changed in tests.
2012-04-29 16:03:46 +02:00
Aymeric Augustin
3e8b40f479 Fixed #17992 -- Added a public API for localtime.
Thanks Bradley Ayers for the report.
2012-04-29 15:37:23 +02:00
Anssi Kääriäinen
5aa51fa999 Simplified QuerySet field.null handling
QuerySet had previously some complex logic for dealing with nullable
fields in negated add_filter() calls. It seems the logic is leftover
from a time where the WhereNode wasn't as intelligent in handling
field__in=[] conditions.

Thanks to aaugustin for comments on the patch.
2012-04-29 16:27:25 +03:00
Aymeric Augustin
9350d1d59c Fixed #17976 -- Made forms.BooleanField pickleable.
This was a regression in Django 1.4.
Thanks bronger for the report and claudep for the patch.
2012-04-29 14:25:06 +02:00
Aviral Dasgupta
d12d55ec26 Added regression test for #17967. 2012-04-29 17:26:22 +05:30
Aymeric Augustin
02a5b41db4 Fixed #18224 -- Changed the dev version number.
Following the move from SVN to git.
2012-04-29 13:40:10 +02:00
Aymeric Augustin
905bd7fb44 Fixed #13196 -- Formatting in admin changelists.
Handled values returned by functions more like field values.
In particular, localized dates, times and datetimes properly,
and converted datetimes to the current timezone.
2012-04-29 11:51:12 +02:00
Aymeric Augustin
7c27d1561e Merge pull request #20 from yumike/fix/pull_request_17_syntax_error
Fixed template syntax error, introduced in pull request #17
2012-04-29 00:49:28 -07:00
Mike Yumatov
b1be28554f Fixed template syntax error, introduced in pull request #17 2012-04-29 11:03:12 +04:00
Adrian Holovaty
d20fbf46ba Merge pull request #17 from aviraldg/fix_17967
Fixed #17967: Hide "Change Password" link in admin if user.has_usable_password is False.
2012-04-28 22:22:22 -07:00
Aviral Dasgupta
9bea857957 Fixed #17967: Hide "Change Password" link in admin if user.has_usable_password is False. 2012-04-29 07:36:50 +05:30
Adrian Holovaty
97c8992840 Merge pull request #16 from akaariai/ticket_18218
Made table_names() output sorted.
2012-04-28 17:19:49 -07:00
Karen Tracey
75743c189d Fixed #18234: Avoided exception on flatpage add 2012-04-28 19:44:14 -04:00
Anssi Kääriäinen
527cce80dc Made table_names() output sorted.
Fixed #18218 -- previously Django's introspection table_names() and
get_table_list() methods did not sort the output consistently. This
resulted in random order of inspected models.

This commit also removed all external usages of get_table_list().
table_names() should be used instead.

Thanks to claudep for patch and report.
2012-04-29 02:11:55 +03:00
Adrian Holovaty
c2055ee161 Merge pull request #14 from matthewwithanm/js-i18n-patch-2
Corrected i18n javascript_catalog Reference Error
2012-04-28 14:40:07 -07:00
Adrian Holovaty
9362413670 Merge pull request #15 from jasondavies/readme
Fixed bullet formatting for README.rst.
2012-04-28 14:05:48 -07:00
Jason Davies
02bed132c2 Fix bullet formatting for README.rst. 2012-04-28 21:20:39 +01:00
Matthew Tretter
97502a96f4 Correct reference error (undefined variable) 2012-04-28 15:32:22 -04:00
Adrian Holovaty
50b0984a8b Merge pull request #2 from notcarl/master
Changed phone2numeric to use generator expressions instead of lambdas
2012-04-28 12:11:56 -07:00
Not Carl
6b430b883f Whitespace formatting 2012-04-28 14:58:11 -04:00
Adrian Holovaty
80d32b51b0 Merge pull request #10 from kleinmatic/patch-1
Updated some antique references in "Is Django stable?"
2012-04-28 11:19:53 -07:00
Adrian Holovaty
ebcba0129f Merge pull request #9 from t0m/master
Fixed typo: instanciating -> instantiating in django/views/generic/edit.py
2012-04-28 11:18:35 -07:00
Adrian Holovaty
2cadd86239 Renamed README to README.rst so that GitHub will give it the proper formatting 2012-04-28 13:17:06 -05:00
Scott Klein
5c3e88060e Updated some antique references in "Is Django stable?" 2012-04-28 15:16:46 -03:00
Tom Terrace
a0d34348dd fix typo: instanciating -> instantiating 2012-04-28 14:18:16 -03:00
Aymeric Augustin
10cade8fac Removed a svn-specific hack from a test. 2012-04-28 15:19:04 +02:00
Aymeric Augustin
b49bc5c990 Removed a svn-specific configuration for Sphinx. 2012-04-28 15:03:16 +02:00
Not Carl
a7829f3334 forgot the allow_lazy(phone2numeric) 2012-04-28 03:33:37 -04:00
Not Carl
cfe552ccb3 Modified phone2numeric to not use regular expression or lambdas 2012-04-28 03:29:42 -04:00
Adrian Holovaty
f4cc782711 Updated unique-messages.py to reference Git instead of SVN 2012-04-27 23:05:13 -05:00
Adrian Holovaty
bcdc99dda2 Updated docs/intro/whatsnext.txt to reference Git instead of SVN 2012-04-27 22:57:23 -05:00
Adrian Holovaty
21f11e5280 Updated compilemessages and makemessages management commands to change SVN->Git references 2012-04-27 22:37:59 -05:00
Adrian Holovaty
8df8e516ab Updated docs/topics/install.txt to note github URL instead of code.djangoproject.com 2012-04-27 22:26:16 -05:00
Adrian Holovaty
226acf35c8 Added a friendly sentence to the README, to make sure GitHub committing is working 2012-04-27 22:25:08 -05:00
Claude Paroz
ddc5d59c6a Fixed #15076 -- Quoted ForeignKey target class names in inspectdb when class is defined below.
Thanks saschwarz for the report, jeff@deserettechnology.com for the initial patch and Ramiro Morales for the review. 


git-svn-id: http://code.djangoproject.com/svn/django/trunk@17942 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-04-27 06:56:31 +00:00
Claude Paroz
c34d069a75 Removed direct print statements from django management commands.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17941 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-04-26 19:56:20 +00:00
Claude Paroz
8aca3d1cc2 Removed unneeded deprecation warning silencing in test suite.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17940 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-04-26 18:06:17 +00:00
Claude Paroz
a6b2a15348 Removed deprecated gender check in cz localflavor. Refs #14593.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17939 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-04-26 17:48:50 +00:00
Claude Paroz
be12c9e908 Fixed #18038 -- Removed the 'supports_inactive_user' backwards-compatibility flag. Thanks Aymeric Augustin for the initial patch and Ramiro Morales for the review.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17938 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-04-26 17:15:40 +00:00
Claude Paroz
1858e47672 Fixed #18033 -- Removed function-based generic views, as per official deprecation timeline. Rest in peace! Thanks Anssi Kääriäinen for the review.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17937 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-04-25 19:17:47 +00:00
Claude Paroz
ea9dc9f4b0 Fixed #18060 -- Corrected the import path of an example in custom management commands docs. Thanks smuss for the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17936 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-04-25 06:37:16 +00:00
Claude Paroz
921d7f08b9 Removed some leftover references to old-syntax ssi template tag tests. Refs #18037.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17935 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-04-24 21:08:13 +00:00
Claude Paroz
eb351ac9cb Fixed #18037 -- Changed behaviour of url and ssi template tags to the new syntax, as per official deprecation timeline. Thanks Ramiro Morales and Jannis Leidel for the review.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17934 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-04-24 19:55:52 +00:00
Anssi Kääriäinen
c4e62eff90 Fixed #17653 -- Changed MySQL backend to raise a ValueError if zero is used as an AutoField value.
Thanks to Sylvain Lebon for the report, krzysiumed for the patch and charettes and claudep for reviews.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@17933 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-04-24 18:03:14 +00:00
Anssi Kääriäinen
612247b3a0 Fixed #16961 -- Skipped resetting AUTO_INCREMENT fields for MySQL if the server version is greater than 5.0.12. This allows for much faster testing.
Thanks to aigarius for the report and claudep and ramiro for review.


git-svn-id: http://code.djangoproject.com/svn/django/trunk@17932 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-04-24 16:47:31 +00:00
Claude Paroz
03a442c8ad Fixed #17954 -- Fixed dependency checking for test databases. Thanks Łukasz Rekucki for the report and the patch.
git-svn-id: http://code.djangoproject.com/svn/django/trunk@17931 bcc190cf-cafb-0310-a4f2-bffc1f526a37
2012-04-24 16:05:47 +00:00