Tim Graham
faa2a0f662
Fixed #25174 -- Moved some details of CheckMessage to the reference guide.
2015-07-31 08:21:34 -04:00
Tim Graham
5d0961fdfc
Fixed #25202 -- Fixed typo in docs/topics/auth/customizing.txt
2015-07-31 07:33:38 -04:00
Tim Graham
d27e0f04a6
Fixed #25190 -- Deprecated callable_obj parameter to assertRaisesMessage().
...
Thanks Aymeric Augustin for review.
2015-07-30 10:12:41 -04:00
Piper Merriam
537818af87
Fixed #25185 -- Added support for functools.partial serialization in migrations
2015-07-29 10:15:50 -04:00
Flavio Curella
c2e70f0265
Fixed #21127 -- Started deprecation toward requiring on_delete for ForeignKey/OneToOneField
2015-07-27 18:28:13 -04:00
Tim Graham
87d55081ea
Fixed #25159 -- Removed brackets from class/function/method signatures in docs.
...
Thanks hellbeast for the initial patch.
2015-07-27 10:32:47 -04:00
Akis Kesoglou
29465d438e
Fixed #25142 -- Added PermissionRequiredMixin.has_permission() to allow customization.
2015-07-27 10:23:56 -04:00
Marten Kenbeek
bc7923beff
Fixed #24127 -- Changed the default current_app to the current namespace.
...
Changed the url template tag to use request.resolver_match.namespace as a
default for the current_app argument if request.current_app is not set.
2015-07-27 09:14:48 -04:00
Tim Graham
217f173be0
Fixed #25166 -- Clarified how auth permissions are created.
...
Thanks Baptiste Mispelon for report and review.
2015-07-25 09:30:54 -04:00
Tim Graham
e3d1f2422c
Fixed malformed Sphinx directives.
2015-07-25 06:37:51 -04:00
Tim Graham
03aec35a12
Converted tabs to spaces in topics/auth/default.txt
2015-07-24 11:48:57 -04:00
James Bennett
5281f8b635
Fixed #25156 -- Mentioned django.setup() in the settings overview for standalone Django use.
2015-07-21 17:10:17 -04:00
lukasz.wojcik
927b30a6ab
Fixed #24126 -- Deprecated current_app parameter to auth views.
2015-07-21 08:26:41 -04:00
Tim Graham
5fd83db255
Normalized indentation and line lengths in docs/topics/auth/default.txt.
2015-07-21 08:11:28 -04:00
Tim Graham
f5e9d67907
Refs #16860 -- Moved password_changed() logic to AbstractBaseUser.
...
Thanks Carl Meyer for review.
2015-07-20 13:44:26 -04:00
Rafał Selewońko
8e306967de
Fixed typo in docs/topics/i18n/translation.txt
2015-07-16 07:31:30 -04:00
Andrei Kulakov
db97a88495
Fixed #24375 -- Added Migration.initial attribute
...
The new attribute is checked when the `migrate --fake-initial` option
is used. initial will be set to True for all initial migrations (this
is particularly useful when initial migrations are split) as well as
for squashed migrations.
2015-07-13 15:57:40 -04:00
Tim Graham
074a82f49b
Fixed #25082 -- Documented where to register system checks.
2015-07-10 10:37:25 -04:00
Nick Sweeting
f0857c09fb
Fixed #25083 -- Added SessionAuthenticationMiddleware to auth installation docs
2015-07-10 08:40:57 -04:00
Rigel Di Scala
b91a2a499f
Fixed #23190 -- Made Paginator.page_range an iterator
2015-07-03 11:34:34 -04:00
Jon Dufresne
b44dee16e6
Fixed #20916 -- Added Client.force_login() to bypass authentication.
2015-07-01 13:01:08 -04:00
Matthew Somerville
839edcebb3
Fixed #21695 -- Added asvar option to blocktrans.
...
Thanks Bojan Mihelac for the initial patch.
2015-07-01 10:03:00 -04:00
Andreas Pelme
00a1d4d042
Fixed #21803 -- Added support for post-commit callbacks
...
Made it possible to register and run callbacks after a database
transaction is committed with the `transaction.on_commit()` function.
This patch is heavily based on Carl Meyers django-transaction-hooks
<https://django-transaction-hooks.readthedocs.org/ >. Thanks to
Aymeric Augustin, Carl Meyer, and Tim Graham for review and feedback.
2015-06-30 14:51:00 -04:00
Tim Graham
aed437d567
Updated release process for new release schedule.
2015-06-25 11:36:17 -04:00
Tim Graham
aaacaeb096
Renamed RemovedInDjangoXYWarnings for new roadmap.
...
Forwardport of ae1d663b79
from stable/1.8.x plus more.
2015-06-24 16:08:20 -04:00
Wim Feijen
514b69cb9e
Updated indentation of example template in docs/topics/i18n/translation.txt.
2015-06-22 15:42:09 -04:00
Marten Kenbeek
738c0de300
Fixed #14200 -- Added a fallback if HttpRequest.urlconf is None.
...
Made BaseHandler fall back to settings.ROOT_URLCONF if
HttpRequest.urlconf is set to None, rather than raising
ImproperlyConfigured.
2015-06-20 18:52:33 -04:00
Claude Paroz
9368f51e12
Fixed #20197 -- Made XML serializer fail loudly when outputting unserializable chars
...
Thanks Tim Graham for the review.
2015-06-19 20:54:46 +02:00
Markus Holtermann
e5cb4e1411
Fixed #24914 -- Added authentication mixins for CBVs
...
Added the mixins LoginRequiredMixin, PermissionRequiredMixin and
UserPassesTestMixin to contrib.auth as counterparts to the respective
view decorators.
The authentication mixins UserPassesTestMixin, LoginRequiredMixin and
PermissionRequiredMixin have been inspired by django-braces
<https://github.com/brack3t/django-braces/ >
Thanks Raphael Michel for the initial patch, tests and docs on the PR
and Ana Balica, Kenneth Love, Marc Tamlyn, and Tim Graham for the
review.
2015-06-17 23:19:10 +02:00
Tim Graham
ebd183a18c
Fixed outdated Python version support info in docs/topics/install.txt
2015-06-17 11:27:25 -04:00
Tim Graham
58665dded0
Removed usage of string-based url() in auth docs.
2015-06-17 09:45:03 -04:00
Tim Graham
fbc618c13c
Refs #24987 -- Documented that Client.login() rejects inactive users.
2015-06-16 12:46:23 -04:00
Moritz Sichert
296919e7a5
Fixed #24965 -- Made LiveServerTestCase.live_server_url accessible from class
2015-06-12 17:44:54 -04:00
Tim Graham
55b3bd8468
Refs #16860 -- Minor edits and fixes to password validation.
2015-06-10 07:41:01 -04:00
Nik Nyby
f67127e0af
Fixed typos in docs/topics/python3.txt
2015-06-09 10:36:46 -04:00
Marten Kenbeek
1e82094f1b
Fixed #21927 -- Made application and instance namespaces more distinct.
...
Made URL application namespaces be set in the included URLconf and
instance namespaces in the call to include(). Deprecated other ways
to set application and instance namespaces.
2015-06-08 15:12:20 -04:00
Raphael Michel
39937de7e6
Fixed #24929 -- Allowed permission_required decorator to take any iterable
2015-06-08 13:44:39 -04:00
Marissa Zhou
8b1f39a727
Fixed #24796 -- Added a hint on placement of SecurityMiddleware in MIDDLEWARE_CLASSES.
...
Also moved it in the project template.
2015-06-08 12:32:38 -04:00
Erik Romijn
1daae25bdc
Fixed #16860 -- Added password validation to django.contrib.auth.
2015-06-07 19:31:20 +02:00
Alasdair Nicol
1ea87c8c79
Fixed #24910 -- Added createsuperuser support for non-unique USERNAME_FIELDs
...
Clarified docs to say that a non-unique USERNAME_FIELD is permissable
as long as the custom auth backend can support it.
2015-06-06 09:33:02 -04:00
Tim Graham
2fbea621e6
Capitalized "Python" in docs.
2015-06-05 08:24:53 -04:00
Russell Keith-Magee
5c35b4a8c9
Added release notes for feature added in fe21fb81
2015-06-05 11:42:58 +01:00
Russell Keith-Magee
fe21fb810a
Merge pull request #4757 from sergei-maertens/ticket_18166
...
Fixed #18166 -- Added ability to pass kwargs to the form constructor in a formset.
2015-06-05 11:10:28 +01:00
Matthew Somerville
40f0a84cb1
Fixed #24159 -- Made compilemessages run across all apps.
...
Updated the command to match the documentation, which states it
runs over all .po files.
2015-06-04 21:02:02 -04:00
Sergei Maertens
238e2ac369
Fixed #18166 -- Added form_kwargs support to formsets.
...
By specifying form_kwargs when instantiating the formset, or overriding
the `get_form_kwargs` method on a formset class, you can pass extra
keyword arguments to the underlying `Form` instances.
Includes tests and documentation update.
2015-06-04 15:13:55 +02:00
Tomáš Ehrlich
002b3d87b5
Fixed #24230 -- Added translated language name for i18n template tag/filter.
2015-06-02 16:04:01 -04:00
Tim Graham
9ca0961b8a
Added headings to i18n template tags and filters.
2015-06-02 15:51:00 -04:00
Maximiliano
bf07ba523a
Simplified wording in QuerySet.update() docs.
2015-06-01 09:42:23 -04:00
Curtis
c005a6620e
Optimise the rest of the PNGs in docs
2015-05-29 15:22:40 +10:00
Kevin Marsh
10945ebeb8
Removed unused import in example code in docs/topics/auth/default.txt
2015-05-27 13:26:20 +01:00
Andy McKay
4525a0c466
Fixed #24773 -- Added a json() method on test client responses.
2015-05-25 10:42:30 -04:00
I am Clinton
0b0bb6100d
Fixed typos in HTTP decorator docs.
2015-05-25 07:38:08 -04:00
Alexander Sosnovskiy
04e8d890ae
Fixed #16891 -- Made Model/QuerySet.delete() return the number of deleted objects.
2015-05-22 13:27:16 -04:00
I am Clinton
9c8a2ab81d
Fixed mistakes in docs/topics/forms/formsets.txt examples.
2015-05-22 11:29:10 -04:00
Chris Schur
70faaccc3e
Fixed settings docs to match list/tuple changes in #24149 .
2015-05-22 09:40:55 -04:00
Tim Graham
00d763a4fb
Fixed typo in docs/topics/auth/default.txt
2015-05-22 06:48:59 -04:00
Laurent Peuch
21efb5eb74
Enhanced registration/login.html example template.
2015-05-21 20:45:51 -04:00
Preston Timmons
655f524915
Fixed #17085 , #24783 -- Refactored template library registration.
...
* Converted the ``libraries`` and ``builtins`` globals of
``django.template.base`` into properties of the Engine class.
* Added a public API for explicit registration of libraries and builtins.
2015-05-21 09:12:06 -05:00
Simon Charette
c15b0c2792
Fixed #24652 -- Disallowed query execution in SimpleTestCase subclasses.
...
Thanks to Tim and Anssi for the review.
2015-05-20 12:50:41 -04:00
Tim Graham
a0175724b0
Added docs for assertRaisesMessage as context manager.
2015-05-18 10:04:18 -04:00
Tim Graham
fc1eea59c0
Fixed typo in docs/topics/http/sessions.txt
2015-05-17 18:35:14 -04:00
Aymeric Augustin
ed83881e64
Fixed #23820 -- Supported per-database time zone.
...
The primary use case is to interact with a third-party database (not
primarily managed by Django) that doesn't support time zones and where
datetimes are stored in local time when USE_TZ is True.
Configuring a PostgreSQL database with the TIME_ZONE option while USE_TZ
is False used to result in silent data corruption. Now this is an error.
2015-05-17 09:40:28 +02:00
I am Clinton
dce004ab72
Minor edits to docs/topics/http/urls.txt
2015-05-14 19:31:30 -04:00
Charles Dee Rice
4f3c444241
Fixed #24789 -- Fixed wrong positional args order in doc example
...
Arguments shown in example code (signal, sender, instance) appeared to
be the incorrect positional arguments for a post_save signal (which
might start as: sender, instance, created), as documented:
https://docs.djangoproject.com/en/1.8/ref/signals/#post-save
2015-05-13 10:14:33 +02:00
I am Clinton
ec74dba2ab
Light edits to docs/topics/forms/index.txt
2015-05-12 09:16:13 -04:00
Tim Graham
8e86d9d3df
Fixed #24780 -- Removed outdated discussion of signals and custom users.
2015-05-11 09:10:30 -04:00
Ian Foote
c21b832c12
Fixed typo in docs/topics/testing/tools.txt
2015-05-09 18:03:25 -04:00
David Krisch
1a62f19707
Fixed #24763 -- Moved DoesNotExist exception to model docs.
2015-05-08 13:05:50 -04:00
Preston Timmons
adff499e47
Fixed #24119 , #24120 -- Formalized debug integration for template backends.
2015-05-06 17:33:47 -05:00
Dan Watson
fe914341c8
Fixed #24564 -- Moved AbstractBaseUser and BaseUserManager so they can be used without auth in INSTALLED_APPS
2015-05-05 12:03:48 -04:00
José Padilla
b0bd1f0e19
Fixed typo in translation import statement
2015-05-02 20:18:34 +02:00
Dave Hodder
08c980d752
Updated capitalization in the word "JavaScript" for consistency
2015-05-01 13:26:42 -04:00
Dmitry Medvinsky
cf34ee68f0
Added translation.override() context manager to docs.
2015-04-29 21:22:52 -04:00
Baptiste Mispelon
683ece0ec8
Used full variable names instead of abbreviation in examples
...
Thanks to Andrew Ingram for the report.
2015-04-29 17:21:57 +02:00
Mounir
25b52d04f6
Fixed typo in docs/topics/i18n/translation.txt
2015-04-28 12:52:36 -04:00
Markus Bertheau
4a438e400b
Fixed #13008 -- Added more Cache-Control headers to never_cache() decorator.
2015-04-28 12:07:02 -04:00
Adam Zapletal
0cf7477ed8
Fixed a typo and formatting consistency in testing tools docs
...
I changed "appears" to "appear" and emphasized the word "not" to match
the rest of the document.
2015-04-25 12:22:53 +02:00
Nik Nyby
9d6914da66
Added missing comma in LocMemCache example.
2015-04-24 20:29:07 -04:00
Marcus Pennington
269a5dbdd3
Fixed #24700 -- Added dash to slug regex in http docs
2015-04-24 17:57:29 +01:00
Tim Graham
8efea1b8d5
Fixed #24526 -- Combined django.request/security loggers with the root logger.
...
Thanks Carl Meyer for review.
2015-04-24 11:07:42 -04:00
Daniel Harding
ad31bc0565
Updated startproject MIDDLEWARE_CLASSES in docs.
2015-04-24 09:32:40 -04:00
Tim Graham
1418f75304
Fixed #24684 -- Typo in docs/topics/forms/modelforms.txt
2015-04-22 09:31:10 -04:00
Tim Graham
ffe83d16bd
Fixed #24659 -- Clarified docs of smtp.EmailBackend parameters.
2015-04-20 15:46:31 -04:00
Simon Charette
37e23c6060
Fixed #24674 -- Documented the correct NullBooleanField formfield.
...
Thanks to knbk for the report.
2015-04-20 15:18:41 -04:00
Anton
f5fbddf22f
Fixed typo in docs/topics/class-based-views/intro.txt
2015-04-20 14:11:21 -04:00
Marco Santamaria
bae72bdd2a
Fixed #11078 -- documentation update.
2015-04-19 16:24:14 +02:00
Tim Graham
d974c89ebb
Fixed #24646 -- Fixed jinja2 example on Python 2.
2015-04-16 19:32:42 -04:00
Daniel Lindsley
8ca9bc5ec3
Fixed #23984 -- Added Javascript i18n documentation
...
This fleshes out the documentation around all of the exported
Javascript functions available from the ``javascript_catalog``
view.
2015-04-16 08:15:35 -04:00
Tim Graham
6b8c969878
Removed docs for removed transaction APIs.
2015-04-14 13:52:45 -04:00
Adam Zapletal
872eb26f54
Fixed #24621 -- Fixed and documented SessionBase.pop's second argument
...
Changed SessionBase.pop's second argument to explicitly be default=None
rather than *args since _session is always a dict. Thanks gabor for the
report and Tim Graham for the review.
2015-04-13 10:32:03 -04:00
Adam Chainz
5564d0f2ee
Fixed #24560 -- Added a --dry-run mode to the createcachetable command.
2015-04-09 12:15:50 -04:00
Tim Graham
981e3b9394
Fixed #24429 -- Doc'ed that Django 1.8 doesn't require an integer PK for custom user models.
2015-04-07 10:45:31 -04:00
Christopher Luc
e37d52bd5e
Fixed #22993 -- Deprecated skipIfCustomUser decorator
2015-04-07 09:45:32 -04:00
Patrik Lundin
f9c212d09a
Specified file names for example code in docs/topics/forms/index.txt
2015-04-07 09:35:22 -04:00
Thomas Güttler
566c936236
Added admonition about reusable apps and AUTH_USER_PROFILE.
2015-04-06 19:49:46 -04:00
Sam Thursfield
1119063c69
Fixed #24556 -- Added reminder about HTTPS to passwords docs.
2015-04-03 10:55:11 -04:00
Aymeric Augustin
8520551478
Pointed Jinja2 users to Babel instead of makemessages.
2015-04-01 22:37:11 +02: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
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