Commit Graph

7470 Commits

Author SHA1 Message Date
Tim Graham e0685368c6 Fixed links to mysqlclient in database notes. 2014-11-04 07:35:42 -05:00
Tim Graham f0ff452451 Added a warning about nonexistent FK constraints when unmigrated apps depend on migrated ones.
Thanks NotSqrt for the report; refs #23741.
2014-11-04 07:25:35 -05:00
Marc Tamlyn 36f514f065 Added HStoreField.
Thanks to `django-hstore` for inspiration in some areas, and many people
for reviews.
2014-11-04 09:26:40 +00:00
Berker Peksag 5c517ec218 Fixed versionchanged indentation in docs/. 2014-11-03 21:40:26 -05:00
Zan Anderle 7b42036752 Fixed #5405 -- Added admindocs support for reStructured text in model docstrings
Thanks elvard and gkmngrgn for work on the patch and Markus H. for review.
2014-11-03 15:30:46 -05:00
Tim Graham ca88aa34ad Fixed spelling mistake in docs/ref/request-response.txt 2014-11-03 14:18:46 -05:00
Thomas Chaumeny d89f56dc4d Fixed #21281 -- Made override_settings act at class level when used as a TestCase decorator. 2014-11-03 14:14:39 -05:00
Michael Kelly ebc8e79cf3 Fixed #18523 -- Added stream-like API to HttpResponse.
Added getvalue() to HttpResponse to return the content of the response,
along with a few other methods to partially match io.IOBase.

Thanks Claude Paroz for the suggestion and Nick Sanford for review.
2014-11-03 12:29:19 -05:00
Andy Chosak c0c78f1b70 Clarified custom lookups output_field documentation 2014-11-03 15:52:27 +02:00
Andy Chosak ceb1ffcc8d Fixed #23420 - broken warning for unbound naive datetime objects
Fixed issue with warning message displayed for unbound naive datetime
objects when USE_TZ is True. Adds unit test that demonstrates the issue
(discoverable when using a custom lookup in MySQL).
2014-11-03 15:51:48 +02:00
Unai Zalakain c548c8d0d1 Fixed #18456 -- Added path escaping to HttpRequest.get_full_path(). 2014-11-03 07:59:19 -05:00
Thomas Chaumeny d3db878e4b Moved CSRF docs out of contrib. 2014-11-03 07:47:39 -05:00
James Brewer 332706eaa0 Fixed #23376 -- Made documentation about required Storage methods
consistent.

The following methods **should** be implemented, but are not required:

 * Storage.delete()
 * Storage.exists()
 * Storage.listdir()
 * Storage.size()
 * Storage.url()

Updated documentation to reflect this fact and give a couple of examples
where some methods may not be implemented. Add a warning that not
implementing some methods will result in a partial (possibly broken)
interface.

Ticket: https://code.djangoproject.com/ticket/23376
2014-11-03 03:32:41 -08:00
Tim Graham 6d0547c1ad Fixed #23744 -- Fixed typo in selenium testing example.
Thanks djbug for the report.
2014-11-01 12:36:28 -04:00
Tim Graham d6d55368d4 Fixed #23731 -- Fixed migrations crash when adding blank GeometryFields on PostGIS.
Thanks raratiru for the report and Claude Paroz for review.
2014-10-31 18:37:52 -04:00
Konrad Świat 934a16dc93 Fixed #23468 -- Added checks for duplicate fixtures directories in loaddata.
If settings.FIXTURE_DIRS contains duplicates or a default fixture
directory (app_name/fixtures), ImproperlyConfigured is raised.

Thanks to Berker Peksag and Tim Graham for review.
2014-10-31 18:21:54 -04:00
Tim Graham e958c760f9 Fixed #23732 -- Corrected and enhanced select_related() docs.
Thanks Daniele Procida for the report and review.
2014-10-31 15:40:07 -04:00
Tim Graham 3f651b3e88 Added a warning about direct settings manipulation in tests.
Thanks Thomas Chaumeny for the initial patch.
2014-10-31 13:34:41 -04:00
Markus Holtermann 715ccfde24 Fixed #23738 -- Allowed migrating from NULL to NOT NULL with the same default value
Thanks to Andrey Antukh for the report.
2014-10-31 13:30:30 -04:00
Markus Holtermann ed2f96819c Fixed #23715 -- Prevented urlize from treating a trailing ! as part of an URL
Thanks to 57even for the report.
2014-10-31 08:06:40 -04:00
Simon Charette f2ddc439b1 Fixed #23656 -- Made FormMixin.get_form's form_class argument optional.
Thanks Tim Graham for the review.
2014-10-30 19:10:52 -04:00
Tim Graham 19242c675f Fixed #23735 -- Clarified that admindocs must be enabled to view template tag libraries in admin.
Thanks Aymeric Augustin for the report.
2014-10-30 19:04:10 -04:00
Tim Graham e7cb4f2fba Fixed #23736 -- Corrected the description of the value that silent_variable_failure uses.
Thanks Aymeric Augustin for the report.
2014-10-30 18:42:54 -04:00
Tim Graham f85fcc75e3 Fixed #23737 -- Recommended the render() shortcut more strongly.
Thanks Aymeric Augustin for the report.
2014-10-30 18:34:10 -04:00
Tim Graham 08c5887f13 Fixed #23734 -- Replaced striptags in template filter overview since it has security implications.
Thanks Aymeric Augustin for the suggestion.
2014-10-30 18:26:13 -04:00
Zan Anderle 9e3aaa5a46 Explained why admindocs omits model methods with arguments. 2014-10-30 18:18:39 -04:00
Aymeric Augustin 8f79c154ca Removed extra period. 2014-10-30 20:49:30 +01:00
Berker Peksag affc04060f Converted seealso directives to use 4 space indendation. 2014-10-30 14:45:16 -04:00
Tim Graham 57e40551e4 Fixed #23152 -- Added support for transactional Spatialite metadata initialization.
Thanks Doug Goldstein for the initial patch.
2014-10-30 13:52:42 -04:00
Jon Dufresne eb4f6de980 Fixed #8149 -- Made File.__iter__() support universal newlines.
The following are recognized as ending a line: the Unix end-of-line
convention '\n', the Windows convention '\r\n', and the old
Macintosh convention '\r'.

http://www.python.org/dev/peps/pep-0278

Thanks tchaumeny for review.
2014-10-30 11:52:59 -04:00
slollo eab3dc195e Updated FIRST_DAY_OF_WEEK for Ukrainian to Monday. 2014-10-30 09:19:32 -04:00
David Hoffman 03467368db Fixed #23558 -- documented slugify limitations 2014-10-30 09:02:04 -04:00
Tim Graham c0eea4645b Added missing imports to example from previous commit. 2014-10-30 08:53:20 -04:00
Berker Peksag 4a9b4a23bd Fixed #23575 -- Added a code example for custom AdminSite. 2014-10-30 08:46:14 -04:00
Raul Cumplido 68d3db8a7b Fixed #23725 -- Substituted AUTH_USER_MODEL for User in docs. 2014-10-30 08:29:18 -04:00
Berker Peksag cbd936d0f8 Fixed #18731 -- Added an example about customizing "makemessages" command.
Thanks claudp for the suggestion and review.
2014-10-30 08:22:13 -04:00
P.A. SCHEMBRI 388c6038fd Added cross reference in admin docs to topic about saving objects in formsets. 2014-10-29 13:37:52 -04:00
Markus Holtermann 5c9c1e029d Fixed #23614 -- Changed the way the migration autodetector orders unique/index_together
Thanks to Naddiseo for the report and Tim Graham for the review
2014-10-29 13:05:42 -04:00
Tim Graham f3740caa7e Forwardported 1.7.2 release note from a0cfd77971. 2014-10-29 08:37:54 -04:00
Tim Graham 03bd79ed21 Fixed #23719 -- Fixed MySQL 5.6 crash with GeometryFields in migrations. 2014-10-29 08:21:24 -04:00
Tim Graham 349471eeb9 Fixed spelling errors in docs. 2014-10-28 10:15:52 -04:00
Rigel Di Scala 28634394f5 Fixed #23606 -- Implemented Client and RequestFactory trace() methods.
Thanks KevinEtienne for the suggestion.
2014-10-28 10:11:12 -04:00
Claude Paroz 713f23492a Required MySQLdb >= 1.2.5 for fractional seconds support
On MySQLdb < 1.2.5, MySQLdb returns None when fetching datetime/time
values with fractional seconds.
See https://github.com/farcepest/MySQLdb1/issues/24
2014-10-28 15:06:58 +01:00
Claude Paroz 22da5f8817 Fixed #19716 -- Added support for microseconds with MySQL 5.6.4 and up
Thanks erik@cederstrand.dk for the report and Tim Graham for the review.
2014-10-28 15:06:58 +01:00
Claude Paroz 9e746c13e8 Stopped stripping microseconds with MySQL backend
Refs #19716.
2014-10-28 15:06:57 +01:00
Thomas Chaumeny 00aa562884 Fixed #23493 -- Added bilateral attribute to Transform 2014-10-28 10:02:10 +02:00
Oliver Meinusch 6b39401baf Fixed QuerySet datetimes argument name in docs. 2014-10-27 19:48:29 -04:00
Tim Graham e460b1c573 Fixed #23708 -- Corrected mod_wsgi docs reference to nonexistent comment in wsgi.py.
Thanks inglesp for the report.
2014-10-27 18:17:50 -04:00
bahoo af7d66b4f2 Fixed typo in squashing migrations documentation 2014-10-27 14:16:39 -07:00
Claude Paroz 528c9af543 Fixed #23717 -- Fixed makemessages crash when STATIC_ROOT=None 2014-10-27 13:56:25 +01:00
Tim Graham 01b4a13db4 Forwardported release note for refs #23621. 2014-10-27 07:01:12 -04:00
Tony Zhu dd1ea70779 Fixed #23699 -- Prevented flush from loading initial data for apps with migrations. 2014-10-27 06:56:44 -04:00
Ilya Baryshev ed7c4df1ee Fixed documentation of make_password kwargs. 2014-10-27 06:36:55 -04:00
Claude Paroz 7f089ac2e3 Fixed #23446 -- Officially recommended mysqlclient as MySQL driver
Thanks Corey Farwell for the report and Tim Graham for the review.
Thanks also to Inada Naoki for creating and maintaining mysqlclient.
2014-10-27 09:11:33 +01:00
Berker Peksag 695956376f Removed simplejson inventory file from docs/conf.py. 2014-10-25 07:31:12 +03:00
Tim Graham dc241fdfdf Replaced dead links to python-distribute.org. 2014-10-24 18:58:31 -04:00
Berker Peksag 1387c80643 Fixed versionchanged indentation in topics/testing/advanced.txt. 2014-10-24 15:41:18 -04:00
Claude Paroz e50e0ee27b Fixed #23618 -- Allowed apps with no models to still have migrations
Basically a4737bf6ae reapplied.
2014-10-24 15:10:39 +02:00
James Doherty adf8fb34ce Fixed typo in docs/ref/request-response.txt 2014-10-24 07:48:39 -04:00
Tim Graham 92269b7b53 Fixed #23702 -- Fixed adding an explicit id field on SQLite.
Thanks gavinwahl for the report.
2014-10-23 12:24:34 -04:00
a1tus 2d75515a4c Fixed #23444 -- Deprecated django.contrib.admin.helpers.InlineAdminForm.original_content_type_id 2014-10-23 09:49:24 -04:00
Tim Graham 4b0a45ce64 Fixed #23705 -- Removed unnecessary AliasMatch from example Apache config.
Thanks Keryn Knight for the report.
2014-10-23 08:15:54 -04:00
Tim Graham 41b337efa0 Fixed #23630 -- Made AlterModelTable rename auto-created M2M tables.
Thanks Naddiseo for the report, Andrew Godwin for guidance,
and Shai Berger for review.
2014-10-23 08:05:39 -04:00
Berker Peksag 22c85bf1a8 Fixed versionchanged indentation in unit-tests.txt. 2014-10-23 08:03:41 -04:00
Tim Graham 4bf86d25e5 Added stub release notes for 1.7.2. 2014-10-22 13:38:57 -04:00
Tim Graham 9dc782b631 Added release dates to release notes. 2014-10-22 12:23:21 -04:00
Berker Peksag e55fc60f81 Removed unused import from the JSON serialization example.
This is a leftover from 5612f54bd5.
2014-10-21 23:49:40 -04:00
Claude Paroz 8b4cc9df9c Fixed #23583 -- More selectively ignored static/media roots
Fixed a regression introduced by 28efafa24c.
Thanks Michal Čihař for the report and initial patch, and
Collin Anderson and Tim Graham for the reviews.
2014-10-21 20:18:21 +02:00
Ralph Broenink 3a34e45fdb Fixed firstof docs error introduced in 1ea44a; refs #17906. 2014-10-21 09:08:27 -04:00
Claude Paroz f0bb3c98cc Fixed #21740 -- Allowed test client data to be an empty string
This fixes a regression introduced by 2a31d00933.
Thanks tony-zhu for the report.
2014-10-21 09:16:57 +02:00
Carl Meyer 2118aa8aea Clarify that HTTP Accept-Language header is case-insensitive. 2014-10-20 12:01:28 -06:00
Tianyi Wang 5732424bee Fixed #23629 -- Allowed autodetector to detect changes in Meta.db_table.
Thanks Naddiseo for reporting.
2014-10-20 13:14:44 -04:00
Jon Dufresne 59026bfbf9 Fixed #23668 -- Changed make_aware() and make_naive() to use the current timezone by default
Thanks Aymeric Augustin for review.
2014-10-20 12:42:10 -04:00
Tim Graham 740934b507 Fixed #23692 -- Removed alpha/beta/rc release notes. 2014-10-20 12:28:48 -04:00
Claude Paroz 685edab9da Fixed #23685 -- Made call_command skip checks by default
Thanks Loic Bistuer for the report/review and Tim Graham for the
review.
2014-10-20 17:26:00 +02:00
Tim Graham a39df37049 Fixed #20609 -- Added instructions for using AnonymousUser with RequestFactory. 2014-10-20 10:51:25 -04:00
wrwrwr 62a53bdf11 Fixed a typo in urlencode documentation. 2014-10-19 11:01:14 +02:00
Jon Dufresne c1b9f99a81 Fixed #23676 -- Rearranged sentence; "by default" applies only to max length 2014-10-18 06:55:11 -04:00
Tim Graham 7ae03204ac Fixed #23469 -- Removed test runner compatibility check which often yielded false positives. 2014-10-17 10:31:49 -04:00
Tim Graham 6ce6c77e03 Added 1.7.1 release notes for refs #23649. 2014-10-17 08:56:39 -04:00
Tim Graham babbf18999 Fixed some intersphinx references. 2014-10-16 20:00:17 -04:00
Tim Graham bedd439297 Fixed #23667 -- Incorrect settings reference for language cookie.
Thanks jamesbeith for the report.
2014-10-16 19:41:15 -04:00
Rigel Di Scala a5c77417a6 Fixed #23615 -- Validate that a Model instance's "check" attribute is a method.
The "check" name is a reserved word used by Django's check framework,
and cannot be redefined as something else other than a method, or the check
framework will raise an error.

This change amends the django.core.checks.model_check.check_all_models()
function, so that it verifies that a model instance's attribute "check"
is actually a method. This new check is assigned the id "models.E020".
2014-10-16 23:49:21 +07:00
mcgeeco 80b8d3bee0 Fixed #12008 -- Clarified relationship between template blocks and includes.
Thanks Daniele Procida for suggested wording.
2014-10-16 10:53:17 -04:00
Berker Peksag 303a848631 Fixed IRC channel name in submitting-patches.txt.
The development channel is #django-dev.
2014-10-16 16:56:37 +03:00
Claude Paroz 2e5b2c612e Fixed #23579 -- Changed GEOSGeometry.__str__ to include the SRID
Thanks Tim Graham for the review.
2014-10-16 09:30:37 +02:00
Ian Lee 947af46db3 Fixed pep8 in docs/topics/logging.txt 2014-10-15 18:54:15 -04:00
Anubhav Joshi 10b17a22be Fixed #19508 -- Implemented uri_to_iri as per RFC.
Thanks Loic Bistuer for helping in shaping the patch and Claude Paroz
for the review.
2014-10-16 02:31:17 +07:00
Collin Anderson 1b2debe896 Fixed #23637 -- Removed TUX, lighttpd, and Cherokee as common. 2014-10-15 08:28:27 -04:00
Greg Chapple 9743aa5436 Clarified documentation relating to usage of serialized_rollback for certain classes 2014-10-14 17:13:37 +01:00
Nadja Deininger 905a9a263b Fixed #23534 -- Added documentation on blocktrans tags
Mentioned that other block tags are not allowed inside
a blocktrans template tag.

Thanks to edu2004eu for reporting the issue.
2014-10-13 16:52:09 +01:00
Claude Paroz 59d487e7fc Fixed #23638 -- Prevented crash while parsing invalid cookie content
Thanks Philip Gatt for the report and Tim Graham for the review.
2014-10-13 17:37:58 +02:00
Tom Dyson 8701b59007 Cleaned up the Memcached cache backend doc
Consistent casing, minor typo fixes, reduced rhetoric.
2014-10-13 12:19:05 +01:00
Florian Apolloner 8d789449c7 Fixed #23063 -- Convert \n and \r to \r\n when using the SMTP backend as per RFC. 2014-10-12 22:01:24 +02:00
Thomas Chaumeny 6448dd8335 Fixed #23642 -- Made LocMemCache.incr() thread-safe as documented 2014-10-12 23:47:48 +07:00
Dori c48a29a02a Fixed #23639 -- Fixed doc error in RegexValidator.regex
Thanks to @claudep for the report and the original patch.
2014-10-12 12:59:26 +01:00
Curtis c6ea678c2e Added my bio to team docs. 2014-10-11 07:44:50 -04:00
Tim Graham 9db3653670 Fixed #23631 -- Removed outdated note on MySQL timezone support.
Thanks marfire for the report.
2014-10-10 15:18:54 -04:00
Konrad Świat 06b11b617e Fixed #23616 - Fixed generic relations in ModelAdmin.list_filter.
Thanks ranjur for reporting bug, timgraham for review,
and collinanderson for contributing tips.
2014-10-10 12:10:32 -04:00
Jaap Roes 115c307184 Fixed #23613 -- Deprecated django.utils.checksums 2014-10-10 09:22:20 -04:00
Jaap Roes 1b5918f160 Fixed #23625 -- Removed CacheClass shim 2014-10-10 08:43:26 -04:00
Claude Paroz 2bd1bbc424 Converted GIS lookups to use the new Lookup API
Thanks Tim Graham, Anssi Kääriäinen and Marc Tamlyn for the
reviews.
2014-10-09 21:38:50 +02:00
Marc Tamlyn 92a17eaae0 Fixed #23627 -- Allowed register_lookup to work as a decorator. 2014-10-09 18:44:58 +01:00
Loic Bistuer bf1bb07bf0 Updated release notes following backport of a407b84. Refs #23365. 2014-10-09 22:48:27 +07:00
Markus Holtermann f633ba778d Fixed #23609 -- Fixed IntegrityError that prevented altering a NULL column into a NOT NULL one due to existing rows
Thanks to Simon Charette, Loic Bistuer and Tim Graham for the review.
2014-10-09 21:32:06 +07:00
Collin Anderson 15d350fbce Updated my bio.
This better reflects why I was invited to the team.
2014-10-09 08:45:19 -04:00
Tim Graham 9e2e4cb6dd Added 1.7.1 release notes for refs #23333. 2014-10-08 14:06:18 -04:00
Tim Graham e949f4435f Fixed #23587 -- Clarified admin template overriding in tutorial 2.
Thanks Petrus van Bork for the report.
2014-10-08 08:19:11 -04:00
Loic Bistuer ed37f7e979 Fixed #23611 -- update_or_create failing from a related manager
Added update_or_create to RelatedManager, ManyRelatedManager and
GenericRelatedObjectManager.
Added missing get_or_create to GenericRelatedObjectManager.
2014-10-08 03:27:31 +07:00
Jon Dufresne c1ef234e31 Fixed #23522 -- Changed reverse() to return a Unicode string; not bytes 2014-10-07 13:06:39 -04:00
Tom Christie e9b85fd626 Added my bio to the core team. 2014-10-07 08:22:57 -04:00
Tim Graham 87eedfff44 Fixed #23607 -- Typo in docs/ref/contrib/staticfiles.txt.
Thanks Rolandde for the report.
2014-10-06 17:44:58 -04:00
Tim Graham 9dff5ce7c7 Fixed #23593 -- Fixed crash in AdminEmailHandler with non-ASCII characters in request.
Thanks edevil for the report and Simon Charette for review.
2014-10-06 17:35:53 -04:00
Carl Meyer 6f6e7d01dc Merge pull request #3308 from aericson/ticket_22064
Fixed #22064 -- Add check for related_name
2014-10-06 14:06:33 -06:00
Tim Graham 51165401be Moved release note for refs #23601 to 1.7.1. 2014-10-06 13:35:52 -04:00
Carl Meyer 844ba211ce Merge pull request #3307 from Markush2010/ticket23602
Fixed #23602 -- Add comment on get_absolute_url regarding user input
2014-10-06 11:28:11 -06:00
Markus Holtermann 04bd84786d Fixed #23602 -- Add comment on get_absolute_url regarding user input 2014-10-06 19:11:06 +02:00
Loic Bistuer ec2fd02bb3 Fixed #23594 -- Fixed deepcopy on ErrorList.
Thanks Troy Grosfield for the report and Tim Graham for the tests.
2014-10-07 00:09:55 +07:00
Collin Anderson 1edaa55201 Added my bio to the core team. 2014-10-06 12:28:55 -04:00
Kostochko Dmitriy 13409b932a Updated links in admin docs to use :ref:
per Sphinx docs: "Using ref is advised over standard reStructuredText
links to sections because it works across files, when section headings
are changed, and for all builders that support cross-references.
2014-10-06 10:46:16 -04:00
Markus Holtermann 2f16ff5a6c Fixed #23601 -- Ensured view exists in URLconf before importing it in admindocs. 2014-10-06 09:31:39 -04:00
Emmanuelle Delescolle a24cf21722 Fixed #23604 -- Allowed related m2m fields to be references in the admin.
Thanks Simon Charette for review.
2014-10-06 08:35:16 -04:00
Ismail Badawi e501d4c505 Fixed #23597 -- Clarified the manager that {Single,Multiple}ObjectMixin.model uses. 2014-10-06 08:23:42 -04:00
Thomas Chaumeny 6baa46cb8b Updated assertQuerysetEqual documentation following 311b3ad9db 2014-10-05 23:13:04 +02:00
André Ericson 1e5e2a4707 Fixed #22064 -- Add check for related_name
Validates that related_name is a valid Python id or ends with a '+' and
it's not a keyword. Without a check it passed silently leading to
unpredictable problems.

Thanks Konrad Świat for the initial work.
2014-10-04 20:47:26 -03:00
Marc Tamlyn acdbecda05 Fix formatting error in UUIDField docs. 2014-10-04 12:22:11 +01:00
Erik Romijn 2bb00b0b0b Made minor typographic correction to SECRET_KEY docs.
4ad57bbe31 included a few odd
quotation marks.
2014-10-04 10:32:30 +02:00
Erik Romijn 4ad57bbe31 Fixed #22310 -- Documented exact usage of SECRET_KEY
Thanks to Tim Graham for the review.
2014-10-04 09:20:35 +02:00
Jon Dufresne 8c581ff394 Fixed #23482 -- Added SingleObjectMixin.query_pk_and_slug
Enabling the attribute causes get_object() to perform its lookup
using both the primary key and the slug.
2014-10-02 15:42:30 -04:00
Markus Holtermann 85f6d89313 Fixed #23426 -- Allowed parameters in migrations.RunSQL
Thanks tchaumeny and Loic for reviews.
2014-10-02 11:52:40 -04:00
ticalcster d49993fa8f Fixed typo in docs/ref/contrib/sites.txt 2014-10-02 09:08:07 -04:00
Luke Plant 01a7e0b9c5 Updated docs/spelling_wordlist 2014-10-02 11:52:05 +01:00
Luke Plant ca139bbfdf Documented how to rename get_query_set if you are a library author 2014-10-02 11:19:18 +01:00
Tim Graham 32c7d3c061 Fixed #15089 -- Allowed contrib.sites to lookup the current site based on request.get_host().
Thanks Claude Paroz, Riccardo Magliocchetti, and Damian Moore
for contributions to the patch.
2014-10-01 16:23:20 -04:00
jnothman 20f868bc5a Added flat=False to signature of QuerySet.values_list() 2014-10-01 13:06:30 -04:00
Rudy Mutter a407b846b4 Fixed #23365 -- Added support for timezone-aware datetimes to migrations. 2014-09-29 20:45:43 -04:00
Duane Hilton 054bdfeff1 Fixed #17638 -- Added crosslinks between topic and reference guides.
Thanks oinopion for the suggestion and jarus for the initial patch.
2014-09-29 18:06:31 -04:00
Tim Graham 90761d00e3 Fixed spelling mistakes and added words to wordlist. 2014-09-29 17:43:16 -04:00
Greg Brown 9e8658db51 Fixed typo in docs/topics/db/managers.txt 2014-09-29 07:45:28 -04:00
Thomas Chaumeny b2aad7b836 Replaced set([foo, ...]) by {foo, ...} literals. Refs PR 3282.
Thanks Collin Anderson for the review.
2014-09-29 00:01:38 +07:00
Loic Bistuer b23d47412c Fixed #23560 -- Fixed MigrationWrite to handle builtin types without imports.
Thanks Tim Graham for the review.
2014-09-27 00:36:28 +07:00
Carl Meyer f5c932ddec How many is two? 2014-09-26 11:23:46 -06:00
Carl Meyer d16bc7f0e4 Fixed #23561 -- Corrected a security doc example that requires an unquoted HTML attribute.
Thanks "djbug" for the report.
2014-09-26 11:07:55 -06:00
Matt Robenolt ef5f9b6ae8 Fixed #23460 -- Added literal `%s` support to extra() QuerySets. 2014-09-26 13:01:27 -04:00
Thomas Chaumeny 17557d068c Fixed #8408 -- Added ModelAdmin.show_full_result_count to avoid COUNT() query.
Thanks lidaobing for the suggestion.
2014-09-26 12:12:40 -04:00
Tim Graham a8f07530a7 Fixed #23537 -- Added Oracle GIS SchemaEditor.
Thanks Shai Berger for review.
2014-09-25 20:16:54 -04:00
Markus Holtermann 45bd7b3bd9 Fixed #23455 -- Forced related_name to be a unicode string during deconstruction. 2014-09-25 17:49:44 -04:00
Tim Graham 74e7f91e6d Fixed #23538 -- Added SchemaEditor for MySQL GIS.
Thanks Claude Paroz for suggestions and review.
2014-09-25 13:53:44 -04:00
Markus Holtermann 215aa4f53b Fixed #23415 -- Added fields for unmanaged and proxy model migrations.
Thanks sky-chen for the report.
2014-09-25 10:25:03 -04:00
Claude Paroz 5066fda34d Replaced input by textarea in forms docs 2014-09-25 15:09:12 +02:00
Tim Graham 3a46399543 Removed incorrect item in 1.7.1 release notes.
The issue only affects master; refs #23551.
2014-09-25 08:18:03 -04:00
Marco Buttu e077c29155 Fixed #23551 -- Fixed bash autocompletion crash on Python 3. 2014-09-25 07:44:22 -04:00
Michael Manfre 49e693c813 Added my bio to team.txt 2014-09-24 22:45:03 -04:00
Tim Graham d7ab2cefb7 Revert "Fixed #23474 -- Prevented migrating backwards from unapplying the wrong migrations."
This reverts commit abcf28a076.
2014-09-24 15:49:30 -04:00
Tim Graham a4f23eba2e Fixed #23421 -- Corrected TEST SERIALIZE setting.
Thanks gkoller for the report.
2014-09-24 14:46:10 -04:00
Markus Holtermann c692e37b63 Fixed #22959 -- Documented that class-based validators need to be deconstructible. 2014-09-24 14:32:49 -04:00
Markus Holtermann 066e672d79 Fixed #23473 -- Documented that @deconstructible classes need __eq__. 2014-09-24 14:19:11 -04:00
Tim Graham 450a616004 Corrected --noinput docs for makemigrations; refs #23407. 2014-09-24 13:29:07 -04:00
Thomas Grainger 21683011d5 Added SuspiciousOperation to list of caught exceptions in testing docs. 2014-09-24 13:04:11 -04:00
Markus Holtermann b9a670b227 Fixed #23426 -- Don't require double percent sign in RunSQL without parameters 2014-09-24 07:20:57 -04:00
Justin Caratzas cf43a1ee90 Fixed #23539 -- Added get_extra(), get_max_num(), and get_min_num() hooks to GenericInlineModelAdmin. 2014-09-24 06:32:42 -04:00
Shai Berger d128eac316 Changed Oracle test-user creation to grant privileges instead of roles
because the roles (specifically RESOURCE) are deprecated.
Also added optional support for creating views in tests, and made an
introspection test fail (rather than skip)  if a view cannot be created
due to lacking privileges.

Refs #18782

Thanks Tim Graham for review, and Josh Smeaton
2014-09-24 04:58:33 +03:00
Sergey Fedoseev 463952d940 Fixed #23503 -- Fixed renaming of model with self-referential m2m field. 2014-09-23 10:03:37 -04:00
Sergey Fedoseev 83cd18633f Fixed #23065 -- Quoted constraint names in SQL generated by migrations. 2014-09-23 09:25:31 -04:00
Corey Farwell 37b13033c6 Removed sudo from pip commands in docs. 2014-09-22 15:49:48 -04:00
velis74 24aa85cea9 Fixed #23535 -- Updated tutorial to account for default filter added in 5ea34f3f86. 2014-09-22 15:22:25 -04:00
Dejan Noveski 903d144d85 Fixed #23532 -- Fixed Macedonian locale date formats 2014-09-22 18:04:57 +02:00
Ola Sitarska 21819e6dbf Fixed #23512 -- Made migration docs about initial_data clearer
Thanks @abhillman and @Markush2010 for submitting the ticket.
2014-09-21 18:32:19 +02:00
Ola Sitarska b9b8895acb Fixed #23527 -- Removed Cheetah references in docs
Thanks to @aaugustin for submitting the ticket.
2014-09-21 18:03:31 +02:00
Ola Sitarska ee442e97da Fixed #23529 -- Replaced comments tag library with humanize in docs 2014-09-21 17:31:13 +02:00
Claude Paroz 5bf654e44b Fixed #23530 -- Specified PyYAML requirement in initial-data.txt
Thanks aks for the report.
2014-09-21 16:00:19 +02:00
Aymeric Augustin d18579d219 Small fixes in templates topic guide.
>>> from django.template.defaultfilters import register
>>> len(register.filters)
57
2014-09-20 19:23:22 +02:00
Matt Robenolt b88e31348b Don't recommend using sudo when installing uwsgi 2014-09-19 22:58:49 -07:00
Aymeric Augustin 47ff469057 Fixed a formatting issue in the 1.7 release notes. 2014-09-19 13:05:20 +02:00
Damien Baty ad491ecc6e Fixed #23488 -- Added AnonymousUser.get_username(). 2014-09-18 10:48:28 -04:00
Tim Graham 023a3d9915 Updated release notes for backporting locale additions; refs #23368 and #23417. 2014-09-17 11:11:10 -04:00
Josh Smeaton 0eb5cde9da Fixed #21775 -- Allowed customization of datafile for Oracle tablespace 2014-09-17 09:55:33 -04:00
Tim Graham 54fd84e432 Fixed #23491 -- Clarified tutorial 3.
Thanks diek for the suggestion.
2014-09-17 08:37:27 -04:00
Joseph Dougherty ab8248361e Fixed #23499 -- Error in built-in template tag "now" documentation 2014-09-17 09:21:33 +02:00
Tim Graham a0dfef02df Moved some people to "past team members". 2014-09-16 13:12:33 -04:00
Tim Graham 82a5ce801b Fixed typo in docs/internals/roles.txt and added words to spelling_wordlist. 2014-09-16 08:38:51 -04:00
Tim Graham 92a8213fdb Added 1.7.1 release notes for refs #23492. 2014-09-16 08:32:23 -04:00
Marc Tamlyn ed7821231b Fixed #19463 -- Added UUIDField
Uses native support in postgres, and char(32) on other backends.
2014-09-16 10:08:09 +01:00
Tim Graham 0d1561d197 Fixed #23486 -- Corrected makemigrations output in tutorial 1.
Thanks nmarler for the report.
2014-09-15 20:27:52 -04:00
valtron abcf28a076 Fixed #23474 -- Prevented migrating backwards from unapplying the wrong migrations. 2014-09-15 14:56:59 -04:00
Simon Meers 021f963e23 Move my bio to "Past team members" section whilst I'm inactive. 2014-09-15 20:41:58 +10:00
Tim Graham 6426928f56 Fixed broken link in 1.7 release notes. 2014-09-13 20:20:01 -04:00
Malte Beckmann 22bfc45146 Fixed #23466 -- Removed seconds from all locale time output formats. 2014-09-13 13:00:42 -04:00
José Padilla 5472d18e31 Fixed #23461 -- Added EMAIL_TIMEOUT setting 2014-09-13 09:33:21 -04:00
Tim Graham 0ae79014c0 Forwardported 1.4.16 release notes. 2014-09-13 09:23:00 -04:00
Tim Graham 08042f1a73 Added 1.7.1 release notes for refs #23483. 2014-09-13 09:21:52 -04:00
Tim Graham 9c8c28f6f4 Added ops team to roles.txt. 2014-09-12 15:25:21 -04:00
Tim Graham 52ef6a4726 Fixed #17101 -- Integrated django-secure and added check --deploy option
Thanks Carl Meyer for django-secure and for reviewing.

Thanks also to Zach Borboa, Erik Romijn, Collin Anderson, and
Jorge Carleitao for reviews.
2014-09-12 15:05:23 -04:00
Tim Graham 66580fe97c Fixed #23403 -- Fixed crash in contrib.sitemaps if lastmod returned a date rather than datetime.
Thanks igorcc for the report.
2014-09-11 16:09:23 -04:00
Gabe Jackson c5b4145fca Added link to LogRecord attributes in logging.txt 2014-09-11 21:37:16 +02:00
Tim Graham cc5e81c46d Added some items to the 1.7.1 release notes. 2014-09-10 13:25:40 -04:00
Tim Graham e265112cd1 Fixed typo in topics/forms/formsets.txt 2014-09-10 11:17:33 -04:00
Andi Albrecht 00535e8e6b Fixed #20743 -- Added support for keyfile/certfile in SMTP connections.
Thanks jwmayfield, serg.partizan, and Wojciech Banaś for work on the patch.
2014-09-10 11:14:20 -04:00
Malte Beckmann 1ac32e76ac Fixed #23417 -- Completed locale formats for zh_CN, zh_Hans, zh_Hant and zh_TW. 2014-09-10 09:07:07 -04:00
Markus Holtermann 6d5958c7a3 Fixed #23452 -- Prevented infinite migrations for empty unique/index_together.
Thanks fwkroon for the report.
2014-09-10 07:54:16 -04:00
Iain Dawson ef8ef2a42d Fixed an instance of 'an' before a word beginning with a consonant. 2014-09-10 09:44:12 +01:00
Duncan Parkes df7187d795 Fixed #23368 -- Overhauled the Welsh formats.py file.
The only debatable thing here is setting FIRST_DAY_OF_WEEK to 1.
The only examples of calendars I can find in Welsh start on Monday,
for example, the calendar on S4C (the only all Welsh TV station).

http://www.s4c.co.uk/clic/c_clicschedule.shtml
2014-09-09 20:48:33 -04:00
Greg Brown b4d486c80f Note re migrations importing custom fields 2014-09-10 09:52:44 +12:00
Aymeric Augustin 9562ffea97 Avoid the word "stupid".
There's always a better word.
2014-09-09 20:55:57 +02:00
Tim Graham c32bc1a7a7 Fixed #11775 -- Made ABSOLUTE_URL_OVERRIDES work with models that don't define get_absolute_url().
Thanks jukvalim for the report and initial patch,
and Preston Timmons for review.
2014-09-09 11:05:31 -04:00
Sébastien Fievet e5ae03fd5a Fixed missing trailing parenthesis in docs/releases/1.7.txt 2014-09-09 16:00:01 +02:00
Tim Graham c7f7432be5 Fixed #23350 -- Updated mod_wsgi auth example to use less memory.
Thanks Graham Dumpleton for the report.
2014-09-09 09:32:19 -04:00
Petras Zdanavičius f7eee04ebe Fixed #23451 -- Fixed typo in inlineformset_factory() error message. 2014-09-08 17:22:23 -04:00
Aymeric Augustin aa399f6b8b Use "catch" instead of "trap" for exceptions.
This is the idiomatic word in the Python world.
2014-09-08 22:23:44 +02:00
Markus Holtermann d28b5f13b3 Fixed #23418 -- Fail when migration deconstruct produces invalid import 2014-09-08 21:27:34 +02:00
Marc Tamlyn f9419a6dc0 Revert "Removed dead link in release notes."
This reverts commit cbbc7131c1.
2014-09-08 18:56:46 +01:00
Simon Charette 342ccbddc1 Fixed #23431 -- Allowed inline and hidden references to admin fields.
This fixes a regression introduced by the 53ff096982 security fix.

Thanks to @a1tus for the report and Tim for the review.

refs #23329.
2014-09-08 13:49:07 -04:00
Marc Tamlyn cbbc7131c1 Removed dead link in release notes. 2014-09-08 18:44:03 +01:00
Octowl 5f3806b861 Fixed #23307 -- Clarified the way max_num limits the output of formsets.
Thanks velle for the report.
2014-09-08 13:22:15 -04:00
Tim Graham 60c38c1a4e Fixed #23281 -- Added "concrete model" to glossary.
Thanks knowledgepoint-devs for the suggestion.
2014-09-08 08:45:47 -04:00
Andrew Pinkham 4680d25df2 Fixed #22951 -- Checked for types during deep_deconstruct migration serialization process.
Thanks Sam Hartsfield for the report.
2014-09-08 07:39:09 -04:00
Sébastien Fievet f36ab2d3f2 Fixed typo in docs/howto/custom-lookups.txt. 2014-09-07 11:29:20 +02:00
Tim Graham 0b5bd398fa Added the inaugural technical board. 2014-09-06 19:13:29 -04:00
Marc Tamlyn 14c8456ffe Fixed #23416 -- Make sure DatabaseCreation respects checks.
Migrations respected Field.db_parameters()['check'], but
DatabaseCreation was still using just Field.db_type().
2014-09-06 19:01:06 +01:00
Paul McMillan e5febfb3c3 Move Gabriel Hurley to "Past Team Members" 2014-09-06 10:44:17 -07:00
Paul McMillan a4ab0495cc Update bio for Paul McMillan to remove dead links 2014-09-06 10:32:10 -07:00
Alex Gaynor 0707fbc73f Convert myself to an emeritus member 2014-09-06 10:20:56 -07:00
Aymeric Augustin dfe209a0c0 Fixed #23437 -- Documented required update of WSGI scripts for 1.7.
Thanks Tim for the review.
2014-09-06 19:02:06 +02:00
Collin Anderson fa74dba994 Refs #23430 -- gunicorn wants a module, not file 2014-09-06 08:13:45 -07:00
Tim Graham 0e4d79c4f0 Fixed #22882 -- Fixed a UnicodeDecodeError in flush.
Thanks djbaldey for the report.
2014-09-06 10:07:34 -04:00
Collin Anderson 7353e26d5d Fixed #23340 -- Corrected naturaltime docs to match behavior.
Thanks zachborboa for the report and blackguest for the patch.
2014-09-06 07:47:56 -04:00
Tim Graham 88c4e01d34 Fixed #23438 -- Added snippet & imports to docs/intro/overview.txt. 2014-09-06 07:31:36 -04:00
oromero 0f0a5c07f9 Fixed #22161 -- Documented send() with no recipients won't raise an exception. 2014-09-05 20:38:50 -04:00
Collin Anderson 77b3907d6d Fixed #23430 -- simplified gunicorn deployment docs. 2014-09-05 20:36:35 -04:00
Patrick Beeson fb545e5a27 Fixed #23427 -- Documented migrate is required before runserver for default projects. 2014-09-05 19:59:02 -04:00
Andrew Godwin 45768e6b72 Update docs to be more clear about nested classes (refs #23418) 2014-09-05 15:00:01 -07:00
Tim Graham 5c5011ce68 Fixed #23414 -- Updated version numbers in release process doc.
Thanks jaap3 for the report.
2014-09-05 15:44:41 -04:00
Tim Graham 62939aba99 Removed an admonition in the tutorial about the old project layout.
There are no supported versions that use the old layout (<=1.3).
2014-09-05 14:43:33 -04:00
Andrew Godwin 6d504562f5 Fixed #22534: Reinforce swappable documentation 2014-09-05 11:39:55 -07:00
Sébastien Fievet 0f90f741de Fixed typo in docs/topics/checks.txt. 2014-09-05 14:28:46 -04:00
Claude Paroz 885ff6845e Revert "Fixed #23384 -- Allowed overriding part of a dictionary-type setting"
This reverts commit 66757fee7e.
Discussions have led to think that this functionality does not
bring significant benefits to justify the added complexity.
Read also discussions on ticket #22734.
2014-09-05 20:06:02 +02:00
Sébastien Fievet 5d04433903 Added missing periods in docs/ref/checks.txt. 2014-09-05 12:30:24 -04:00
Tim Graham 1101467ce0 Limited lines to 119 characters in django/
refs #23395.
2014-09-05 09:22:16 -04:00
John-Scott Atlakson 344f37718b Fixed imports in `Sitemap for static views` example 2014-09-04 21:04:53 -04:00
Tim Graham 2ca244aae6 Fixed typo in docs/ref/checks.txt. 2014-09-04 12:31:33 -04:00
Tim Graham 646b9ce848 Fixed typo in 1.8 release notes. 2014-09-04 10:23:32 -04:00
Thomas Chaumeny d7a9659110 Fixed documentation links to Query Expression API. 2014-09-04 09:45:10 -04:00
Marc Tamlyn e9103402c0 Fixed #18757, #14462, #21565 -- Reworked database-python type conversions
Complete rework of translating data values from database

Deprecation of SubfieldBase, removal of resolve_columns and
convert_values in favour of a more general converter based approach and
public API Field.from_db_value(). Now works seamlessly with aggregation,
.values() and raw queries.

Thanks to akaariai in particular for extensive advice and inspiration,
also to shaib, manfre and timograham for their reviews.
2014-09-03 20:36:03 +01:00
Corey Farwell 4db75925be Fixed typo in docs/topics/db/transactions.txt. 2014-09-03 11:49:00 -04:00
Tim Graham 09c1f18f22 Added stub release notes for 1.7.1. 2014-09-02 21:41:21 -04:00
Tim Graham 0fd23545db Added dates to release notes. 2014-09-02 21:34:29 -04:00
Raffaele Salmaso 1435cfbe8d Fixed #23302 -- Added --name/-n option to makemigrations command 2014-09-02 21:09:18 -04:00
Tim Graham bda2809712 Fixed #23400 -- Added "Remove 'south' from INSTALLED_APPS" to upgrade instructions.
Thanks dgrant for the report.
2014-09-02 21:03:16 -04:00
James Bennett 138e3873a5 Cleanup run on the 1.7 release notes. 2014-09-02 15:17:46 -05:00
James Bennett 58eb4ce002 Merge pull request #3120 from alex/use-sha256
Document that we should also offer sha256 checksums for packages
2014-09-02 14:01:09 -05:00