From f80b1063e404d28779a7c78cfd616fd416a2ef10 Mon Sep 17 00:00:00 2001 From: russkel Date: Sat, 8 Jun 2013 14:53:27 +0900 Subject: Update submitting-patches.txt Few quick fixes to the terminology in order to match what is used on the Django Trac at the moment. --- docs/internals/contributing/writing-code/submitting-patches.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs') diff --git a/docs/internals/contributing/writing-code/submitting-patches.txt b/docs/internals/contributing/writing-code/submitting-patches.txt index ed8aad99b3..8f8ddddab4 100644 --- a/docs/internals/contributing/writing-code/submitting-patches.txt +++ b/docs/internals/contributing/writing-code/submitting-patches.txt @@ -37,7 +37,7 @@ and time availability), claim it by following these steps: `ticket tracker`_. * If a ticket for this issue already exists, make sure nobody else has - claimed it. To do this, look at the "Assigned to" section of the ticket. + claimed it. To do this, look at the "Owned by" section of the ticket. If it's assigned to "nobody," then it's available to be claimed. Otherwise, somebody else is working on this ticket, and you either find another bug/feature to work on, or contact the developer working on the @@ -48,7 +48,7 @@ and time availability), claim it by following these steps: * Claim the ticket: - 1. click the "accept" radio button under "Action" near the bottom of the + 1. click the "assign to myself" radio button under "Action" near the bottom of the page, 2. then click "Submit changes." -- cgit v1.3 From 6a092f24e01b6448f4e5601968db82720c9397de Mon Sep 17 00:00:00 2001 From: Claude Paroz Date: Sat, 8 Jun 2013 15:05:50 +0200 Subject: Allow build of translated documentation --- docs/Makefile | 3 ++- docs/conf.py | 3 +++ 2 files changed, 5 insertions(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/Makefile b/docs/Makefile index 2a8bcd7101..a2c926c7ea 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -6,11 +6,12 @@ SPHINXOPTS = SPHINXBUILD = sphinx-build PAPER = BUILDDIR = _build +LANGUAGE = # Internal variables. PAPEROPT_a4 = -D latex_paper_size=a4 PAPEROPT_letter = -D latex_paper_size=letter -ALLSPHINXOPTS = -n -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) . +ALLSPHINXOPTS = -n -d $(BUILDDIR)/doctrees -D language=$(LANGUAGE) $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) . # the i18n builder cannot share the environment and doctrees with the others I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) . diff --git a/docs/conf.py b/docs/conf.py index a01ddb60b8..feff99b6f4 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -77,6 +77,9 @@ django_next_version = '1.6' # for a list of supported languages. #language = None +# Location for .po/.mo translation files used when language is set +locale_dirs = ['locale/'] + # There are two options for replacing |today|: either, you set today to some # non-false value, then it is used: #today = '' -- cgit v1.3 From 706eced9bb9012788494c14566577ed691924e82 Mon Sep 17 00:00:00 2001 From: Camilo Nova Date: Sat, 8 Jun 2013 10:45:39 -0500 Subject: Update flatpages.txt Fixed typo --- docs/ref/contrib/flatpages.txt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'docs') diff --git a/docs/ref/contrib/flatpages.txt b/docs/ref/contrib/flatpages.txt index 292b304acb..cff3f680d4 100644 --- a/docs/ref/contrib/flatpages.txt +++ b/docs/ref/contrib/flatpages.txt @@ -47,7 +47,7 @@ Then either: 3. Add an entry in your URLconf. For example:: urlpatterns = patterns('', - ('^pages/', include('django.contrib.flatpages.urls')), + (r'^pages/', include('django.contrib.flatpages.urls')), ) or: @@ -74,7 +74,7 @@ There are several ways to include the flat pages in your URLconf. You can dedicate a particular path to flat pages:: urlpatterns = patterns('', - ('^pages/', include('django.contrib.flatpages.urls')), + (r'^pages/', include('django.contrib.flatpages.urls')), ) You can also set it up as a "catchall" pattern. In this case, it is important -- cgit v1.3 From 4bd6e5e89501680235ded6c460657a1231231931 Mon Sep 17 00:00:00 2001 From: Kenny Rachuonyo Date: Sun, 9 Jun 2013 08:23:48 +0300 Subject: Update media.txt Fixed typo: froms -> forms --- docs/topics/forms/media.txt | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/topics/forms/media.txt b/docs/topics/forms/media.txt index b014e97119..a1fd533241 100644 --- a/docs/topics/forms/media.txt +++ b/docs/topics/forms/media.txt @@ -49,7 +49,7 @@ define the media requirements. Here's a simple example:: - from django import froms + from django import forms class CalendarWidget(forms.TextInput): class Media: -- cgit v1.3 From 175a102ddceae2ebd1a4e03916a23adafc35bda5 Mon Sep 17 00:00:00 2001 From: Tim Graham Date: Thu, 6 Jun 2013 14:15:26 -0400 Subject: Fixed #20567 - Documented BoundField.id_for_label. Thanks littlepig for the suggestion. --- docs/ref/forms/api.txt | 23 +++++++++++++++++++++++ docs/ref/forms/widgets.txt | 5 ++++- 2 files changed, 27 insertions(+), 1 deletion(-) (limited to 'docs') diff --git a/docs/ref/forms/api.txt b/docs/ref/forms/api.txt index 67e3aab712..c05430c64e 100644 --- a/docs/ref/forms/api.txt +++ b/docs/ref/forms/api.txt @@ -688,6 +688,29 @@ by a ``Widget``:: >>> print(bound_form['subject'].value()) hi +.. attribute:: BoundField.id_for_label + +Use this property to render the ID of this field. For example, if you are +manually constructing a ``