Tim Graham
61d6c5d02e
Added release date for Django 1.8.
2015-04-01 15:30:32 -04:00
Joost Rijneveld
48ddc66219
Fixed typo in docs/ref/templates/builtins.txt
2015-03-31 21:20:03 -04:00
Kostochko Dmitriy
d026eb6366
Fixed typo in docs/topics/cache.txt
2015-03-31 21:15:56 -04:00
Tim Graham
56286542db
Documented jinja2 install requirement.
2015-03-30 20:56:50 -04:00
Tim Graham
b86abbceb9
Fixed #24115 -- Allowed bcrypt hashers to upgrade passwords on rounds change.
...
Thanks Florian Apolloner for the review.
2015-03-30 18:52:59 -04:00
Andriy Sokolovskiy
e4cf8c8420
Fixed #24301 -- Added PostgreSQL-specific aggregate functions
2015-03-30 10:44:37 -04:00
Jorge Barata González
931a340f1f
Fixed #15590 -- Documented how the path of a FileField can be changed.
...
Thanks simon29 for report, and freakboy3742, floledermann,
jacob, claudep and collinanderson for discussing the task.
2015-03-30 10:38:30 -04:00
Markus Holtermann
c5cc332bf2
Fixed #24550 -- Added migration operation description to sqlmigrate output
...
Thanks Tim Graham for the review.
2015-03-30 16:31:20 +02:00
Christopher Luc
8119876d4a
Improved docs for timezone handling for auto_now and auto_now_add
...
Thanks djbug for the report and Aymeric Augustin and Carl Meyer for the
review.
2015-03-29 22:32:05 +02:00
Tim Graham
6de3a1e2c3
Fixed #24541 -- Clarified ModelFormSet's handling of initial data.
2015-03-28 08:54:59 -04:00
Tim Graham
3e132406e3
Fixed syntax highlighting in docs/topics/auth/default.txt
2015-03-28 07:49:03 -04:00
SaeX
19e41a9799
Fixed typo in docs/topics/forms/modelforms.txt
2015-03-28 07:40:38 -04:00
Moritz Sichert
1f2abf784a
Fixed #24469 -- Refined escaping of Django's form elements in non-Django templates.
2015-03-27 19:46:20 -04:00
Caroline Simpson
dc5b01ad05
Fixed #18773 -- Added logging for template variable resolving
...
Added a django.template logger without a default handler. Added
logging if there is an exception while resolving variables in a
template.
2015-03-27 19:19:48 -04:00
Tim Graham
0c91a419f8
Dropped support for PostgreSQL 9.0.
2015-03-27 12:10:55 -04:00
Tim Graham
2acf9d099d
Fixed #24519 -- Clarified location of templates directory in tutorial 2.
2015-03-27 09:57:58 -04:00
Matt Seymour
98c5370ef6
Fixed #24510 -- Clarified FileField.upload_to docs.
2015-03-26 19:21:12 -04:00
Bertrand Bordage
3e64f3d0fc
Fixed #24531 -- Improved CommaSeparatedIntegerField validation.
...
`','`, `'1,,1'`, `',1'` etc. are no longer considered as valid
comma-separated integer lists.
2015-03-25 18:49:59 -04:00
Tim Graham
f4cc0c40a8
Added some missing newlines in docs/ref/validators.txt.
2015-03-25 18:32:22 -04:00
Alex Hill
720ff740e7
Fixed #24215 -- Refactored lazy model operations
...
This adds a new method, Apps.lazy_model_operation(), and a helper function,
lazy_related_operation(), which together supersede add_lazy_relation() and
make lazy model operations the responsibility of the App registry. This
system no longer uses the class_prepared signal.
2015-03-25 16:48:17 -04:00
David Seddon
0f6f80c2e7
Corrected typo in documentation
2015-03-25 17:38:56 +00:00
Fabio Natali
cb506aed2a
Fixed #23814 -- Documented apps refactored out of Django.
2015-03-25 08:46:23 -04:00
Anssi Kääriäinen
8f30556329
Renamed Field.rel attribute to remote_field
...
Field.rel is now deprecated. Rel objects have now also remote_field
attribute. This means that self == self.remote_field.remote_field.
In addition, made the Rel objects a bit more like Field objects. Still,
marked ManyToManyFields as null=True.
2015-03-25 08:16:12 -04:00
Tim Graham
c633667da3
Fixed #24361 -- Clarified docs on reconfiguring logging.
...
Thanks Tuttle for the report and draft patch, and Carl Meyer for
help and review.
2015-03-24 12:23:03 -04:00
Carolina
118cae2df8
Fixed #23666 -- Recommended Git Bash for running unit tests on Windows.
2015-03-24 10:45:58 -04:00
Matt Seymour
fca14cd3f2
Fixed #24501 -- Improved auth.decorators.user_passes_test() example.
2015-03-24 10:30:00 -04:00
Bas Peschier
b4382b7055
Fixed #16362 -- Allowed lookaround assertions in URL patterns.
2015-03-23 09:00:07 -04:00
Bas Peschier
23a5d64f40
Fixed #13525 -- Added tests and docs for nested parameters in URL patterns.
...
When reversing, only outer parameters are used if captured parameters are
nested. Added tests to check the edge cases and documentation for the
behavior with an example to avoid it.
2015-03-23 08:43:01 -04:00
Iacopo Spalletti
87fed94440
Fixed #23814 -- Pointed localflavor documentation to external package
...
Edited localflavor doc to point to the external package documentation,
leaving just the 'How to migrate' section in Django.
2015-03-22 15:31:54 +01:00
Josh Smeaton
02a2943e4c
Fixed #24485 -- Allowed combined expressions to set output_field
2015-03-22 17:36:55 +11:00
Jon Dufresne
966a29c2b8
Fixed #24479 -- Added system check to prevent both ordering and order_wrt.
2015-03-21 08:16:28 -04:00
David Seddon
6770b7ecd2
Refs #14645 -- Documented bug with exclude() and multi-value relations
2015-03-20 17:49:07 -04:00
Moritz Sichert
6bb2175ed6
Fixed #22106 -- Allowed using more than one instance of javascript_catalog per project.
2015-03-20 17:27:41 -04:00
Claude Paroz
556eb67701
Fixed #23520 -- Explained that custom plural forms should be avoided
...
Thanks aruseni for the report.
2015-03-20 20:43:11 +01:00
Tim Graham
8219eabbba
Fixed #24503 -- Added docs on LANGUAGE_CODE fallback change in 1.8.
...
Thanks Pakal and Claude.
2015-03-20 12:07:45 -04:00
Loek van Gent
d898ba1bec
Fixed #24419 -- Added sendtestemail management command
2015-03-20 12:03:50 -04:00
Loek van Gent
35b3158d52
Fixed #24417 -- Added ModelAdmin.get_list_select_related()
2015-03-19 08:52:28 -04:00
Tim Graham
e40581870a
Added today's security issues to archive.
2015-03-18 20:36:50 -04:00
Tim Graham
011a54315e
Made is_safe_url() reject URLs that start with control characters.
...
This is a security fix; disclosure to follow shortly.
2015-03-18 19:20:07 -04:00
Tim Graham
1c83fc88d6
Fixed an infinite loop possibility in strip_tags().
...
This is a security fix; disclosure to follow shortly.
2015-03-18 19:20:07 -04:00
Tim Graham
9ddfe9b301
Added stub release notes for security releases.
2015-03-18 19:20:07 -04:00
Karl Hobley
81e1a35c36
Fixed #24495 -- Allowed unsaved model instance assignment check to be bypassed.
2015-03-18 19:00:09 -04:00
Claude Paroz
a0c2eb46dd
Fixed #23960 -- Removed http.fix_location_header
...
Thanks Carl Meyer for the report and Tim Graham for the review.
2015-03-18 18:22:50 +01:00
Tim Graham
d9a30ed190
Updated location of database backend data_types attribute in docs.
2015-03-17 20:03:07 -04:00
Tim Graham
53d11c6821
Updated links to latest version of PostGIS docs.
2015-03-17 18:34:15 -04:00
Tim Graham
c5c8751147
Refs #24487 -- Added upgrade tips about removal of SortedDict.
...
Thanks Pascal Chambon for the initial patch.
2015-03-17 13:41:11 -04:00
Tim Graham
64b9393ae2
Updated location of gis_tests in docs.
2015-03-17 11:35:11 -04:00
Josh Smeaton
88d798d71a
Refs #24485 -- Renamed some expression types
2015-03-17 08:40:18 -04:00
Andriy Sokolovskiy
81c2d9f60b
Fixed #15579 -- Added ability to delete only child models in multi-table inheritance.
2015-03-17 08:33:16 -04:00
Daniel Wiesmann
b9cb81570e
Made SRID a required parameter for GDALRaster instantiation; refs #23804 .
...
Earlier versions of GDAL do not allow the srid to be set to 0,
so it should be a required parameter to ensure compatibility.
2015-03-17 08:16:12 -04:00
Daniel Wiesmann
f269c1d6f6
Added write support for GDALRaster
...
- Instantiation of GDALRaster instances from dict or json data.
- Retrieve and write pixel values in GDALBand objects.
- Support for the GDALFlushCache in gdal C prototypes
- Added private flush method to GDALRaster to make sure all
data is written to files when file-based rasters are changed.
- Replaced ``ptr`` with ``_ptr`` for internal ptr variable
Refs #23804 . Thanks Claude Paroz and Tim Graham for the reviews.
2015-03-16 19:37:43 +01:00
John Giannelos
8758a63ddb
Fixed #24427 -- Stopped writing migration files in dry run mode when merging.
...
Also added display of migration to stdout when verbosity=3.
2015-03-16 14:04:37 -04:00
Preston Timmons
388e79e9fc
Fixed #24493 -- Added BaseContext.setdefault()
2015-03-16 13:13:02 -04:00
Preston Timmons
4d9414098b
Documented Context.get() method.
2015-03-16 13:09:32 -04:00
Josh Smeaton
820381d38b
Fixed #24486 -- Documented method to provide output_field to mixed F expressions
2015-03-16 11:54:27 -04:00
Adrian Andreias
937643a1f2
Fixed allow_migrate() signature in router examples.
2015-03-16 09:39:18 -04:00
Thomas Tanner
28986da4ca
Fixed #5986 -- Added ability to customize order of Form fields
2015-03-16 09:12:57 -04:00
HerHde
39573a11db
Added missing punctuation in some comments in tutorial 5.
2015-03-16 08:24:25 -04:00
Steven Das
4f494ed0c6
Added comma to improve readability in 1.7 release notes.
2015-03-16 08:15:17 -04:00
Tomáš Ehrlich
8414fcf16b
Fixes #23643 -- Added chained exception details to debug view.
2015-03-14 16:08:23 -04:00
Matthew Wilkes
ae87ad005f
Refs #24354 -- Prevented repointing of relations on superclasses when migrating a subclass's name change
...
Forwardport of test and release note from stable/1.7.x
2015-03-14 15:37:40 -04:00
Berker Peksag
34fb909180
Fixed #12982 -- Added a get_or_set() method to the BaseCache backend.
2015-03-14 20:07:16 +02:00
Tim Graham
b9d9ab23bd
Refs #24462 -- Emphasized that order_by() clears previous ordering.
2015-03-13 15:40:25 -04:00
Andrei Kulakov
e8a758e941
Fixed #24253 -- Documented staff_member_required decorator.
2015-03-13 14:46:13 -04:00
Andrei Kulakov
b089759d60
Fixed #24052 -- Doc'd how to write data migrations with models in multiple apps.
2015-03-13 13:22:19 -04:00
Claude Paroz
aa5ab114e3
Fixed #24122 -- Redirected to translated url after setting language
...
Thanks gbdlin for the initial patch and Tim Graham for the review.
2015-03-13 16:46:40 +01:00
Claude Paroz
a8991b9b9f
Documented gdal DataSource encoding parameter
...
Thanks Max Demars for the suggestion and Tim Graham for the review.
2015-03-13 16:39:32 +01:00
Remco Kranenburg
f6b09a7f85
Refs #23559 -- warned about consequences of letting users edit User model in admin.
2015-03-13 08:50:48 -04:00
Ian Lee
56cd87a5af
Added link to section in docs/howto/custom-template-tags.txt.
2015-03-13 08:24:44 -04:00
Ian Lee
7614efa2f9
Fixed typo in docs/howto/custom-template-tags.txt.
2015-03-13 08:13:49 -04:00
Jon Dufresne
d861f95c44
Fixed #24139 -- Changed HttpResponse.reason_phrase to evaluate based on status_code.
2015-03-12 20:18:06 -04:00
Ian Lee
7f8588d22e
Documented how to use a non-root subdirectory with mod_wsgi.
2015-03-12 20:08:37 -04:00
Steven Das
53bc6e2e98
Fixed typo in docs/ref/models/fields.txt
2015-03-12 19:16:05 -04:00
Tim Graham
e4a578e70e
Fixed #24226 -- Changed admin EMPTY_CHANGELIST_VALUE from (None) to -
2015-03-12 09:40:56 -04:00
Aksel Ethem
b4d8b16e51
Fixed #24364 -- Doc'ed that ManifestStaticFileStorage shouldn't be used during testing.
2015-03-12 09:23:00 -04:00
ldrumm
27ad12a9b8
Fixed wrong operator in iri_to_uri() docs
2015-03-12 13:43:26 +01:00
Dan Fellin
6ff826e12e
Fixed typo in docs/topics/forms/modelforms.txt.
2015-03-11 19:57:28 -04:00
Sean Wang
a3e89f13df
Fixed #24414 -- Added examples of Prefetch object usage to the docs.
2015-03-11 12:38:25 -04:00
Preston Timmons
6b605be5fe
Fixed typo in current_app deprecation note.
2015-03-11 12:34:42 -04:00
saschalalala
5cf8f4596c
Simplified command to display path to Django source files.
...
Python 3 always returns an absolute path.
2015-03-11 10:34:58 -04:00
Claude Paroz
57d42aef97
Fixed download instructions for cities shapefile
...
Thanks Daniel Wiesmann for spotting the issue.
2015-03-10 19:42:38 +01:00
Claude Paroz
1825365152
Updated GIS docs wrt GIS test paths
2015-03-10 18:00:47 +01:00
Tim Graham
0cb6a85f5e
Added yesterday's security issue to archive.
2015-03-10 11:01:18 -04:00
Erik Romijn
f66c2bdc0f
Fixed #23903 -- Configured Sphinx to autogenerate django-admin manpage
2015-03-10 08:12:09 -04:00
Calvin Jeong
cefbbb9db3
Fixed typo in docs/ref/database.txt
2015-03-10 07:11:57 -04:00
Tim Graham
d0b01ca452
Fixed typo in docs/topics/forms/modelforms.txt.
2015-03-09 20:49:22 -04:00
Floris den Hengst
b9b8411129
Fixed #24432 -- Added docs for ManyToManyFields that reside in and refer to the same model.
2015-03-09 20:44:55 -04:00
Tim Graham
ea9157f681
Added stub release notes for 1.7.7.
2015-03-09 13:09:39 -04:00
Baptiste Mispelon
82c9169077
Refs #24461 -- Added test/release notes for XSS issue in ModelAdmin.readonly_fields
...
This issue was fixed by refs #24464 .
2015-03-09 10:12:21 -04:00
Tim Graham
300fdbbebb
Clarified an item in 1.7.6 release notes.
2015-03-09 10:06:18 -04:00
Erik Romijn
fa350e2f30
Fixed #24464 -- Made built-in HTML template filter functions escape their input by default.
...
This may cause some backwards compatibility issues, but may also
resolve security issues in third party projects that fail to heed warnings
in our documentation.
Thanks Markus Holtermann for help with tests and docs.
2015-03-09 09:29:58 -04:00
Tim Graham
63f2dd4ad7
Fixed typo in docs/howto/custom-template-tags.txt
2015-03-09 07:06:09 -04:00
Rik
eb9b7abb83
Fixed #21661 -- Expanded authentication views documentation
2015-03-08 20:36:27 +01:00
Marten Kenbeek
e272904ff7
Fixed #23407 -- Extended coverage of makemigrations --noinput option.
...
Changed --noinput option in makemigrations to suppress all user prompts,
not just when combined with --merge.
2015-03-08 19:44:14 +01:00
Rik
794c3f74c3
Fixed #24460 -- Extended HttpRequest.build_absolute_uri documentation
...
Added explanation on why build_absolute_uri always enforces the
request's scheme.
2015-03-08 16:32:54 +01:00
Daniele Procida
180f75c2a0
Merge pull request #4271 from PsiloLR/ticket_24456
...
Fixed #24456 -- Update modelforms.txt table of Form/Model refs
2015-03-08 10:25:25 +01:00
Psilo Cybin
866e71140f
Fixed #24456 -- Update modelforms.txt table of Form/Model refs
...
Added links to the Form/Model table to the field reference docs to
point to their individual field references
2015-03-08 10:12:53 +01:00
Floris den Hengst
e42a720ba2
Fixed typos and updated spelling wordlist.
2015-03-07 17:59:03 +01:00
Tim Graham
9eab328444
Forwardported 1.7.6 release note.
2015-03-07 08:12:44 -05:00
Jean-Louis Fuchs
f4f0060fea
Fixed #24447 -- Made migrations add FK constraints for existing columns
...
When altering from e.g. an IntegerField to a ForeignKey, Django didn't
add a constraint.
2015-03-07 14:09:56 +01:00