Tim Graham
5ca290f5db
Fixed some sphinx errors and added some links.
2013-09-06 16:15:35 -04:00
Tim Graham
db3de52807
Fixed #20646 -- Clarified the use of AbstractBaseUser.REQUIRED_FIELDS
...
Thanks craigbruce.
2013-09-06 16:01:29 -04:00
Dan Johnson
df462cf760
Fixed #21043 -- Made resolve() handle reverse_lazy objects.
...
Thanks Keryn Knight for the report.
2013-09-06 15:46:43 -04:00
Max Burstein
559cb826b8
Fixed #21049 -- Fixed autoreload for Python 3
...
Changed th system module values check to return a list.
In Python 3 it returns a dict_view which could occassionally produce
a runtime error of "dictionary changed size during iteration".
2013-09-06 14:37:43 -05:00
Adrian Holovaty
c7c19ac408
Added new AdminSite attributes to 1.7 release notes
2013-09-06 14:27:40 -05:00
Adrian Holovaty
d179fc72cf
Fixed versionadded and ordering of note in admin/index.txt
2013-09-06 14:23:29 -05:00
Tim Graham
38d2e7c225
Merge pull request #1567 from technivore/ticket_20970
...
re-indented method documentation within RelatedManager
2013-09-06 12:07:25 -07:00
Florian Apolloner
85359ec9a4
Merge branch 't20812'
2013-09-06 21:03:46 +02:00
Daniel Langer
cc957cb16c
Fixed #4287 -- Fixed NaN and +/- Infinity handling in FloatField
...
NaN, +Inf, and -Inf are no longer valid values for FloatFields.
2013-09-06 14:56:37 -04:00
Matthew Rich
af67b93c02
re-indented method documentation within RelatedManager
2013-09-06 13:44:40 -05:00
Christopher Adams
b2f5ac1656
Fixed #11857 -- Added missing 'closed' property on TemporaryFile class.
...
- TemporaryFile now minimally mocks the API of the Python standard
library class tempfile.NamedTemporaryFile to avoid AttributeError
exceptions.
- The symbol django.core.files.NamedTemporaryFile is actually assigned
as a different class on different operating systems.
- The bug only occurred if Django is running on Windows, hence why it
was hard to diagnose.
2013-09-06 14:32:46 -04:00
Tim Graham
cd4068f359
Fixed instructions for running a subset of tests.
2013-09-06 14:31:27 -04:00
Daniele Procida
263eecc583
Merge pull request #1544 from evildmp/ticket_20920_rebase
...
Fixed #20920 -- Consolidated F() and Q() documentation
2013-09-06 11:27:58 -07:00
Garry Polley
337bd248a5
fixes #19988 , allow html in ordinal for humanize
2013-09-06 12:59:44 -05:00
evildmp
79cc66692a
Consolidated documentation for F() and Q()
2013-09-06 12:57:25 -05:00
Andrew Godwin
05e14e8eaf
Migration autodetector now corerctly deals with proxy models
2013-09-06 12:39:46 -05:00
Adrian Holovaty
a962286b74
Added AdminSite attributes for easily changing admin title.
...
AdminSite now has overridable site_header, site_title and index_title attributes. Changed
each admin view to pass these to the context (in a new AdminSite.each_context() method).
The intent here is to make it easier to override these things in the common case, instead of
having to override a template, which is a bigger burden.
2013-09-06 12:31:50 -05:00
Adrian Holovaty
273a1e6b8d
Fixed awkward indentation in admin URLconfs
2013-09-06 12:31:50 -05:00
Florian Apolloner
2326dedde8
Fixed #20812 -- Error out if __unicode__/__str__ doesn't return a text type.
2013-09-06 19:24:18 +02:00
Andrew Godwin
be983ee403
Also test failure case of ProjectState dependency resolution
2013-09-06 12:18:24 -05:00
Andrew Godwin
cdeff3acc2
Project/ModelState now correctly serialize multi-model inheritance
2013-09-06 12:16:03 -05:00
Andrew Godwin
6f7977bb63
Fixed #21029 : Test for previously-commited SchemaEditor.__exit__ bug.
2013-09-06 12:16:03 -05:00
Jacob Kaplan-Moss
ffe21e1f40
Merge pull request #1560 from technivore/ticket_20970
...
Related Fields documentation improvements
2013-09-06 10:11:05 -07:00
Daniel Boeve
b69d1eac64
Fixed #20975 -- Fixed identation in docs/internals/committers.txt
...
Thanks EvilDMP for the report.
2013-09-06 13:04:13 -04:00
Matthew Rich
a5bcc09c8f
documented RelatedManager calling save() behind the scenes, added section on direct replacement of related object set
2013-09-06 11:37:08 -05:00
Chris Wilson
eade315da1
Fixed #10164 -- Made AutoField increase monotonically on SQLite
...
Thanks malte for the report.
2013-09-06 12:31:17 -04:00
Andrew Godwin
630eb0564a
Fix SchemaEditor.__exit__ to handle exceptions correctly
2013-09-06 11:09:16 -05:00
Andrew Godwin
9f6e6009a4
Add --list option to migrate command
2013-09-06 11:06:19 -05:00
Adrian Holovaty
a91799a30c
Merge pull request #1557 from garrypolley/remove-build-address
...
Added /build/ to .gitignore, so it doesn't accidentally get committed
2013-09-06 08:38:02 -07:00
Andrew Godwin
32838a5beb
Make db.migrations ignore South-style migrations.
2013-09-06 10:35:53 -05:00
Aymeric Augustin
b80be68e08
Fixed #21052 -- Small performance optimization.
2013-09-06 10:34:32 -05:00
Aymeric Augustin
e492ab8e7e
Fixed #18719 -- Made force_bytes more consistent with force_text.
2013-09-06 10:28:28 -05:00
Garry Polley
f0d9b529a9
ignore build directory, so it doesn't accidentally get committed
2013-09-06 10:25:33 -05:00
Markus Holtermann
bd8e1a354c
Fixed #20977 -- Fixed writing migrations to disk on Python 3
2013-09-06 09:51:58 -04:00
Preston Timmons
8625c7aab3
Fixed #16096 -- Added origin attribute to template instances.
...
Thanks jdunck for the suggestion.
2013-09-06 09:14:52 -04:00
Loic Bistuer
e1266e50b2
Fixed #21015 -- Fixed MigrationLoader when importlib.import_module returns a file module or an empty directory.
2013-09-06 08:30:19 -04:00
Loic Bistuer
82bbb9fe81
Fixed #21014 -- Fixed gobbled ImportError in MigrationLoader.
2013-09-06 08:30:18 -04:00
Eric Boersma
4d13cc56de
Fixed #21035 -- Changed docs to treat the acronym SQL phonetically.
...
The documentation and comments now all use 'an' to
refer to the word SQL and not 'a'.
2013-09-05 20:14:58 -04:00
micahhausler
93dd31cadf
Fixed #21047 -- Added CLA mesage on the new contributor advice doc
2013-09-05 17:52:36 -04:00
Aymeric Augustin
6a6428a36f
Took advantage of django.utils.six.moves.urllib.*.
2013-09-05 14:39:23 -05:00
CHI Cheng
ed9cd4fd8b
Fixed #21000 -- Made cached_db session backend respect SESSION_CACHE_ALIAS
2013-09-05 10:47:58 -04:00
ersran9
a2374bcf47
Fixed #20918 -- Tidied up implementation of custom assertions
...
1. Moved common logic between assertContains and assertNotContains
into a separate function _assert_contains()
2. Moved common logic between assertTemplateUsed and
assertTemplateNotUsed into a separate function
_assert_templateused()
Thanks Marc Tamlyn for the report and review.
2013-09-05 09:51:23 -04:00
Tim Graham
d70908e9c2
Merge pull request #1549 from loic/docs
...
Removed "makemigrations --force" from docs since it doesn't actually exist.
2013-09-05 06:02:28 -07:00
Tim Graham
eacf060e01
Fixed #21044 -- Documented django.core.urlresolvers.Resolver404
...
Thanks Keryn Knight for the suggestion.
2013-09-05 08:45:33 -04:00
Tim Graham
7b62b80693
Fixed #20900 -- Documented RemoteUserBackend.authenticate
2013-09-05 05:56:03 -04:00
Tim Graham
bab039d74c
Fixed #21041 -- Removed a duplicate form in tests.
...
Thanks tuxcanfly.
2013-09-05 05:49:10 -04:00
Tim Graham
ebfe42d018
Fixed #21009 -- Added a versionchanged note regarding changes to clean().
...
refs [fb1dd6b13a
] and [1c4a9bd9ad
]
2013-09-05 05:47:45 -04:00
Aymeric Augustin
4170b9f402
Tested exc_type instead of exc_value in __exit__.
...
exc_value might be None even though there's an exception, at least on
Python 2.6. Thanks Thomas Chaumeny for the report.
Fixed #21034 .
Forward-port of a8624b2
from 1.6.x.
2013-09-04 16:19:04 -05:00
Aymeric Augustin
7b623247e8
Updated six to version 1.4.1.
2013-09-04 15:21:24 -05:00
Loic Bistuer
b7af44d474
Removed "makemigrations --force" from docs since it doesn't actually exist.
2013-09-05 02:33:05 +07:00