Greg Chapple
b7aa7c4ab4
Fixed #20550 -- Added ability to preserve test db between runs
2014-05-28 16:22:46 +01:00
Tim Graham
4b57e203fe
Fixed spelling in docs.
2014-05-27 19:46:48 -04:00
Moayad Mardini
2ea1e70b85
Fixed #22601 -- Added a note about model inheritance.
...
Thanks semenov for the report.
2014-05-27 19:42:16 -04:00
Moayad Mardini
2e613ea5c5
Fixed #22675 -- makemigrations --dry-run to output migrations to stdout.
...
`makemigrations --dry-run` will output the complete migrations file
that would be written if it's used along with `--verbosity 3`.
2014-05-27 00:40:55 +03:00
Marc Tamlyn
b625e861e5
Fix an error in a documented lookup example.
2014-05-26 14:44:50 +01:00
Moayad Mardini
e98d303562
Fixed #22692 -- Added docs for `makemigrations` two command options.
...
Added documentation about `--dry-run` and `--merge`.
2014-05-25 19:34:20 -04:00
Tim Graham
83f4e86595
Fixed too short title underline in docs.
2014-05-25 19:26:12 -04:00
Matthew Schinckel
2b432d4634
Fixed typo in docs/ref/models/custom-lookups.txt.
2014-05-25 19:01:51 -04:00
Claude Paroz
b8fc167b32
Fixed #22688 -- Documented ready() may be called more than once
2014-05-24 15:58:57 +02:00
Marc Tamlyn
9fb0f5dddc
Fixed #22510 -- Harden field removal to only None.
...
Refs #8620 .
If we allow any value to remove form fields then we get name clashes
with method names, media classes etc. There was a backwards
incompatibility introduced meaning ModelForm subclasses with declared
fields called media or clean would lose those fields.
Field removal is now only permitted by using the sentinel value None.
The docs have been slightly reworded to refer to removal of fields
rather than shadowing.
Thanks to gcbirzan for the report and initial patch, and several of the
core team for opinions.
2014-05-24 13:10:50 +01:00
Claude Paroz
756c390fb5
Fixed #20816 -- Added hints about Django middleware ordering
...
Thanks gthb Trac user for the report, kolypto StackOverflow
user for the initial list and Tim Graham for the review.
2014-05-22 18:33:10 +02:00
Flavio Curella
beec05686c
Fixed #22667 -- Replaced leader/follower terminology with primary/replica
2014-05-22 11:59:17 -04:00
Marc Tamlyn
48348782e6
Added omitted documentation for ArrayField__len.
2014-05-22 13:50:13 +01:00
Marc Tamlyn
604162604b
Added array field support for PostgreSQL.
...
The first part of django.contrib.postgres, including model and two form
fields for arrays of other data types.
This commit is formed of the following work:
Add shell of postgres app and test handling.
First draft of array fields.
Use recursive deconstruction.
Stop creating classes at lookup time.
Add validation and size parameter.
Add contained_by lookup.
Add SimpleArrayField for forms.
Add SplitArrayField (mainly for admin).
Fix prepare_value for SimpleArrayField.
Stop using MultiValueField and MultiWidget.
They don't play nice with flexible sizes.
Add basics of admin integration.
Missing:
- Tests
- Fully working js
Add reference document for django.contrib.postgres.fields.ArrayField.
Various performance and style tweaks.
Fix internal docs link, formalise code snippets.
Remove the admin code for now.
It needs a better way of handing JS widgets in the admin as a whole
before it is easy to write. In particular there are serious issues
involving DateTimePicker when used in an array.
Add a test for nested array fields with different delimiters.
This will be a documented pattern so having a test for it is useful.
Add docs for SimpleArrayField.
Add docs for SplitArrayField.
Remove admin related code for now.
definition -> description
Fix typo.
Py3 errors.
Avoid using regexes where they're not needed.
Allow passing tuples by the programmer.
Add some more tests for multidimensional arrays.
Also fix slicing as much as it can be fixed.
Simplify SplitArrayWidget's data loading.
If we aren't including the variable size one, we don't need to search
like this.
2014-05-22 09:53:26 +01:00
Claude Paroz
d9d9242505
Used link label in models FAQ to ease translation
2014-05-22 09:46:34 +02:00
Niclas Åhdén
64ee097b3b
Fixed #22639 -- Added missing imports in docs
...
Added ModelForm and NON_FIELD_ERRORS imports.
2014-05-21 17:11:01 +02:00
Martin Brochhaus
bb0a9a070b
Fixed #20477 : Allowed list of modules for FORMAT_MODULE_PATH
...
Previously the FORMAT_MODULE_PATH setting only accepted one string (dotted
module path). A feature has been added to also allow a list of strings.
This is useful when using several reusable third party apps that define new
formats. We can now use them all and we can even override some of the formats
by providing a project-wide format module.
2014-05-21 07:35:47 -04:00
Alex Gaynor
8a95b4fca7
Merge pull request #2692 from fcurella/patch-5
...
#22667 replaced occurrences of master/slave terminology with leader/follower
2014-05-20 09:37:04 -07:00
Flavio Curella
73a57b06f9
replaced occurrences of master/slave terminology with leader/follower
2014-05-20 11:35:16 -05:00
Erik Romijn
ba5ddf7aed
Fixed #22638 -- Changed CookieWizardView to ignore invalid cookies
2014-05-19 19:16:45 +02:00
Moayad Mardini
2f43229c2f
Fixed #22655 -- Fixed GeoQuerySet doc about strictly_below
...
The paragraph was a copy of strictly_above.
2014-05-19 09:50:23 -04:00
Tim Graham
5abc811a40
Revert "Fixed #20477 : Allowed settings.FORMAT_MODULE_PATH to be a list of modules."
...
This reverts commit 950b6de16a
.
2014-05-19 08:22:46 -04:00
Martin Brochhaus
950b6de16a
Fixed #20477 : Allowed settings.FORMAT_MODULE_PATH to be a list of modules.
...
Previously the FORMAT_MODULE_PATH setting only accepted one string (dotted
module path).
This is useful when using several reusable third party apps that define new
formats. We can now use them all and we can even override some of the formats
by providing a project-wide format module.
2014-05-19 07:59:13 -04:00
Moayad Mardini
bfac6bef83
Fixed #22368 -- clarified connecting to Oracle DB using service name
...
Used the official terminology listed in
http://docs.oracle.com/cd/B19306_01/network.102/b14212/glossary.htm#i997309
Thanks michael.cherkasov for the report.
2014-05-19 07:42:11 -04:00
Esau Rodriguez
ec9043ab2f
Fixed #21799 - Modified loaddata --ignorenonexistent to ignore models.
2014-05-18 15:52:07 -04:00
Víðir Valberg Guðmundsson
268670a3a4
Fixed #22647 -- Documented redirect_field_name keyword argument for user_passes_test.
2014-05-17 09:45:15 -04:00
Erik Romijn
727d048f09
Fixed #22644 -- Clarified documentation for NamedUrlWizardView
2014-05-17 15:08:49 +02:00
Aliaksandr Semianiuk
5b185ecc68
Fixed #22019 -- Added Model.objects reference documentation.
2014-05-17 08:32:05 -04:00
Florian Apolloner
11932e978f
Merge pull request #2346 from Markush2010/ticket21905
...
Fixed #21905 -- Add info message if DateField or TimeField use a fixed value
2014-05-17 12:09:04 +02:00
Unai Zalakain
ebb0279f4a
Fixed #16245 -- Included traceback in send_robust()'s response
...
Exceptions from the (receiver, exception) tuples returned by
``send_robust()`` now have always their traceback attached as their
``__traceback__`` argument.
2014-05-16 18:41:40 -04:00
Tim Graham
79e9da3d1e
Added stub release notes for 1.6.6.
2014-05-16 18:19:23 -04:00
Markus Holtermann
9d8c73f6a1
Fixed #21905 -- Add info message if DateField or TimeField use a fixed value
2014-05-16 18:59:31 +02:00
Jorge C. Leitão
2e364a0aac
Fixed #15716 - Authentication backends can short-circuit authorization.
...
Authorization backends can now raise PermissionDenied in "has_perm"
and "has_module_perms" to short-circuit authorization process.
2014-05-16 12:57:38 -04:00
Moritz
e7ffba8f78
Fixed #22167 -- Improved documentation on context processors
...
Clarified the explanation on the order in which user provided variables
to render_to_response, RequestContext and context processors are
loaded.
2014-05-16 18:26:37 +02:00
Niclas Åhdén
7271f5db78
Fixed #22622 -- Added ugettext_lazy import in docs
2014-05-16 11:20:31 -04:00
Russell Keith-Magee
2c176eb95c
Refs #21798 - Modified error number to provide room for future expansion.
2014-05-16 15:41:17 +02:00
Marc Tamlyn
cebd8753c6
Remove old compatibility shims from d.c.gis.
2014-05-16 12:11:35 +02:00
Daniel Pyrathon
cb15231888
Fixed #21798 -- Added check for DateTime mutually exclusive options
...
Added DateTimeCheckMixin to avoid the use of default, auto_now, and
auto_now_add options together. Added the fields.E151 Error that is raised
if one or more of these options are used together.
2014-05-16 05:57:19 -04:00
Erik Romijn
257fd48004
Simplified an unnecessarily complex paragraph in view docs
2014-05-16 11:21:56 +02:00
Claude Paroz
e520a73eee
Harmonized some PEP 0263 coding preambles
2014-05-15 19:58:41 +02:00
Anders Steinlein
4ef10f245a
Fixed #17642 -- Added min_num support to modelformsets, inlines, and the admin.
...
Thanks Stephen Burrows for work on the patch as well.
Forwardport of 2914f66983
from stable/1.7.x
2014-05-15 07:25:35 -04:00
Tim Graham
860d31ac7a
Minor edits to latest release notes.
2014-05-15 07:16:25 -04:00
Éric Araujo
5ab95168cc
Fix typo that disabled code example highlighting
2014-05-14 18:34:59 -04:00
Jacob Kaplan-Moss
d4069a0a0d
Added release notes for 1.4.13, 1.5.8, 1.6.5.
2014-05-14 18:59:15 +02:00
Tim Graham
a06808d370
Removed an unnecessary anchor in the docs.
2014-05-13 20:54:32 -04:00
Tim Graham
1165e9992e
Fixed spelling mistake and added a word to the word list.
2014-05-13 09:17:04 -04:00
Julen Ruiz Aizpuru
5eb81ce445
Fixed #22533 -- Added label_suffix parameter to form fields.
...
Fields can now receive the `label_suffix` attribute, which will override
a form's `label_suffix`.
This enhances the possibility to customize form's `label_suffix`, allowing
to use such customizations while using shortcuts such as
`{{ form.as_p }}`.
Note that the field's own customization can be overridden at runtime by
using the `label_prefix` parameter to `BoundField.label_tag()`.
Refs #18134 .
2014-05-13 09:09:33 -04:00
Haris Ibrahim K. V
f2a8e47cfd
Fixed typo in transactions.txt
2014-05-13 07:27:33 -04:00
Tim Graham
57296b4162
Removed some references to django.contrib.comments which has been removed.
2014-05-13 07:24:28 -04:00
Tim Graham
c501662f3c
Fixed #22618 -- Improved import_string example.
...
Thanks ewjoachim for the sugggestion.
2014-05-13 07:04:49 -04:00
Tim Graham
a1be7237ca
Fixed #22619 -- Corrected description of os.path.
...
Thanks Collin Anderson for the report.
2014-05-12 18:56:34 -04:00
Tim Graham
13087020a9
Added 1.6.5 release note for refs #22508 .
2014-05-12 12:44:21 -04:00
Tim Graham
986bd41f8a
Fixed #22613 -- Added formfield_for_choice_field() to the list of methods that InlineModelAdmin supports.
2014-05-12 06:59:23 -04:00
Ramiro Morales
a9b7f31bfc
Completed long overdue sqlinitialdata deprecation.
2014-05-11 23:15:59 -03:00
Matt Robenolt
393c0e2422
Fixed #20936 -- When logging out/ending a session, don't create a new, empty session.
...
Previously, when logging out, the existing session was overwritten by a
new sessionid instead of deleting the session altogether.
This behavior added overhead by creating a new session record in
whichever backend was in use: db, cache, etc.
This extra session is unnecessary at the time since no session data is
meant to be preserved when explicitly logging out.
2014-05-11 21:42:26 -03:00
Ramiro Morales
63df886df7
Link new testing tools document from main index.
2014-05-10 23:28:15 -03:00
Ramiro Morales
38036e16c8
Fixed a few release notes typos.
2014-05-10 23:13:50 -03:00
Alex Gaynor
b57ee15b12
Merge pull request #2639 from alimony/patch-1
...
Insert space
2014-05-07 16:43:57 -07:00
Andrew Godwin
5a917cfef3
Fixed #22496 : Data migrations get transactions again!
2014-05-07 14:28:34 -07:00
Markus Amalthea Magnuson
8eb51a8cf6
Insert space.
2014-05-07 21:16:43 +02:00
Tim Graham
a2e3c96948
Updated some docs for the delayed deprecation of legacy table creation; refs #22340 .
2014-05-07 09:04:01 -04:00
Tim Graham
541310023d
Forward ported docs of security issues from df81625da6
.
2014-05-07 08:21:54 -04:00
Andrew Godwin
827d5dc189
Improve docs around deconstruction/serialisation (refs #22337 )
2014-05-06 23:06:41 -07:00
Andrew Godwin
61da5f3f02
Bump DatabaseCreation deprecation to 2.0 (refs #22340 )
2014-05-06 22:14:15 -07:00
Claude Paroz
7951f125e7
Updated the messages context processor docs
...
Refs #20610 .
2014-05-06 20:37:52 +02:00
Tom
6923fdbbf1
Reordered tutorial 1 so that the database is configured first.
...
This change is required after the introduction of
SessionAuthenticationMiddleware to the default middleware
2014-05-05 13:34:46 -04:00
Tim Graham
fb7c347f7b
Fixed #1349 -- Clarified docs on serving files from STATIC/MEDIA_URL.
2014-05-05 07:36:53 -04:00
Tim Graham
87776859af
Fixed #22575 -- Fixed typo in docs/topics/class-based-views/generic-editing.txt.
...
Thanks adminq80 at gmail.com.
2014-05-05 06:41:01 -04:00
Anssi Kääriäinen
5e1f4656b9
Fixed #22429 -- Incorrect SQL when using ~Q and F
2014-05-05 13:02:11 +03:00
Andrew Godwin
13ec89f267
Fix docs error with deconstruct() docs
2014-05-03 16:18:26 -07:00
Claude Paroz
142c27218a
Fixed #22565 -- Prevented pgettext_lazy crash with bytestring input
...
Thanks ygbo for the report.
2014-05-02 19:33:22 +02:00
Loic Bistuer
d1799233f4
Fixed clash caused by the newly introduced -e shorthand for makemessages --exclude.
...
This fixes a regression caused by 0707b82
. Refs #22328 .
2014-05-02 23:07:17 +07:00
Brenda J. Butler
c8d257e81d
Fixed #22558 -- Added missing word in contributing docs
2014-05-02 08:28:07 +02:00
Claude Paroz
2ce5196763
Fixed #22551 -- Made oracle backend method Python 3 compatible
...
Thanks fatal10110 at gmail.com for the report. The fix is 1.6-only
because that code has been refactored in 1.7 (6983201cfb
).
'Docs-only' forward port of 120a98120
from 1.6.x.
2014-05-01 18:20:47 +02:00
Tim Graham
b0d032f9fc
Fixed #22547 -- Added some links to tutorial 2.
...
Thanks bjb at sourcer.ca for the suggestion.
2014-04-30 18:22:43 -04:00
Moayad Mardini
927245ccd8
Fixed #22546 -- Removed idioms in tutorial 2.
...
Thanks bjb at sourcerer.ca for the suggestion.
2014-04-30 18:01:35 -04:00
Simon Charette
24ec9538b7
Fixed #19195 -- Allow explicit ordering by a relation `_id` field.
...
Thanks to chrisedgemon for the report and shaib, akaariai and
timgraham for the review.
2014-04-30 14:23:19 -04:00
Mike Fogel
7fd1b35ed7
Fixed #22537 -- Add tests and improved docs for field subclass with choices.
2014-04-30 07:56:52 -04:00
Tim Graham
8ec388a69d
Fixed #22442 -- Provided additional documentation regarding id fields clashing.
...
Thanks benjaoming for raising the issue and Loic for the examples.
2014-04-30 07:36:12 -04:00
Aymeric Augustin
0fb7570c5c
Fixed #22523 -- Clarified pytz requirement.
...
Thanks z for the report and timo for the proposal.
2014-04-29 08:33:15 +02:00
Tim Graham
650065f0ef
Added stub release notes for 1.6.5.
2014-04-28 20:38:06 -04:00
Tim Graham
68d264059a
Added dates to release notes of today's release.
2014-04-28 19:06:25 -04:00
Tim Graham
aabceadd7d
Revert "Fixed #15179 -- middlewares not applied for test client login()"
...
This reverts commit 4fdd51b732
.
See the ticket for concerns with this implementation; it will be revisited.
2014-04-28 18:41:36 -04:00
Tim Graham
26b03f2526
Fixed #22254 -- Noted the requirement of calling django.setup() when running
...
Thanks Peter Landry for the report.
2014-04-28 12:43:33 -04:00
Zhaorong Ma
dd3f3e4e89
Fix a typo in logging.txt
2014-04-28 10:05:28 -04:00
Tim Graham
b829d53b37
Fixed #22497 -- Highlighted difference between field and class deconstruction.
...
Thanks nliberg for the suggestion.
2014-04-28 08:18:43 -04:00
Tim Graham
1ce759b69f
Fixed #22445 -- Added how to perform a reverse data migration to topic guide.
...
Thanks Karen Tracey for the report.
2014-04-27 15:19:54 -04:00
Tim Graham
ab8d8e00c9
Improved formatting and links of migration docs.
2014-04-27 15:05:41 -04:00
Tim Graham
8905fcbda6
Fixed #22526 -- Added note about check() method to 1.7 release notes.
...
Thanks kevin-brown for the report.
2014-04-27 14:17:37 -04:00
Aymeric Augustin
58ed387db3
Documented django.setup().
...
Thanks Eric Holscher and Tim Graham for the review.
2014-04-26 20:13:59 +02:00
Aymeric Augustin
8b5b199e20
Fixed #3214 -- Stopped parsing SQL with regex.
...
Avoided introducing a new regex-based SQL splitter in the migrations
framework, before we're bound by backwards compatibility.
Adapted this change to the legacy "initial SQL data" feature, even
though it's already deprecated, in order to facilitate the transition
to migrations.
sqlparse becomes mandatory for RunSQL on some databases (all but
PostgreSQL). There's no API to provide a single statement and tell
Django not to attempt splitting. Since we have a more robust splitting
implementation, that seems like a good tradeoff. It's easier to add a
new keyword argument later if necessary than to remove one.
Many people contributed to both tickets, thank you all, and especially
Claude for the review.
Refs #22401 .
2014-04-26 17:46:23 +02:00
Claude Paroz
2128b3a688
Specified 'csv and unicode' note as Python 2 only
2014-04-26 16:09:19 +02:00
Claude Paroz
680a0f08b1
Updated doc links to point to Python 3 documentation
2014-04-26 16:02:53 +02:00
Ana Krivokapic
0707b824fe
Fixed #22328 -- Added --exclude option to compilemessages and makemessages.
2014-04-26 17:07:44 +07:00
Claude Paroz
d1f93e9c1e
Fixed #22507 -- Clarified nature of the sender argument of signals
2014-04-25 23:15:47 +02:00
Ben Davis
5c0333de2e
Fixed #22517 , "view prefix" still referenced in urlconf docs
2014-04-25 12:29:33 -05:00
Aymeric Augustin
0315f01087
Fixed a confusing heading in applications docs.
...
Refs #22422 .
2014-04-25 17:39:49 +02:00
Tim Graham
f65eb15ac6
Fixed #22504 -- Corrected domain terminology in security guide.
...
Thanks chris at chrullrich.net.
2014-04-25 10:27:13 -04:00
Víðir Valberg Guðmundsson
deb561bbe2
Fixed #22422 -- Moved information about the application loading process to refs/applications.txt.
2014-04-25 10:12:31 -04:00
Moayad Mardini
3776926cfe
Fixed #22493 - Added warnings to raw() and extra() docs about SQL injection
...
Thanks Erik Romijn for the suggestion.
2014-04-25 09:54:49 -04:00
Tim Graham
9e7f86b890
Fixed #22515 -- Fixed the object_id of the LogEntry that's created after a user password change in the admin.
...
Thanks ross at servercode.co.uk for the report.
2014-04-25 08:20:25 -04:00
Claude Paroz
7c24027bad
Renamed Transifex project from django-core to django
...
See also http://blog.transifex.com/post/83622601443/new-teams-management-transifex
2014-04-24 11:38:18 +02:00
Preston Timmons
3c06b2f2a3
Fixed #22486 -- Restored the ability to reverse views created using functools.partial.
...
Regression in 8b93b31487
.
Thanks rcoup for the report.
2014-04-23 07:27:52 -04:00
Marti Raudsepp
11d453bcad
Various documentation typo/spelling fixes
...
Errors detected by Topy (https://github.com/intgr/topy ), all changes
verified by hand.
2014-04-23 02:31:49 +03:00
Ray Ashman
9853779805
Updated grammar in description of django.contrib.auth.
2014-04-22 18:28:47 -04:00
Tim Graham
9fb95dfc9f
Added 1.6.4 release note stub.
2014-04-22 11:44:03 -04:00
Erik Romijn
c07f3e60c2
Added information on resolved security issues to release notes.
2014-04-21 18:11:26 -04:00
Erik Romijn
75c0d4ea3a
Fixed queries that may return unexpected results on MySQL due to typecasting.
...
This is a security fix; disclosure to follow shortly.
2014-04-21 18:11:26 -04:00
Matt Lauber
b2514c02e1
Corrected the section identifier for MySQL unicode reference.
2014-04-21 13:19:46 -04:00
Aymeric Augustin
bbe818b23c
Changed paths in docs that referred to Python 2.
2014-04-20 08:34:01 +02:00
Tim Graham
1b3a3fc1e4
Fixed #22417 -- Added additional documentation for refs #16969 .
...
Thanks Jon Foster for the report.
2014-04-19 21:39:08 -04:00
Tim Graham
26d118c3fe
Moved RemoteUserBackend documentation to reference guide.
2014-04-18 16:06:26 -04:00
Moayad Mardini
11ac50b18e
Fixed #22458 -- Added a note about MySQL utf8_unicode_ci collation
...
Thanks tobami at gmail.com for the report.
2014-04-18 15:10:21 -04:00
Tim Graham
b43bbd6d39
Fixed #22473 -- Emphasized that Model.clean() is not called from Model.save().
2014-04-18 15:00:26 -04:00
Tim Graham
6b2ce38c49
Fixed #22472 -- Clarified meaning of dots in tutorial 4 code block.
2014-04-18 12:10:46 -04:00
Tim Graham
c2b269df6e
Added some missing items to the 1.6.3 release notes.
2014-04-18 10:32:14 -04:00
Erik Romijn
54d5c37de6
Fixed #22471 -- Corrected misprint in i18n docs
...
Thanks to aruseni for the report.
2014-04-18 15:05:18 +02:00
Tim Graham
dc7bc42cce
Added missing versionadded annotation and tweaked release note; refs #22465 .
2014-04-18 07:18:15 -04:00
amatellanes
8394e570ba
Fixed #22465 -- New assertion assertJSONNotEqual
2014-04-18 15:11:08 +07:00
Tim Graham
a4acb80463
Fixed #22444 -- Marked initial SQL/fixture loading as deprecated.
...
Thanks Karen Tracey for the report.
2014-04-17 20:36:52 -04:00
Donald Stufft
438e6fe63d
Merge pull request #2583 from alex/extras-bcrypt
...
Include an 'extra_requires' for bcrypt
2014-04-17 15:59:37 -04:00
Claude Paroz
3cea917e3e
Confirmed support for PostGIS 2.1 and GDAL 1.10
...
Refs #22456 .
2014-04-17 21:23:14 +02:00
Alex Gaynor
0e27882b3a
Stray paren
2014-04-17 11:29:07 -07:00
Alex Gaynor
464b98b1fe
Include an 'extra_requires' for bcrypt
2014-04-17 11:28:09 -07:00
Tim Graham
47927eb786
Revert "Fixed #22401 -- Deprecated regular expression parsing of initial SQL in favor of installing sqlparse."
...
This reverts commit 071c933775
.
This introduced a regression on MySQL and custom SQL is deprecated.
2014-04-16 21:03:22 -04:00
chriscauley
66ec9ee441
Fixed #22378 -- Updated \d to [0-9]+ in urlpatterns of docs and tests.
...
Thanks tomwys for the suggestion.
2014-04-16 20:36:29 -04:00
Ben Davis
030dd4f72c
Fixed #22220 -- Added more examples to reverse() documention.
...
Thanks EvilDMP for the suggestions.
2014-04-16 20:29:17 -04:00
Mariano Rezk
7cd74fc96e
Fixed #22455 -- Documented return values for send_mail and send_mass_mail
2014-04-16 17:35:17 -04:00
Tim Graham
b5ce21accb
Fixed spelling errors in documentation.
2014-04-16 09:39:00 -04:00
Jordi Yeh
2810299117
Fixed #22457 -- Fixed contributing guide w/o github set-up
...
The published commnand was not working when the user did not have
the git client set-up with the public-key. Changed the contributing
guide to clone it from https instead.
2014-04-16 09:33:53 -04:00
Tim Graham
eefad142de
Fixed #22453 -- Corrected DoesNotExist message in docs.
...
Thanks Eugenio Cano-Manuel.
2014-04-16 08:36:02 -04:00
Tim Graham
ae5b662796
Added a note regarding django.contrib.auth.authenticate.
...
Thanks Josh Brown for the suggestion.
2014-04-16 07:47:56 -04:00
Tim Graham
465980d070
Added RemoteUserMiddleware to middleware reference page.
2014-04-16 07:22:15 -04:00
Mariano Rezk
4e3d8ae610
Fixed #22443 -- Document smtp.EmailBackend.timeout default value
...
Django 1.7 introduces a new timeout parameter for the SMTP email backend:
http://docs.djangoproject.com/en/dev/topics/email/#django.core.mail.backends.smtp.EmailBackend.timeout
However, there was no mention of the default value for this parameter.
2014-04-15 17:47:51 -04:00
Tim Graham
0f37d2e4c0
Fixed #22392 -- Corrected deployment instructions for Apache 2.4.
...
Thanks zjcheah at yahoo.com for the report.
2014-04-15 17:44:37 -04:00
Marc Egli
0bcc92c691
Fixed #22356 -- Added a check to make sure unique_together fields are local.
2014-04-14 16:49:40 -04:00
Jacob R. Rothenbuhler
17c1884456
Fixed #22369 -- Added count parameter to assertTemplateUsed
2014-04-14 15:55:10 -04:00
Andrew Godwin
09af48c70f
Improve migrations/schema docs
2014-04-14 13:07:02 -04:00
arachnegl
8da86fd19b
Fixed #22398 -- Added detail about callable in KEY_FUNCTION docs
2014-04-13 18:52:43 -04:00
valtron
d3b71b976d
Fixed #21760 -- prefetch_related used an inefficient query for reverse FK.
...
Regression introduced by commit 9777442
. Refs #21410 .
2014-04-13 00:34:16 +07:00
Claude Paroz
3417ba0309
Also allowed a non-overridden setting to be deleted
...
Refs #20032 , #18824 . Thanks ztorstri at gmail.com for the report.
2014-04-12 15:33:22 +02:00
Claude Paroz
3e3a7372f5
Fixed #22102 -- Made SimpleTestCase tests run before unittest.TestCase ones
...
Thanks aptiko for the reporti and Tim Graham for the review.
2014-04-12 11:42:06 +02:00
Tim Graham
c487b1e230
Fixed #22419 -- Typo in docs/topics/db/multi-db.txt.
...
Thanks Josh Kupershmidt.
2014-04-10 19:33:00 -04:00
Tim Graham
d5031ecf88
Fixed #21353 -- Noted that description is ignored for TabularInlines.
...
Thanks nofinator for the report.
2014-04-10 13:31:59 -04:00
John Paulett
b5a9166f7e
Fixed #22364 -- Sanitized getpass input in changepassword.
...
Python 2 getpass on Windows does not accept unicode, even
when containing on ASCII characters. Related #190807 .
2014-04-10 13:15:37 -04:00
Tim Graham
395d75ea6b
Fixed #22194 -- Added --list-tags option to check command.
...
Thanks Elvard for the patch.
2014-04-10 09:43:55 -04:00
Carl Meyer
7e3834adc9
Fixed #22412 -- More nuanced advice re template filters and exceptions.
...
Thanks Tim for review.
2014-04-09 23:19:55 -06:00
Shai Berger
59b1d3098f
Documentation fixes for the select_for_update change.
...
Refs #22343 ; thanks Tim Graham for the fixes.
2014-04-10 03:40:33 +03:00
Shai Berger
f095356ba2
Fixed #22343 -- Disallowed select_for_update in autocommit mode
...
The ticket was originally about two failing tests, which are
fixed by putting their queries in transactions.
Thanks Tim Graham for the report, Aymeric Augustin for the fix,
and Simon Charette, Tim Graham & Loïc Bistuer for review.
2014-04-10 03:04:51 +03:00
julien 'pouete' Godin
071c933775
Fixed #22401 -- Deprecated regular expression parsing of initial SQL in favor of installing sqlparse.
2014-04-09 19:25:07 -04:00
Tim Graham
11e7254c3d
Noted that pip is included with Python 3.4 in Windows install guide.
...
Thanks CHI Cheng.
2014-04-09 07:38:43 -04:00
ejstronge
5ca522b9ed
Fixed small typo in django-admin.txt
...
The word 'by' seemed to be missing from the first line of the compilemessages command.
2014-04-08 23:58:40 -04:00
e0ne
2aaa045c61
Fixed #13408 -- Deprecated silent unpacking exception passing in for template tag.
...
Thanks peterbe for the suggestion.
2014-04-08 13:55:17 -04:00
Anubhav Joshi
d35d2f61c5
Fixed #16205 -- Added an installation for Windows.
2014-04-08 11:24:49 -04:00
Tim Graham
a1fa6fcabc
Added Python 3.4 to list of supported version in docs/intro/install.txt
2014-04-08 11:13:05 -04:00
Tim Graham
868f37183b
Fixed some spelling issues in docs.
2014-04-08 10:08:25 -04:00
Anubhav Joshi
c8c2b8a638
Fixed #9535 -- Added a reference guide for file upload classes.
2014-04-08 09:52:07 -04:00
Anubhav Joshi
36de29200e
Fixed #22405 -- Fixed string error in models/queries docs.
2014-04-08 13:33:40 +02:00
Yin Jifeng
d6c9bdd825
Added missing request parameter to get_current_site().
2014-04-07 09:54:34 -04:00
Anubhav Joshi
cd914e31c9
Fixed #21977 -- Deprecated SimpleTestCase.urls
2014-04-06 17:33:43 -04:00
Tim Graham
d2f4553d70
Fixed #22216 -- Added Form.non_field_errors to form API doc.
2014-04-05 18:16:01 -04:00
Tim Graham
fd23c06023
Fixed #21649 -- Added optional invalidation of sessions when user password changes.
...
Thanks Paul McMillan, Aymeric Augustin, and Erik Romijn for reviews.
2014-04-05 12:50:51 -04:00
Claude Paroz
9494f29d4f
Fixed case in form widgets docs
2014-04-05 16:26:11 +02:00
Claude Paroz
248b9bb554
Merge pull request #2514 from vlal/ticket_22380
...
Fixed #22380 -- Missing SECRET_KEY variable in sample settings file for ...
2014-04-04 09:47:27 +02:00
Vishal Lal
8f621b83e9
Fixed #22380 -- Missing SECRET_KEY variable in sample settings file for testing
2014-04-04 07:25:55 +00:00
Tim Graham
8f63849df2
Fixed typo in 1.8 release notes.
2014-04-03 09:05:31 -04:00
Vishal Lal
a8e2ec0e82
Fixed #22372 -- Improved description of WizardView.get_context_data().
...
Thanks simon29 for the report.
2014-04-03 08:25:11 -04:00
Tim Graham
d73d0e071c
Fixed #22218 -- Deprecated django.conf.urls.patterns.
...
Thanks Carl Meyer for the suggestion and Alex Gaynor and Carl for reviews.
2014-04-03 07:28:10 -04:00
Ramiro Morales
e6ced2bb08
Document removal of GeoDjangoTestSuiteRunner in 1.6 release notes.
2014-04-02 17:11:49 -03:00
Vishal Lal
ca93f02c62
Fixed #22347 -- Unified FileSystemStorage documentation.
...
Thanks nliberg for the report.
2014-04-02 12:58:37 -04:00
Claude Paroz
9769337ca8
Added 1.6.3 release note for refs #22256 .
2014-04-01 20:49:51 +02:00
Daniel Neuhäuser
4aa80149e7
Fixed #22327 -- Turned BaseEmailBackend into a context manager
...
Changed the BaseEmailBackend to allow usage as context manager to open
and close connections.
2014-03-31 14:08:51 -04:00
Tim Graham
981b864fbd
Replaced urllib/urlparse imports with from django.utils.six.moves.
2014-03-31 07:54:22 -04:00
Loic Bistuer
4339e9a92d
Fixed #21795 -- Made add_preserved_filters account for url prefixes.
...
Thanks to trac username honyczek for the report. Refs #6903 .
2014-03-31 07:19:59 -04:00
Tim Graham
d57ba04d89
Added 1.6.3 release note for refs #22250 .
2014-03-31 07:11:55 -04:00
Ramiro Morales
cb5dd99bb4
Corrected an import in a model form docs example.
2014-03-30 20:31:07 -03:00
Loic Bistuer
bc9be72bdc
Fixed transaction handling for a number of operations on related objects.
...
Thanks Anssi and Aymeric for the reviews. Refs #21174 .
2014-03-30 12:13:00 +07:00
Tim Graham
f30e6590f4
Fixed #21858 -- Clarified 1.6 release note regarding M2M help text changes.
...
Thanks lee at semel.net for the report.
2014-03-29 10:21:49 -04:00
Claude Paroz
41903d025a
Dropped support for GDAL 1.6
2014-03-29 11:08:52 +01:00
Claude Paroz
c5d1df70a4
Dropped support for GEOS 3.1
2014-03-29 11:08:52 +01:00
Claude Paroz
c6ffa4cab6
Added note in geo library docs
2014-03-29 11:08:52 +01:00
Claude Paroz
e62dea9ad5
Confirmed Spatialite 4 support
2014-03-29 11:08:52 +01:00
Claude Paroz
0f1f12c564
Confirmed GEOS 3.4 support
2014-03-29 11:08:52 +01:00
Maxime Turcotte
5e4e0b6fe9
Fixed #22306 -- Deprecated future versions of cycle and firstof template tags.
2014-03-28 18:55:06 -04:00
Tim Graham
306deab2c7
Added Python 3.4 support notes.
2014-03-27 08:01:33 -04:00
Tim Martin
a779757706
Fixed #21941 -- Documented the kwargs param of django.conf.urls.url().
...
Thanks cjerdonek for the report.
2014-03-27 07:01:47 -04:00
Claude Paroz
d320863878
Fixed #22114 -- Stopped adding trailing slashes in URLField.to_python
...
Thanks coredumperror at gmail.com for the report and Tim Graham
for the review.
2014-03-26 18:10:58 +01:00
Tim Graham
5233b36693
Fixed #22029 -- Removed obsolete advice on registering migrate/syncdb signal handlers.
...
All signals should now be registered in AppConfig.ready().
Thanks un33k for the report.
2014-03-26 10:39:52 -04:00
Andrew Godwin
378359de1c
Add some syncdb deprecation stuff into the deprecation doc
2014-03-25 13:58:47 -07:00
Simon Charette
1506c71a95
Fixed #12030 -- Validate integer field range at the model level.
...
Thanks to @timgraham for the review.
2014-03-25 14:31:20 -04:00
Tim Graham
9b7ba8af1b
Fixed #22322 -- Fixed incorrect explanation of what managed=False does.
...
refs #14305 .
Thanks Adrian Klaver for the report.
2014-03-25 14:01:37 -04:00
Tim Graham
e3c4205b79
flake8 and doc fixes for refs #22257 .
2014-03-25 09:44:59 -04:00
Marc Tamlyn
09ab447d08
Merge pull request #2465 from coder9042/ticket_22258
...
Fixed #22257 -- Added file output option to dumpdata command.
2014-03-25 11:42:03 +00:00
Anubhav Joshi
f34e8fc890
Fixed #22257 -- Added file output option to dumpdata command.
2014-03-25 13:47:03 +05:30
Tim Graham
51c8045145
Removed versionadded/changed annotations for 1.6.
2014-03-24 11:42:56 -04:00
Adam Kaliński
ec08d62a20
Fixed #22048 - Enhanced docs to cover nonexistent one-to-one relationships.
...
Thanks EvilDMP for the suggestion.
2014-03-24 09:41:04 -04:00
Tim Graham
60d2dde286
Fixed #22247 -- Replaced "upstream" with "downstream" in cache docs.
...
Thanks valgarv at gmx.net for the report.
2014-03-24 09:19:27 -04:00
Tim Graham
eed7e1d4f6
Fixed #21665 -- Documented that changes in assertRedirects may be required given new URL escaping behavior.
...
Thank pdc for the report.
2014-03-24 09:08:47 -04:00
Anubhav Joshi
416a858023
Fixed #17922 -- Added required_css_class to form label.
...
Thanks hanson2010 for the suggestion.
2014-03-24 08:11:54 -04:00
Tim Graham
2ec82c7387
Updated six to 1.6.1.
2014-03-24 07:33:55 -04:00
Moayad Mardini
bff77e2aa8
Fixed #22265 -- Clarfied consistent behavior of migrations.
...
Thanks aruseni for the report.
2014-03-24 07:27:04 -04:00
Loic Bistuer
7ac8380799
Fixed #22318 -- Added Form.has_error() to easily check if a given error has happened.
2014-03-24 07:21:32 -04:00
Claude Paroz
3f7615cddc
Fixed #22317 -- Fixed documented handler400 default value
2014-03-23 21:18:39 +01:00
Simon Charette
fa8b473528
Fixed #22299 -- Cleanup wizard temp files when possible.
...
Thanks to @erikr for the review.
2014-03-22 17:48:12 -04:00
Claude Paroz
3a97f992fb
Fixed #22313 -- Removed 'u' prefixes from documentation
2014-03-22 21:32:20 +01:00
Claude Paroz
74b3467646
Removed GeoRSSSitemap
...
Refs #18531 .
2014-03-22 19:58:50 +01:00
Loic Bistuer
e61d99d96d
Fixed #20684 -- Added support for HTML5 boolean attributes to form widgets.
2014-03-22 14:28:12 -04:00
Claude Paroz
bc315266c8
Fixed #22294 -- Prevented converting length filter output to string
...
Thanks Steve Pike for the report.
2014-03-22 16:39:46 +01:00
Tim Graham
ee4edb1eda
Made ModelForms raise ImproperlyConfigured if the list of fields is not specified.
...
Also applies to modelform(set)_factory and generic model views.
refs #19733 .
2014-03-22 07:56:48 -04:00
Claude Paroz
1c8dbb0cc2
Added release note about strip_tags improvement
2014-03-22 12:25:26 +01:00
Claude Paroz
6ca6c36f82
Improved strip_tags and clarified documentation
...
The fact that strip_tags cannot guarantee to really strip all
non-safe HTML content was not clear enough. Also see:
https://www.djangoproject.com/weblog/2014/mar/22/strip-tags-advisory/
2014-03-22 10:59:18 +01:00
Aymeric Augustin
253e8ac29f
Removed django.middleware.doc. Refs #20126 .
...
Small doc changes missed in 66076268
.
2014-03-21 22:07:39 +01:00
Aymeric Augustin
06160cb945
Removed deprecated TRANSACTIONS_MANAGED setting.
2014-03-21 21:34:47 +01:00
Thomas Schreiber
907ac64641
Fixed typos in docs (django.contrib.site)
2014-03-21 19:56:31 +01:00
Tim Graham
bf5430a20b
Removed django.test.simple and django.test._doctest per deprecation timeline.
...
refs #17365 , #17366 , #18727 .
2014-03-21 13:36:46 -04:00
Tim Graham
b71f183d2e
Fixed broken link in 1.7 release notes due to removal of deprecated code/docs.
2014-03-21 13:23:04 -04:00
Tim Graham
1ea44a3abd
Switched {% cycle %} and {% firstof %} tags to auto-escape their variables per deprecation timeline.
...
refs #17906 .
2014-03-21 13:17:10 -04:00
Tim Graham
4965a77407
Removed PIL compatability layer per deprecation timeline.
...
refs #19934 .
2014-03-21 10:54:53 -04:00
Tim Graham
f567d04b24
Removed settings.CACHE_MIDDLEWARE_ANONYMOUS_ONLY per deprecation timeline.
...
refs #15201 .
2014-03-21 09:46:17 -04:00
Tim Graham
8b81dee60c
Removed fix_ampersands template filter per deprecation timeline.
...
Also removed related utility functions:
* django.utils.html.fix_ampersands
* django.utils.html.clean_html
2014-03-21 08:50:43 -04:00
Tim Graham
11e22129d5
Removed settings.SEND_BROKEN_LINK_EMAILS per deprecation timeline.
2014-03-21 07:15:58 -04:00
Tim Graham
aa93a1890f
Removed contrib.comments per deprecation timeline.
2014-03-21 07:05:36 -04:00
Tim Graham
86c8926569
Added stub release notes for 1.8.
2014-03-21 06:19:19 -04:00
Tim Graham
2f37ad88b1
Bumped version to reflect master is now pre-1.8.
2014-03-21 06:17:14 -04:00
Dejan Noveski
4d0c5f6142
Fixed #22255 -- Added support for specifying re flags in RegexValidator
2014-03-21 11:12:36 +01:00
Bryan Helmig
f2eea960e0
Fixed minor syntax error in Queryset docs
2014-03-21 11:02:15 +01:00
Daniel Hahler
ac9c7701a7
Replaced reference to ModelAdmin.get_formsets() (deprecated) with get_formsets_with_inlines().
2014-03-19 20:37:00 -04:00
Anubhav Joshi
0399523cf1
Fixed #22253 -- Added django-i18n to the mailing lists docs.
...
Thanks bmispelon for the suggestion.
2014-03-19 07:22:01 -04:00
Simon Charette
cc5804bcab
Amended login required mixin documentation to honor **initkwargs.
2014-03-17 18:45:06 -04:00
zedr
fad47367bf
Fixed #21179 -- Added a StreamingHttpResponse example for CSV files.
...
Thanks charettes for the suggestion.
2014-03-17 07:22:27 -04:00
Tim Graham
5840445664
Fixed #22006 -- Documented how to write a login_required mixin for CBVs.
...
Thanks django at patjack.co.uk for the suggestion and mockforest
for the draft patch.
2014-03-17 06:49:59 -04:00
Anubhav Joshi
ad43fdaa00
Fixed #21860 -- Added to_field_name to ModelChoiceField docs.
...
Thanks Keryn Knight for the suggestion.
2014-03-16 15:40:52 -04:00
Anubhav Joshi
abade6413b
Fixed #21991 -- Added warning regarding tests failure if locales not installed.
...
Thanks reidrac for the report.
2014-03-16 14:34:18 -04:00
Daniel Pyrathon
885e7adf56
Fixed #22242 -- Documented common cookie size limit.
2014-03-16 10:40:59 -04:00
Claude Paroz
5a976b4bec
Fixed #22245 -- Avoided widget overwrite in forms.IntegerField subclasses
...
Thanks Jeroen Pulles for the report and Simon Charette for the review.
2014-03-13 16:58:14 +01:00
Dejan Noveski
958b511a80
Fixed #22262 -- Added the correct line in the last example of Translator lines
2014-03-13 14:13:27 +01:00
Iain Dawson
c8823cf481
Fixed a grammar error in topics/i18n/translation.
...
Hooks are quantum; you can not have an amount of them.
2014-03-13 10:04:30 +01:00
Akis Kesoglou
aaad3e27ac
Fixed #22217 - ManyToManyField.through_fields fixes.
...
- Docs description of arguments mix up.
- Keep it from erroneously masking E332 check.
- Add checks E338 and E339, tweak message of E337.
2014-03-11 19:33:04 -03:00
Tim Graham
89e4226ed1
Updated spelling_wordlist.
2014-03-11 08:11:16 -04:00
Tim Graham
ce3d9f847d
Fixed typo in docs/ref/django-admin.txt
...
Thanks Wes Kendall for the report.
2014-03-11 08:09:44 -04:00
Shai Berger
05daaf2eea
Added myself to the committers list, finally.
2014-03-10 22:28:01 +02:00
Aymeric Augustin
1be31c320c
Fixed #21875 -- Clarified that get_user_model() only works at run time.
...
Thanks Benjamin White for the report.
2014-03-10 21:11:23 +01:00
Erik Romijn
daaf6cf9a4
Added myself to the committers list.
2014-03-10 17:25:47 +01:00
Daniel Pyrathon
819e09b848
Fixed #22210 -- Saving model instances to non-related fields.
...
Previously, saving a model instance to a non-related field (in
particular a FloatField) would silently convert the model to an Integer
(the pk) and save it. This is undesirable behaviour, and likely to cause
confusion so the validatio has been hardened.
Thanks to @PirosB3 for the patch and @jarshwah for the review.
2014-03-10 15:25:18 +00:00
Jeremy Dunck
0e52b2863b
Substituted 'shortcut function' for 'factory method' in tutorial
...
Many newbies don't know what a factory method is, nor is it pertinent to the
information the tutorial hopes to convey.
2014-03-09 14:07:39 -07:00
Aymeric Augustin
3315535ae8
Fixed an example to match the code.
2014-03-09 21:20:34 +01:00
Shai Berger
0615eaf24a
Corrected a few missed references to old test settings
2014-03-09 08:33:33 +02:00
Shai Berger
41afae4ce9
Reorganized the database test settings
...
Change database test settings from "TEST_"-prefixed entries in the
database settings dictionary to setting in a dictionary that is itself
an entry "TEST" in the database settings.
Refs #21775
Thanks Josh Smeaton for review.
2014-03-09 03:57:18 +02:00
Claude Paroz
210d0489c5
Fixed #21188 -- Introduced subclasses for to-be-removed-in-django-XX warnings
...
Thanks Anssi Kääriäinen for the idea and Simon Charette for the
review.
2014-03-08 09:57:40 +01:00
Russell Keith-Magee
70ec4d776e
Fixed #22034 -- Added a specific set of relation checks for GenericInlineModelAdmin.
...
Thanks to jwa for the report.
2014-03-08 11:25:23 +08:00
Anssi Kääriäinen
219d928852
Fixed #21863 -- supplemented get_lookup() with get_transform()
...
Also fixed #22124 -- Expanded explanation of exactly what is going on in
as_sql() methods.
2014-03-07 14:52:13 +00:00
Szczepan Cieślik
a0f2525202
Fixed #22141 -- Added a spelling checker for documentation.
2014-03-07 09:29:23 -05:00
Tim Graham
8f9c3d0565
Fixed typo in docs/ref/checks.txt
2014-03-07 09:18:06 -05:00
Roger Hu
9b729ddd8f
Fixed #22185 -- Added settings.CSRF_COOKIE_AGE
...
Thanks Paul McMillan for the review.
2014-03-06 08:28:43 -05:00
Claude Paroz
06efeae598
Added --previous flag to msgmerge command used by makemessages
...
Also took the opportunity to slightly refactor gettext options
so as to ease customization by subclassing the command.
Thanks Michal Čihař for the report and initial patch.
2014-03-06 10:20:01 +01:00
Gabe Jackson
b77f26313c
Fixed #22207 -- Added support for GenericRelation reverse lookups
...
GenericRelation now supports an optional related_query_name argument.
Setting related_query_name adds a relation from the related object back to
the content type for filtering, ordering and other query operations.
Thanks to Loic Bistuer for spotting a couple of important issues in
his review.
2014-03-05 22:37:53 +02:00
Akis Kesoglou
c627da0ccc
Fixed #14549 - Removed restriction of single FKs on intermediary tables
...
Thanks to Loic Bistuer for review. Minor changes to error messages
done by committer.
2014-03-05 22:33:58 +02:00
Chris Wilson
95c74b9d69
Fixed #22206 -- Passed models.TextField.max_length to forms.CharField.maxlength
2014-03-05 20:09:28 +01:00
zedr
6fe22b30e0
Fixed #22085 -- Added a feature for setting non-expiring keys as the default.
...
This feature allows the default `TIMEOUT` Cache argument to be set to `None`,
so that cache instances can set a non-expiring key as the default,
instead of using the default value of 5 minutes.
Previously, this was possible only by passing `None` as an argument to
the set() method of objects of type `BaseCache` (and subtypes).
2014-03-04 21:16:35 +01:00
Thomas Sorrel
53c576452e
Fixed #16727 -- Added protocol-relative URL support to contenttypes.views.shortcut.
2014-03-03 22:57:06 +01:00
Loic Bistuer
7bbb6958dc
Allowed custom querysets when prefetching single valued relations
...
The original patch for custom prefetches didn't allow usage of custom
queryset for single valued relations (along ForeignKey or OneToOneKey).
Allowing these enables calling performance oriented queryset methods like
select_related or defer/only.
Thanks @akaariai and @timgraham for the reviews. Refs #17001 .
2014-03-03 21:35:19 +02:00
Alex de Landgraaf
c8d61fa109
Fixed #21986 -- Added some guidelines for database indexes.
...
Thanks django-issues at colons.co for the suggestion.
2014-03-03 11:16:41 -05:00
Tim Graham
5a4f1298cf
Fixed #21908 -- Added example usage for ModelAdmin.get_inline_instances().
...
Thanks matt at schinckel.net for the suggestion.
2014-03-03 10:40:06 -05:00
Tim Graham
eae4f16177
Removed doc newlines added in previous commit that caused build errors.
2014-03-03 08:49:18 -05:00
Rodolfo Carvalho
2b6436e2d5
Fixed some typos and formatting issues in docs.
2014-03-03 08:37:17 -05:00
Greg Chapple
6acaa52386
Fixed #22135 -- Added ModelAdmin.get_changeform_initial_data().
...
Allows custom behavior for setting initial form data in ModelAdmin.
By default, initial data is set via GET params. The new method allows
this behavior to be overridden.
Thanks egasimus for the suggestion.
2014-03-03 07:28:24 -05:00
Russell Keith-Magee
c41335fa27
Added backwards compatibliity checks to reference documentation.
2014-03-03 19:20:48 +08:00
Russell Keith-Magee
21d8175242
Fixed #22193 -- Made hint a truly optional arugment on check messages.
...
Thanks to Thomas Güttler for the suggestion.
2014-03-03 19:16:19 +08:00
Russell Keith-Magee
5679fce87c
Added first cut at reference documentation for the checks framework.
2014-03-03 18:56:11 +08:00
Tim Graham
90577c0eb4
Removed WSGI upgrade instructions for Django 1.3 and earlier.
2014-03-02 16:19:28 -05:00
Baptiste Mispelon
ea4da8e63c
Fixed some typos in the documentation.
...
Thanks to Rodolfo Carvalho and Piotr Kasprzyk
for the patch.
2014-03-02 17:05:57 +01:00
Anubhav Joshi
bb2ca9fe6c
Fixed #22172 -- Allowed index_together to be a single list (rather than list of lists)..
...
Thanks EmilStenstrom for the suggestion.
2014-03-01 15:44:42 -05:00
Erik Romijn
775975f15d
Fixed #22130 -- Deprecated fix_ampersands, removed utils.clean_html()
2014-03-01 14:07:57 +01:00
Sergey Kolosov
8c98f39624
Fixed #15318 -- Added settings for language cookie max-age, path, domain
...
Introduced a number of settings to configure max-age, path, and domain
for the language cookie: LANGUAGE_COOKIE_AGE, LANGUAGE_COOKIE_PATH and
LANGUAGE_COOKIE_DOMAIN.
Thanks sahid for the suggestion.
2014-03-01 07:52:45 -05:00
Claude Paroz
a19f0d0c1e
Fixed #22137 -- Made Widget.is_hidden a read-only property
...
Thanks django at patjack.co.uk for the report and the review.
2014-03-01 10:36:48 +01:00
Tim Graham
1f5f015c32
Fixed spelling mistakes in docs.
2014-02-28 21:03:46 -05:00
Tim Graham
8137215973
Added release note and regression test for refs #21643 .
...
This will be backported to stable/1.6.x along with the original fix.
2014-02-28 20:42:56 -05:00
Tim Graham
7c0102379a
Removed some ReST links to undocumented functions.
2014-02-28 18:00:53 -05:00
Alex de Landgraaf
ea869b5148
Fixed #21948 -- Noted TEMPLATE_LOADERS requirement when overriding admin templates.
...
Thanks django at patjack.co.uk for the suggestion.
2014-02-28 16:38:25 -05:00
Tim Graham
7f2505ad9e
Fixed doc typos.
2014-02-28 11:44:03 -05:00
Tim Graham
55fb162588
Fixed #22028 -- Documented that database signals aren't emitted for apps that laack a models module.
...
Thanks un33k for the suggestion and donjpacheco for the draft patch.
2014-02-28 09:22:33 -05:00
Greg Chapple
2f25cdc18a
Fixed #22129 -- Added steps for creating superusers to tutorial.
2014-02-28 08:10:07 -05:00
vvojvoda
c23b3717be
Fixed #21962 -- Added escape_html flag to ErrorDict.as_json()
2014-02-28 07:05:55 -05:00
jibreel
1b5bd470f0
Fixed documention typo
2014-02-27 09:27:40 +02:00
Bouke Haarsma
2bab9d6d9e
Fixed #21389 -- Accept most valid language codes
...
By removing the 'supported' keyword from the detection methods and only relying
on a cached settings.LANGUAGES, the speed of said methods has been improved;
around 4x raw performance. This allows us to stop checking Python's incomplete
list of locales, and rely on a less restrictive regular expression for
accepting certain locales.
HTTP Accept-Language is defined as being case-insensitive, based on this fact
extra performance improvements have been made; it wouldn't make sense to
check for case differences.
2014-02-26 16:58:04 +01:00
navneet suman
3390550f6f
Fixed #22145 -- Clarified docs on Field.blank and Field.null options.
...
Thanks skipjack at peru.com for the suggestion.
2014-02-25 20:59:34 -05:00
Tim Graham
4132e013ec
Removed a nonexistent link in the docs.
2014-02-25 11:28:36 -05:00
Rik
355572ac56
Fixed #12670 -- Added a note about permissions of files stored in FILE_UPLOAD_TEMP_DIR.
...
Thanks simon29 for the suggestion.
2014-02-25 11:19:31 -05:00
Henk Vos
e65c0ccac0
Fixed #22071 -- Added a warning regarding override_settings and aliasing.
...
Thanks EvilDMP for the suggestion.
2014-02-25 10:48:27 -05:00
Szczepan Cieślik
e816198034
Fixed docs typos.
2014-02-25 10:28:32 -05:00
Iacopo Spalletti
65b4626528
Fixed #22142 -- Documented PostGIS 2 database creation during tests
2014-02-25 13:41:50 +01:00
Claude Paroz
91f4a75a6b
Fixed #22116 -- Added precision about WSGIPythonPath separator
...
Thanks donjpacheco for the initial patch.
2014-02-24 18:29:00 +01:00
Daniele Procida
4f7b7ef683
Merge pull request #2363 from nheyning/22019_add_objects_doc
...
Fixed #22019 -- added documentation on Model attributes
2014-02-23 17:35:43 +01:00
Nicolaas Heyning
e1d2a0bd04
added documentation on Model attributes
2014-02-23 17:16:12 +01:00
Alex de Landgraaf
b645be80e9
Fixed #22063 -- Added reference to NoReverseMatch from the reverse() documentation
2014-02-23 13:45:52 +01:00
Baptiste Mispelon
072fb923e1
Fixed #21881 -- Clarify behavior of {% ssi %} template tag.
...
When using the `parsed` option, {% ssi %} has the same limitation
as {% include %}, namely that the rendering of the included
template is done separately.
Thanks to trac user nagyv for the report and to alextreme for
the patch.
2014-02-23 12:00:24 +01:00
Marcin Sokół
b887408486
Fixed #22113 -- changed object_name to model_name in CBV docs.
...
Thanks to trac user nikunj.sg for the report.
2014-02-22 23:36:54 +01:00
Baptiste Mispelon
1d3ae4760b
Fixed warnings when building the documentation.
2014-02-22 21:43:50 +01:00
Greg Chapple
ede99f0ec3
Fixed #22032 -- added documentation for settings.MIGRATION_MODULES
2014-02-22 20:14:41 +01:00
Jochem Oosterveen
271929dd9d
Fixed #22092 -- Documented ResolverMatch.view_name
2014-02-22 18:31:40 +01:00
Erik Romijn
8cd32f0965
Fixed #22120 -- Documented persistent activation of languages and cleaned up language session key use
2014-02-22 18:29:06 +01:00
Marcin Sokół
09b725f51b
Fixed #21902 -- Documented search order for list_display.
2014-02-22 18:11:43 +01:00
Erik Romijn
98f13762d7
Fixed #22123 -- EmailValidator now also accepts IPv6 literals in addresses
2014-02-22 17:45:33 +01:00
Martin Matusiak
d399731bf2
Fixed #22007 -- Fixed cbv docs - make imports consistent
...
Thanks to trac user kinjal.dixit for the report.
2014-02-22 14:39:09 +01:00
Baptiste Mispelon
926e18d7d1
Deprecated django.utils.text.javascript_quote.
...
Refs #21725 .
2014-02-22 13:50:12 +01:00
Alasdair Nicol
462edd22e5
Fixed #22112 -- Added RedirectView.pattern_name to CBV flattened index
...
Also moved accessor method get_redirect_url next to its attribute url
for consistency with the other views.
Thanks nikunj.sg for the report
2014-02-21 22:23:06 +01:00
David Sanders
adcedfe8ba
Capitalize SQL keywords
2014-02-20 11:32:04 -07:00
David Sanders
6dfd02f88c
Capitalize SQL keywords
2014-02-20 11:26:59 -07:00
Tim Graham
821fc925f0
Fixed #22093 -- Made Form.Meta.fields examples consistent.
...
Thanks david-schultz at gmx.net for the suggestion.
2014-02-19 12:29:47 -05:00
Loic Bistuer
99416c7ad0
Added an example to the release notes for custom reverse managers.
2014-02-19 07:45:24 -05:00
Baptiste Darthenay
b4f21d1807
Fixed #19647 -- Added formats.py for Esperanto.
...
Thanks to Objectivesea and Guttorm Flatabø (dittaeva)!
2014-02-19 11:58:20 +01:00
Tim Graham
ffa238c3f7
Fixed #22062 -- Corrected static files config for Apache >= 2.4
2014-02-18 09:29:22 -05:00
Artur Frysiak
faf6a911ad
Fixed #22023 -- Raised an error for values() followed by defer() or only().
...
Previously, doing so resulted in invalid data or crash.
Thanks jtiai for the report and Karol Jochelson,
Jakub Nowak, Loic Bistuer, and Baptiste Mispelon for reviews.
2014-02-17 14:46:13 -05:00
Marek Wywiał
8274fa60f8
Made the new template.Context.flatten() method a public API.
...
That method was introduced in 9db4271bd1
.
Refs #21765 .
2014-02-16 15:18:45 +01:00
Grzegorz Rożniecki
57ba5bf97b
Added some links in i18n documentation
2014-02-16 14:50:32 +01:00
Grzegorz Rożniecki
bb83a32623
Fixed two typos in documentation
2014-02-16 14:50:32 +01:00
Zbigniew Siciarz
74d4d58b62
Fixed #21939 -- Deprecated loading ssi/url tags from future.
2014-02-16 13:25:21 +01:00
MattBlack85
653527de40
Fixed #18745 - Documentation change explaining tuple to list with signing.
...
Thanks to lee for the report.
2014-02-16 13:12:49 +01:00
Zbigniew Siciarz
94b5bc361a
Fixed #22002 -- Documented avoiding database interaction in AppConfig.ready().
...
Thanks Marc Tamlyn for the suggestion.
2014-02-15 13:50:31 -05:00
Zbigniew Siciarz
44814e78cc
Fixed #22013 -- Documented difference between SERVER_EMAIL and DEFAULT_FROM_EMAIL.
2014-02-15 19:11:46 +01:00
chomik
985ae732b2
Fixed #21884 -- Mentioned that exact is the defaut QuerySet lookup type
...
Thanks to cjerdonek for the suggestion.
2014-02-15 17:17:58 +01:00
Florian Apolloner
9d95dd08e5
Merge pull request #2281 from rhcarvalho/ticket_22053
...
Change analyse (British) to analyze (American).
2014-02-15 13:05:27 +01:00
Michal Prusek
00da02cbfd
Fixed #22052 -- Corrected a misspelling of ellipsoid
2014-02-15 13:02:16 +01:00
Rodolfo Carvalho
3d898b0e12
Change analyse (British) to analyze (American).
2014-02-15 13:00:56 +01:00
djendrju
4ac4c98cbd
Fixed #22049 -- Corrected a misspelling of dimensional
2014-02-15 12:08:01 +01:00
Tim Graham
865392c478
Added 1.6.3 release note for refs #21566 .
2014-02-14 21:04:44 -05:00
Klemens Mantzos
f683cb90be
Fixed #21924 -- Added the ability to specify a reverse order for admin_order_field.
...
Thanks Klemens Mantzos for the report and initial patch.
2014-02-14 19:53:44 -05:00
Lukasz Balcerzak
0242134d32
Fixed #17942 -- Added a JsonResponse class to more easily create JSON encoded responses.
...
Thanks leahculver for the suggestion and Erik Romijn,
Simon Charette, and Marc Tamlyn for the reviews.
2014-02-14 18:25:19 -05:00
Antoine Catton
e3d0790bd0
Fixed #21177 -- Made resolve_url support relative URLs.
...
This fixes redirecting to relative URLs with django.shortcuts.redirect.
2014-02-14 17:58:03 -05:00
Alasdair Nicol
f3805f5c52
Added missing snippet to show filename in docs
2014-02-14 12:45:35 +00:00
Loic Bistuer
2e4200b5c7
Fixed #21654 -- Documented a use-case for Form.errors.as_data().
...
Thanks selwin for the suggestion.
2014-02-14 06:52:50 -05:00
Simon Meers
007c5cd367
Updated docs that misreported django.apps.apps.ready as being a method.
2014-02-14 12:50:27 +11:00
Tim Graham
e86aa83dc3
Fixed a link in the 1.7 release notes.
2014-02-13 10:32:50 -05:00
Jeremy
f94f466cd3
Fixed #19496 -- Added truncatechars_html filter.
...
Thanks esevece for the suggestion and Nick Sandford and Martin Warne
for the inital work on the patch.
2014-02-13 10:27:27 -05:00
Alasdair Nicol
8aa1efff6d
Fixed #21951 -- Updated docs to use __str__ for Python 3
...
Thanks Tim Graham for the report and recommendations
2014-02-13 07:12:40 -05:00
Andrew Godwin
dbe82e74f2
Add reference documentation for operations and stubs for schemaeditor.
2014-02-12 18:53:35 +00:00
Christopher Adams
eefc88feef
Fixed #2445 -- Allowed limit_choices_to attribute to be a callable.
...
ForeignKey or ManyToManyField attribute ``limit_choices_to`` can now
be a callable that returns either a ``Q`` object or a dict.
Thanks michael at actrix.gen.nz for the original suggestion.
2014-02-11 14:05:12 -05:00
Claude Paroz
fb1e3435a4
Fixed #21996 -- Used proper encoding for GeoIP content
...
Thanks Florent Messa for the report.
2014-02-10 16:09:04 +01:00
Claude Paroz
c3dd38c574
Added 1.6.3 release notes stub
2014-02-10 16:09:04 +01:00
Christopher Medrela
ee9fcb1672
Fixed #17673 -- Forbid field shadowing.
...
Thanks Anssi Kääriäinen for the suggestion.
2014-02-10 10:04:19 -05:00
Markus Amalthea Magnuson
59d9b26474
Fixed #21190 -- Added a new ePub theme for documentation.
2014-02-10 08:24:40 -05:00
Julian Wachholz
9a4ee8ddb8
Fixed #21994 -- Added form_dict argument to calls of WizardView.done()
...
Added an additional keyword argument ``form_dict`` to calls of
WizardView.done() implementations which allows easier access to validated
forms by their step name.
2014-02-10 07:28:39 -05:00
Si Feng
b102c27ff4
Fixed #20784 -- Added inverse_match parameter to RegexValidator.
2014-02-10 05:38:43 -05:00
Chris Bailey
c5395eef76
Allowed a message to be passed to assertQuerysetEqual to make it consistent with other assert methods.
2014-02-10 05:21:23 -05:00
Tim Graham
29345390b8
Minor edits to new findstatic functionality; refs #19879 .
...
Hopefully fixes a test failure on Jenkins.
2014-02-09 15:39:04 -05:00
Claude Paroz
95ede98e60
Removed double word in model docs
2014-02-09 20:30:34 +01:00
Vajrasky Kok
6a9ed7d403
Fixed #19879 -- Have 'findstatic' says on which directories it searched the relative paths.
...
Added searched_locations in finders module. Added verbosity flag level 2 on 'findstatic'
command that will output the directories on which it searched the relative paths.
Reported by ccurvey. Initial patch by Jonas Svensson and Vajrasky Kok.
2014-02-09 14:22:22 +00:00
Jannis Leidel
5cc0555603
Fixed #21482 -- Uplifted restriction of collectstatic using symlink option in Windows NT 6.
...
Original patch by Vajrasky Kok. Reviewed by Florian Apolloner, Aymeric Augustin.
2014-02-09 12:39:20 +00:00
Andrew Godwin
d5df7a0515
Fixed #21969 : Fix behaviour of initial_data with migrated apps
2014-02-09 12:22:59 +00:00
Baptiste Mispelon
a5391db76a
Fixed inaccuracies in generic mixins documentation.
2014-02-09 10:59:18 +00:00
Kevin Christopher Henry
6fe26bd3ee
Fixed #19373 -- Ported Windows file locking from PyWin32 to ctypes
...
There wasn't any file locking under Windows unless PyWin32 was
installed. This removes that (undocumented) dependency by using ctypes
instead.
Thanks to Anatoly Techtonik for writing the ctypes port upon which this
is based.
2014-02-08 15:52:06 -05:00
Berker Peksag
5d263dee30
Fixed #21674 -- Deprecated the import_by_path() function in favor of import_string().
...
Thanks Aymeric Augustin for the suggestion and review.
2014-02-08 11:12:19 -05:00
Claude Paroz
fcc21837dc
Removed extra backquote in field docs
2014-02-08 14:20:56 +01:00
Loic Bistuer
8847a0c601
Fixed #16192 -- Made unique error messages in ModelForm customizable.
...
Overriding the error messages now works for both unique fields, unique_together
and unique_for_date.
This patch changed the overriding logic to allow customizing NON_FIELD_ERRORS
since previously only fields' errors were customizable.
Refs #20199 .
Thanks leahculver for the suggestion.
2014-02-08 04:59:09 -05:00
Jacob Kaplan-Moss
84fb7b468e
Updated 1.6.2 release notes for release (and linkified tickets).
2014-02-06 15:34:22 -06:00
Vajrasky Kok
d3cf6cfacf
Fixed #17713 -- Renamed BaseDatabaseFeatures.allows_primary_key_0 to allows_auto_pk_0.
...
MySQL does allow primary key with value 0. It only forbids autoincrement
primary key with value 0.
Thanks Claude Paroz for the report.
2014-02-06 05:16:40 -05:00
Christopher Medrela
b22d6c47a7
Fixed #17005 -- Added CurrentSiteMiddleware to set the current site on each request.
...
Thanks jordan at aace.org for the suggestion.
2014-02-06 04:45:49 -05:00
Tim Graham
b17c75564f
Added missing items to 1.6.2 release notes.
2014-02-05 19:29:41 -05:00
Loic Bistuer
36f260341a
Extended the release notes for chainable Manager/QuerySet methods.
...
Refs #20625 .
2014-02-05 18:30:45 -05:00
Baptiste Mispelon
2dd88f0687
Added previous commit to 1.6.2 release notes.
2014-02-05 21:46:02 +01:00
Loic Bistuer
f265c1ef13
Fixed gendered examples in the docs.
2014-02-05 14:58:50 -05:00
Claude Paroz
343dfff133
Removed the this_is_the_login_form hack
...
Refs #21911 . Now that we have a more traditional login form, we
don't need any more a special field telling us we are dealing with
the login form.
2014-02-04 20:02:28 +01:00
Claude Paroz
be0ad62994
Fixed #21911 -- Made admin views redirect to login when needed
...
Historically, the Django admin used to pass through the request
from an unauthorized access to the login view directly. Now we
are using a proper redirection, which is also preventing
inadvertantly changing data when POSTing login data to an admin
view when user is already authorized.
Thanks Marc Tamlyn and Tim Graham for the reviews.
2014-02-04 20:02:28 +01:00
Tim Graham
867f8fd6c7
Made some PEP8 fixes in docs/ref/forms/widgets.txt
...
Thanks Siecje.
2014-02-04 06:24:13 -05:00
Tim Graham
d4a5019bef
Reordered deprecation timeline and added back old info; refs #21920 .
2014-02-03 08:32:32 -05:00
Aymeric Augustin
ab2f21080d
Added a note about a possible name clash.
...
Thanks Russell for the advice.
2014-02-02 15:31:34 +01:00
Aymeric Augustin
b5fbdf97db
Fixed typo.
2014-02-02 15:16:55 +01:00
Ian Foote
af64f829d7
Fix typo CRSF -> CSRF
2014-01-29 16:54:02 +00:00
Andrew Godwin
5dc4a8652c
Add an extra warning about custom save methods in migrations docs.
2014-01-28 14:10:40 +00:00
Carl Meyer
88a2d39159
Fixed #21874 -- Require Django applications to have a filesystem path.
...
Wherever possible this filesystem path is derived automatically from the app
module's ``__path__`` and ``__file__`` attributes (this avoids any
backwards-compatibility problems).
AppConfig allows specifying an app's filesystem location explicitly, which
overrides all autodetection based on ``__path__`` and ``__file__``. This
permits Django to support any type of module as an app (namespace packages,
fake modules, modules loaded by other hypothetical non-filesystem module
loaders), as long as the app is configured with an explicit filesystem path.
Thanks Aymeric for review and discussion.
2014-01-27 15:34:22 -07:00
Tim Graham
dfa28981ce
Added release note stubs for 1.5.6 and 1.4.11.
2014-01-26 17:48:28 -05:00
Tim Graham
2cbe1e28fb
Added missing items to 1.6.2 release notes.
2014-01-26 15:40:14 -05:00
Simon Charette
10e3faf191
Fixed #19774 -- Deprecated the contenttypes.generic module.
...
It contained models, forms and admin objects causing undesirable
import side effects. Refs #16368 .
Thanks to Ramiro, Carl and Loïc for the review.
2014-01-26 14:42:30 -05:00
Aymeric Augustin
3c47786cb9
Fixed #21702 -- get_model('app_label.ModelName').
...
Also added tests for get_model.
2014-01-26 13:01:09 +01:00
Aymeric Augustin
8e1fc03491
Fixed typo. Refs #21836 .
2014-01-26 09:30:10 +01:00
Aymeric Augustin
9ffab9cee1
Moved RequestSite and get_current_site.
...
Following the app-loading refactor, these objects must live outside of
django.contrib.sites.models because they must be available without
importing the django.contrib.sites.models module when
django.contrib.sites isn't installed.
Refs #21680 . Thanks Carl and Loic for reporting this issue.
2014-01-26 08:50:47 +01:00
Carl Meyer
8bc3780b67
Docs correction: apps loaded from eggs do not have appconfig.path None.
2014-01-25 20:56:36 -07:00
Carl Meyer
966b186981
Fixed #17304 -- Allow single-path and configured-path namespace packages as apps.
...
Also document the conditions under which a namespace package may or may not be
a Django app, and raise a clearer error message in those cases where it may not
be.
Thanks Aymeric for review and consultation.
2014-01-25 19:37:05 -07:00
Chris Jerdonek
798fd59fad
Fixed #21836 -- Improved transaction docs about autocommit mode
...
Clarified that queries in autocommit mode are committed immediately
only if a transaction has not already been started. Added to the
main transaction docs that Django's TestCase class implicitly wraps
its tests in transactions.
2014-01-25 21:20:17 +01:00
Aymeric Augustin
2ff93e027c
Fixed #21829 -- Added default AppConfigs.
...
Thanks Russell for the report, Marc for the initial patch, Carl for the
final review, and everyone who contributed to the design discussion.
2014-01-25 10:41:56 +01:00
Tim Graham
e1d18b9d2e
Fixed #21869 -- Fixed docs building with Sphinx 1.2.1.
...
Thanks tragiclifestories for the report.
2014-01-24 08:52:43 -05:00
James Turley
4d8209431d
Fixed #21824 -- Added reference to LTS in docs/internals/security.txt
2014-01-24 08:13:17 -05:00
Marc Tamlyn
16f3a6a4c7
Fixed #21865 -- Incorrect signs in documented example.
...
Maths is hard.
2014-01-23 20:32:24 +00:00
Marc Tamlyn
d7aa0bd802
We should branch after the first beta.
...
We did this for 1.6 and it was very effective. 95%+ of fixes which merge
during the alpha are backported, as the policy is "all but really major
features". It's easier to just not merge any really major features.
After beta, we have feature freeze so we need to backport bugs to stable
but not features, so then the branch makes sense.
2014-01-23 20:07:14 +00:00
Tom Atkins
3b869b09d0
Fixed #21847 -- Clarified where ContactForm was defined
2014-01-23 13:48:09 -05:00
Baptiste Mispelon
d7ce48f175
Fixed #21864 -- Fixed missing quote in custom lookup example.
...
Thanks to Chris Barna for the report.
2014-01-23 16:13:20 +01:00
Tim Graham
12303ab738
Fixed #21861 -- Fixed typo in 1.7 release notes.
...
Thanks marktranchant.
2014-01-23 09:29:09 -05:00
Tim Graham
81830ce34f
Fixed some punctuation; thanks Chris Jerdonek.
2014-01-23 09:01:26 -05:00
Andrew Godwin
b8c8241945
Add docs about converting from South
2014-01-23 11:45:25 +00:00
Baptiste Mispelon
05d36dc06e
Always use parentheses when documenting a method with no arguments.
2014-01-22 22:26:10 +01:00
Baptiste Mispelon
79e1d6ebd7
Don't show `self` in the list of arguments of a method.
...
This is consistent with Python's official documentation
and it's a sphinx recommendation too[1].
[1] http://sphinx-doc.org/markup/desc.html#dir-method
Refs #21855 .
2014-01-22 22:17:32 +01:00
Tim Graham
5f9790072d
Fixed #20834 -- Described how caching of user permissions works.
...
Thanks Giggaflop and Jennifer Casavantes.
2014-01-22 13:08:51 -05:00
Tim Graham
4416aa1d3f
Added a link to the 1.6 release notes which also fixed a rendering issue.
2014-01-22 11:04:44 -05:00
Tim Graham
dfc092622e
Fixed #21529 -- Noted that {% url %} encodes its output (refs #13260 ).
2014-01-22 10:44:50 -05:00
Tim Graham
6f06c749b7
Fixed #21726 -- Clarified that password should not be included in REQUIRED_FIELDS.
...
Thanks russellm for the report.
2014-01-22 10:17:44 -05:00
Tim Graham
03395b4277
Fixed some markup that caused broken links in the static files docs.
2014-01-22 10:15:27 -05:00
Jannis Leidel
8efd20f96d
Added ManifestStaticFilesStorage to staticfiles contrib app.
...
It uses a static manifest file that is created when running
collectstatic in the JSON format.
2014-01-20 19:32:07 +01:00
Russell Keith-Magee
e8920e96d0
Added a missing command to the command line examples for check.
...
Thanks to Bruno Renie for the report.
2014-01-20 20:46:21 +08:00
Russell Keith-Magee
b0602e935c
Corrected documentation typo.
...
Thanks to @cjerdonek for the report.
2014-01-20 19:48:06 +08:00
Russell Keith-Magee
9ddc358e8d
Corrected minor typo.
...
Thanks to @cjerdonek for the report.
2014-01-20 13:13:16 +08:00
Russell Keith-Magee
d818e0c9b2
Fixed #16905 -- Added extensible checks (nee validation) framework
...
This is the result of Christopher Medrela's 2013 Summer of Code project.
Thanks also to Preston Holmes, Tim Graham, Anssi Kääriäinen, Florian
Apolloner, and Alex Gaynor for review notes along the way.
Also: Fixes #8579 , fixes #3055 , fixes #19844 .
2014-01-20 10:45:21 +08:00
Tim Graham
6e7bd0b63b
Fixed some admin sphinx definitions so links work properly.
2014-01-19 20:29:09 -05:00
Andrew Godwin
6bbb820014
Fixed #21290 : Documented migration serializing and improved error
2014-01-19 19:27:30 +00:00
Andrew Godwin
c9de1b4a55
Implement swappable model support for migrations
2014-01-19 16:43:12 +00:00
Tim Graham
5c7ac7494a
Fixed #18907 -- Correct docs regard population of model backrefs.
...
Thanks simonpercivall for the report and Aymeric for the patch.
2014-01-19 09:35:59 -05:00
Aymeric Augustin
10e0cfc0e4
Fixed #21712 -- Moved autodiscover() to AdminConfig.ready().
...
Thanks Marc Tamlyn for the initial version of the patch.
2014-01-18 23:06:00 +01:00
Anssi Kääriäinen
4dc3be2506
Fixed typos spotted by Claude Paroz
2014-01-18 22:31:35 +02:00
Anssi Kääriäinen
20bab2cf9d
Fixed #16187 -- refactored ORM lookup system
...
Allowed users to specify which lookups or transforms ("nested lookus")
are available for fields. The implementation is now class based.
Squashed commit of the following:
commit fa7a7195f1
Author: Anssi Kääriäinen <akaariai@gmail.com>
Date: Sat Jan 18 10:53:24 2014 +0200
Added lookup registration API docs
commit eb1c8ce164
Author: Anssi Kääriäinen <akaariai@gmail.com>
Date: Tue Jan 14 18:59:36 2014 +0200
Release notes and other minor docs changes
commit 11501c29c9
Author: Anssi Kääriäinen <akaariai@gmail.com>
Date: Sun Jan 12 20:53:03 2014 +0200
Forgot to add custom_lookups tests in prev commit
commit 83173b960e
Author: Anssi Kääriäinen <akaariai@gmail.com>
Date: Sun Jan 12 19:59:12 2014 +0200
Renamed Extract -> Transform
commit 3b18d9f3a1
Author: Anssi Kääriäinen <akaariai@gmail.com>
Date: Sun Jan 12 19:51:53 2014 +0200
Removed suggestion of temporary lookup registration from docs
commit 21d0c7631c
Merge: 2509006
f2dc442
Author: Anssi Kääriäinen <akaariai@gmail.com>
Date: Sun Jan 12 09:38:23 2014 -0800
Merge pull request #2 from mjtamlyn/lookups_3
Reworked custom lookups docs.
commit f2dc4429a1
Author: Marc Tamlyn <marc.tamlyn@gmail.com>
Date: Sun Jan 12 13:15:05 2014 +0000
Reworked custom lookups docs.
Mostly just formatting and rewording, but also replaced the example
using ``YearExtract`` to use an example which is unlikely to ever be
possible directly in the ORM.
commit 2509006506
Author: Anssi Kääriäinen <akaariai@gmail.com>
Date: Sun Jan 12 13:19:13 2014 +0200
Removed unused import
commit 4fba5dfaa0
Author: Anssi Kääriäinen <akaariai@gmail.com>
Date: Sat Jan 11 22:34:41 2014 +0200
Added docs to index
commit 6d53963f37
Author: Anssi Kääriäinen <akaariai@gmail.com>
Date: Sat Jan 11 22:10:24 2014 +0200
Dead code removal
commit f9cc039007
Author: Anssi Kääriäinen <akaariai@gmail.com>
Date: Sat Jan 11 19:00:43 2014 +0200
A new try for docs
commit 33aa18a6e3
Author: Anssi Kääriäinen <akaariai@gmail.com>
Date: Sat Jan 11 14:57:12 2014 +0200
Renamed get_cols to get_group_by_cols
commit c7d5f8661b
Author: Anssi Kääriäinen <akaariai@gmail.com>
Date: Sat Jan 11 14:45:53 2014 +0200
Altered query string customization for backends vendors
The new way is trying to call first method 'as_' + connection.vendor.
If that doesn't exist, then call as_sql().
Also altered how lookup registration is done. There is now
RegisterLookupMixin class that is used by Field, Extract and
sql.Aggregate. This allows one to register lookups for extracts and
aggregates in the same way lookup registration is done for fields.
commit 90e7004ec1
Merge: 66649ff
f7c2c0a
Author: Anssi Kääriäinen <akaariai@gmail.com>
Date: Sat Jan 11 13:21:01 2014 +0200
Merge branch 'master' into lookups_3
commit 66649ff891
Author: Anssi Kääriäinen <akaariai@gmail.com>
Date: Sat Jan 11 13:16:01 2014 +0200
Some rewording in docs
commit 31b8faa627
Author: Anssi Kääriäinen <akaariai@gmail.com>
Date: Sun Dec 29 15:52:29 2013 +0200
Cleanup based on review comments
commit 1016159f34
Author: Anssi Kääriäinen <akaariai@gmail.com>
Date: Sat Dec 28 18:37:04 2013 +0200
Proof-of-concept fix for #16731
Implemented only for SQLite and PostgreSQL, and only for startswith
and istartswith lookups.
commit 193cd097ca
Author: Anssi Kääriäinen <akaariai@gmail.com>
Date: Sat Dec 28 17:57:58 2013 +0200
Fixed #11722 -- iexact=F() produced invalid SQL
commit 08ed3c3b49
Author: Anssi Kääriäinen <akaariai@gmail.com>
Date: Sat Dec 21 23:59:52 2013 +0200
Made Lookup and Extract available from django.db.models
commit b99c8d83c9
Author: Anssi Kääriäinen <akaariai@gmail.com>
Date: Sat Dec 21 23:06:29 2013 +0200
Fixed review notes by Loic
commit 049eebc070
Merge: ed8fab7
b80a835
Author: Anssi Kääriäinen <akaariai@gmail.com>
Date: Sat Dec 21 22:53:10 2013 +0200
Merge branch 'master' into lookups_3
Conflicts:
django/db/models/fields/__init__.py
django/db/models/sql/compiler.py
django/db/models/sql/query.py
tests/null_queries/tests.py
commit ed8fab7fe8
Author: Anssi Kääriäinen <akaariai@gmail.com>
Date: Sat Dec 21 22:47:23 2013 +0200
Made Extracts aware of full lookup path
commit 27a57b7aed
Author: Anssi Kääriäinen <akaariai@gmail.com>
Date: Sun Dec 1 21:10:11 2013 +0200
Removed debugger import
commit 074e0f5aca
Author: Anssi Kääriäinen <akaariai@gmail.com>
Date: Sun Dec 1 21:02:16 2013 +0200
GIS lookup support added
commit 760e28e72b
Author: Anssi Kääriäinen <akaariai@gmail.com>
Date: Sun Dec 1 20:04:31 2013 +0200
Removed usage of Constraint, used Lookup instead
commit eac4776684
Author: Anssi Kääriäinen <akaariai@gmail.com>
Date: Sun Dec 1 02:22:30 2013 +0200
Minor cleanup of Lookup API
commit 2adf50428d
Author: Anssi Kääriäinen <akaariai@gmail.com>
Date: Sun Dec 1 02:14:19 2013 +0200
Added documentation, polished implementation
commit 32c04357a8
Author: Anssi Kääriäinen <akaariai@gmail.com>
Date: Sat Nov 30 23:10:15 2013 +0200
Avoid OrderedDict creation on lookup aggregate check
commit 7c8b3a32cc
Author: Anssi Kääriäinen <akaariai@gmail.com>
Date: Sat Nov 30 23:04:34 2013 +0200
Implemented nested lookups
But there is no support of using lookups outside filtering yet.
commit 4d219d4cde
Author: Anssi Kääriäinen <akaariai@gmail.com>
Date: Wed Nov 27 22:07:30 2013 +0200
Initial implementation of custom lookups
2014-01-18 11:46:19 +02:00
Tim Graham
b87c59b04b
Removed some unnecessary __exact operators in filters.
2014-01-17 18:12:45 -05:00
Tim Graham
bc7668eb51
Fixed #18942 -- Clarified usage of {% get_static_prefix %}.
...
Thanks Aymeric for the suggestion.
2014-01-17 16:06:11 -05:00
Tim Graham
4a5aac47a6
Fixed #13116 -- Described scope of variables created by {% url ... as var %} syntax.
...
Thanks leif_p for the suggestion.
2014-01-17 14:50:47 -05:00
Tim Graham
a67e327db5
Fixed #20052 -- Discouraged use of Jython given the current state of django-jython.
...
Thanks Josh Juneau (maintainer of django-jython) for the review.
2014-01-17 09:21:34 -05:00
Tim Graham
dd98ccd482
Fixed #16785 -- Documented some of the design decisions of the cache framework.
...
Thanks jamesp for the draft patch.
2014-01-16 21:13:08 -05:00
Tim Graham
9173d2cb74
Fixed #18285 -- Documented that bulk_create doesn't work with M2M relationships.
2014-01-16 20:47:02 -05:00
Claude Paroz
2a31d00933
Fixed #21740 -- Stopped using mutable default arguments in test client
...
Thanks Denver Coneybeare for the report and initial patch, and
Atala for another patch.
2014-01-16 17:44:20 +01:00
Tim Graham
a6e3fb80b0
Fixed #21343 -- Noted many-to-many restrictions with intermediate model.
...
Thanks EvilDMP for the report.
2014-01-16 08:38:40 -05:00
Tim Graham
c05b2f58e7
Fixed #21768 -- Corrected TemplateView context section.
...
Thanks nedbatchelder for the report and claudep for the patch.
2014-01-16 07:58:08 -05:00
Tim Graham
d35f2bfd5b
Fixed #21727 -- Added some links to help clarify topics/auth/default.txt
...
Thanks daGrevis for the suggestion.
2014-01-16 07:16:09 -05:00
Tim Graham
9e5033b302
Fixed #21747 -- Added {% elif %} to template topics guide.
...
Thanks gcc for the suggestion.
2014-01-16 07:07:53 -05:00
Kevin Wood
82f466b571
Fix typo in storage docs
2014-01-15 13:17:08 -08:00
Adrian Holovaty
660b7e7000
Removed BDFL stuff from docs/internals/contributing/bugs-and-features.txt
2014-01-13 10:32:09 -06:00
Adrian Holovaty
4f25d97404
Removed BDFLs section from docs/internals/committers.txt
2014-01-13 10:31:30 -06:00
Adrian Holovaty
132c26649c
Negligible change to my bio in docs/internals/committers.txt
2014-01-13 10:30:46 -06:00
Aymeric Augustin
d562527a16
Fixed #21477 -- Renamed db to using in pre/post_migrate signals.
2014-01-12 22:24:33 +01:00
Aymeric Augustin
fbe1abac4a
Fixed #21453 -- Enabled autocommit before calling init_connection_state.
...
Also ensured the transaction state is clean on Oracle while I was there.
This change cannot be backported to 1.6 because it's
backwards-incompatible for custom database backends.
2014-01-12 20:31:07 +01:00
Claude Paroz
3d4ed28dce
Fixed #21547 -- Updated GeoDjango tutorial with PostGIS 2 output
...
Thanks awilliams at cironline.org for the report.
2014-01-11 17:58:29 +01:00
Claude Paroz
0179852d7f
Fixed #8898 -- Obsoleted SplitDateTimeWidget usage with DateTimeField
...
Thanks Tim Graham for the review.
2014-01-11 15:50:34 +01:00
Alex Gaynor
f7c2c0a3be
Removed a man page for a command that was removed
2014-01-10 15:23:06 -08:00
Aymeric Augustin
3326a412cc
Deprecated importing a model before loading its application.
...
Refs #21719 , #21680 .
2014-01-10 23:43:10 +01:00
Unai Zalakain
9eb16031ca
Fixed #12571 -- Attached originating WSGIRequest to test client responses.
...
Originating WSGIRequests are now attached to the ``wsgi_request`` attribute of
the ``HttpResponse`` returned by the testing client.
Thanks rvdrijst for the suggestion.
2014-01-09 18:50:03 -05:00
Aymeric Augustin
6a320cc14a
Fixed #21718 -- Renamed has_app to is_installed.
2014-01-06 22:48:41 +01:00
Aymeric Augustin
021b0b0029
Added an app-loading feature to the release notes.
2014-01-05 21:10:15 +01:00
Aymeric Augustin
f630373b92
Fixed #21711 -- Enforced unicity of model names.
2014-01-05 20:52:53 +01:00
Claude Paroz
c717ebbfec
Fixed #21730 -- Removed superfluous db_index in custom auth docs
...
Thanks rafalp for the report.
2014-01-04 16:11:21 +01:00
Tim Graham
4d27d311f6
Fixed a sentence in the session security docs; thanks claudep.
2014-01-03 12:02:58 -05:00
Tianyi Wang
e6800ea136
Fixed #21728 -- Corrected an inadvertent path change in docs/intro/contributing.txt.
2014-01-03 11:59:15 -05:00
Anssi Kääriäinen
4e6142ee84
Merge pull request #2094 from coder9042/ticket_21478
...
Changed documentation for db_type()
2014-01-03 01:30:52 -08:00
Vajrasky Kok
ea83102d0f
Fixed #21319 -- Added documentation for the Form.fields attribute.
...
Thanks pydanny for the report. Also, added documentation about
base_fields attribute and its difference with fields attribute.
2014-01-02 19:43:26 -05:00
Aymeric Augustin
756a6accdb
Updated my bio.
2014-01-02 23:14:54 +01:00
Aymeric Augustin
449ede03b8
Changed convention for modules storing AppConfigs.
...
The app/apps dichotomy was more confusing than valuable.
2014-01-02 23:07:33 +01:00
Tim Graham
07711e9997
Fixed #21722 -- Added a warning for avoiding XSS vulnerabilities when reusing built-in filters.
...
Thanks Stephen McDonald for the suggestion.
2014-01-02 16:29:59 -05:00
Nathan Smith
44d40ba521
Fixed minor typos.
2014-01-02 15:14:11 -05:00
Frank Tobia
6dd8631617
Fixed typos. Changed grammar.
...
Minor typos. Some grammar changes.
2014-01-02 14:22:52 -05:00
Marc Tamlyn
7a30eab06e
Fix typo in 0ce945a671
.
...
Thanks to Loic for the report.
2014-01-02 09:06:52 +00:00
Aymeric Augustin
1386075f62
Updated release notes on app_label.
...
Django determines automatically which application models belong to,
provided the application can be imported without importing models.
2014-01-01 19:45:43 +01:00
Aymeric Augustin
0ce945a671
Fixed #21018 -- Reversed precedence order for management commands.
2014-01-01 18:11:15 +01:00
Aymeric Augustin
8a2f304a79
Documented unicity rules in INSTALLED_APPS.
...
Refs #12288 , #21679 .
2014-01-01 16:51:58 +01:00
Matt Robenolt
a502bbb2f0
Django sees more than 1mm hits per hour
...
Disqus regularly does 40-50k/s
2013-12-31 16:23:20 -08:00
Loic Bistuer
4befb3015c
Fixed #21581 -- Fixed a number of issues with collectstatic.
...
When STATIC_ROOT wasn't set, collectstatic --clear would delete
every files within the current directory and its descendants.
This patch makes the following changes:
Prevent collectstatic from running if STATIC_ROOT isn't set.
Fixed an issue that prevented collectstatic from displaying the
destination directory.
Changed the warning header to notify when the command is run
in dry-run mode.
2013-12-31 14:58:49 -05:00
Tim Graham
4d8d76e7a8
Fixed #21484 -- Documented that SQL logging does not include "framework level" queries.
2013-12-31 13:02:01 -05:00
Claude Paroz
b8e3373f45
Fixed #21714 -- Moved logging configuration to global setup()
...
Thanks Aymeric Augustin for the report and the review.
2013-12-31 18:35:00 +01:00
Aymeric Augustin
1d23d766ab
Renamed AppConfig.setup to ready.
...
Thanks Jannis and Marc for the feedback.
Fixed #21717 .
2013-12-31 18:04:54 +01:00
Aymeric Augustin
63137a8304
Enforced unicity of app labels.
...
Fixed #21679 .
2013-12-31 18:04:54 +01:00
Aymeric Augustin
c40209dcc0
Made it possible to change an application's label in its configuration.
...
Fixed #21683 .
2013-12-31 17:30:58 +01:00
Tim Graham
69f0249d7b
Fixed #19395 -- Added a simple example logging config.
...
Thanks ken.nelson at maclaren.com.
2013-12-31 10:20:44 -05:00
Aymeric Augustin
f46603f830
Fleshed out release notes for app loading.
...
Fixed #21715 .
2013-12-31 15:27:25 +01:00
Tim Graham
9953e98e6a
Fixed #21701 -- Improved testing doc titles and added testing/tools.txt.
...
Thanks cjerdonek for the suggestion.
2013-12-31 08:14:09 -05:00
Aymeric Augustin
a5e2a0e569
Added release notes for today's app-loading improvements.
2013-12-31 00:10:49 +01:00
Aymeric Augustin
bfcc686d22
Removed the only_with_models_module argument of get_model[s].
...
Now that the refactorings are complete, it isn't particularly useful any
more, nor very well named. Let's keep the API as simple as possible.
Fixed #21689 .
2013-12-30 23:59:34 +01:00
Tim Graham
ec020cab7e
Fixed a broken link in docs/intro/tutorial01.txt.
2013-12-30 17:59:18 -05:00
Tim Graham
270f7e2167
Fixed #21708 -- Added some headings to separate unrelated topics.
...
Thanks ashley at ashleymills.com for the suggestion.
2013-12-30 17:55:12 -05:00
Tim Graham
0150830687
Fixed #21710 -- Documented User.get_short_name()
...
Thanks Keryn Knight for the report.
2013-12-30 17:42:11 -05:00
Aymeric Augustin
80d74097b4
Stopped populating the app registry as a side effect.
...
Since it triggers imports, it shouldn't be done lightly.
This commit adds a public API for doing it explicitly, django.setup(),
and does it automatically when using manage.py and wsgi.py.
2013-12-30 22:11:17 +01:00
Aymeric Augustin
c31d7c4813
Updated advice on connecting signals at startup.
2013-12-30 22:11:17 +01:00
Aymeric Augustin
e187caa3af
Added AppConfig.setup() to run setup code.
2013-12-30 22:11:16 +01:00
Aymeric Augustin
e5c89c62f2
Pointed intersphinx links to Python's default version.
...
Currently it's 3.3.
2013-12-30 19:09:45 +01:00
Aymeric Augustin
99649ddcb2
Assumed Python 3 throughout docs/intro.
...
Various small fixes while I was proof-reading.
2013-12-30 19:09:45 +01:00
Aymeric Augustin
34a215d506
Deprecated the app argument of apps.get_models.
...
Use app_config.get_models() instead.
2013-12-29 21:48:58 +01:00
Aymeric Augustin
7b88a96553
Added AppConfig.get_models().
2013-12-29 20:31:59 +01:00
Aymeric Augustin
00110904ac
Refactored the migration signals to use app configs.
...
De-aliased pre/post_syncdb to pre/post_migrate to increase
backwards-compatibility.
2013-12-29 17:53:42 +01:00
Claude Paroz
6d66ba5948
Fixed #21242 -- Allowed more IANA schemes in URLValidator
...
Thanks Sascha Peilicke for the report and initial patch, and
Tim Graham for the review.
2013-12-28 21:25:32 +01:00
Aymeric Augustin
9f13c33281
Removed the only_installed argument of Apps.get_models.
...
Refs #15903 , #15866 , #15850 .
2013-12-28 20:54:26 +01:00
Aymeric Augustin
ba7206cd81
Changed get_model to raise an exception on errors.
...
Returning None on errors required unpythonic error checking and was
inconsistent with get_app_config.
get_model was a private API until the previous commit, but given that it
was certainly used in third party software, the change is explained in
the release notes.
Applied the same change to get_registered_model, which is a new private
API introduced during the recent refactoring.
2013-12-28 20:53:00 +01:00
Aymeric Augustin
54790e669d
Simplified Apps.get_model and added AppConfig.get_model.
...
Documented them as public APIs.
2013-12-28 20:43:29 +01:00
Tim Graham
81a5e35c8d
Fixed doc indentation in previous commit.
2013-12-28 11:33:24 -05:00
ijl
71a03e01aa
Fixed #20346 -- Made cache middleware vary on the full URL.
...
Previously, only the URL path was included in the cache key.
Thanks jamey for the suggestion.
2013-12-28 11:20:18 -05:00
Claude Paroz
b7a7baa554
Fixed #21618 -- Added hints about openlayers.js hosting
...
Thanks kz26 for the report and Tim Graham for the excellent
review.
2013-12-28 11:08:50 +01:00
Aymeric Augustin
c81fae6b95
Used app_label instead of appname.
...
The last component of the dotted path to the application module is
consistently referenced as the application "label". For instance it's
AppConfig.label. appname could be confused with AppConfig.name, which is
the full dotted path.
2013-12-28 09:53:02 +01:00
Aymeric Augustin
bb8ec71f61
Updated the AppCommand API to support apps without a models module.
2013-12-28 09:42:59 +01:00
Tim Graham
85270ef3f5
Fixed #21650 -- Corrected bad advice for plural translation.
...
Thanks nedbatchelder and claudep.
2013-12-27 10:02:22 -05:00
Tim Graham
025ec2e7fe
Fixed #21582 -- Corrected URL namespace example.
...
Thanks oubiga for the report.
2013-12-26 20:04:28 -05:00
Tim Graham
d8d83777eb
Fixed #21629 -- Added instructions for loading MySQL time zone definitions.
...
Thanks Aymeric for the suggestion.
2013-12-26 15:50:33 -05:00
Aymeric Augustin
ce1bc2c94b
Made the AppConfig API marginally more consistent.
...
Eliminated the app_ prefix that was more confusing than useful.
2013-12-26 19:25:09 +01:00
Jon Lønne
398642fd9b
Fixed #21627 -- Added unicode_literals to changepassword command.
...
Fixed a crash when executing changepassword command when the user object
representation contained non-ASCII characters.
2013-12-26 07:35:50 -05:00
Claude Paroz
318cdc07de
Added 1.6.2 release note for 542198c1d
2013-12-26 11:10:50 +01:00
Aymeric Augustin
7df049c417
Swapped app registry and app config API docs.
...
Thanks David Larlet for the suggestion.
Also fixed some Sphinx warnings and improved ReST markup.
2013-12-25 21:57:52 +01:00
Yaroslav Halchenko
80027d2c38
Unified listing of shell commands/code
...
- use code-block:: bash
- prefix the command with $
2013-12-25 15:19:14 -05:00
Tim Graham
b798d2bf97
Added versionadded annotations for redirect middleware attributes.
...
refs #19321
2013-12-25 09:56:41 -05:00
Tim Graham
e82e7ae1e8
Fixed #21663 -- Added missing WSGIPythonPath in mod_wsgi config.
...
Thanks carrie.hazelton at altamiracorp.com for the report.
2013-12-25 06:06:25 -05:00
Tim Graham
5d82658657
Fixed #21669 -- Typo in docs/ref/forms/fields.txt.
...
Thanks alex_koval for the report.
2013-12-25 06:02:43 -05:00
Aymeric Augustin
8c78cba47f
Copy-edited previous commit.
...
Thanks Tim for the review.
2013-12-24 23:48:22 +01:00
Aymeric Augustin
285e765891
Added release notes for app loading changes.
2013-12-24 20:16:56 +01:00
Aymeric Augustin
9b8192ce51
Updated a few doc paragraphs following the app-loading refactor.
2013-12-24 17:20:11 +01:00
Aymeric Augustin
f326720a73
Documented the Apps and AppConfig APIs.
2013-12-24 17:20:11 +01:00
Claude Paroz
9267fb88ef
Added more spatial predicates for prepared geometries
...
GEOS 3.3 added crosses, disjoint, overlaps, touches and within
predicates on prepared geometries.
2013-12-24 16:53:09 +01:00
Claude Paroz
d17404aa90
Dropped support for GEOS < 3.1
2013-12-24 15:57:13 +01:00
Aymeric Augustin
1716b7ce5a
Renamed AppCache to Apps.
...
Also renamed app_cache to apps and "app cache" to "app registry".
Deprecated AppCache.app_cache_ready() in favor of Apps.ready().
2013-12-24 12:25:17 +01:00
Aymeric Augustin
5241763c81
Added modify_settings to alter settings containing lists of values.
2013-12-23 21:37:43 +01:00
Anubhav Joshi
1a9f13df59
Fixed #21478 -- Corrected docs for when Field.db_type() is called.
2013-12-19 19:29:07 +05:30
Tim Graham
23d9f517dc
Fixed #21585 -- Updated some links to 3rd party database projects.
...
Thanks graeme.perrow at sap.com for the original report.
2013-12-18 18:48:21 -05:00