diff --git a/TODOS.rst b/TODOS.rst index 3da47126..391acb33 100644 --- a/TODOS.rst +++ b/TODOS.rst @@ -221,12 +221,12 @@ Must haves + Show how to use (or make use) of `django-crispy-forms `_ package in the "simple"-like themes. -- Fix the checkbox select multiple plugin (doesn't post any data). ++ Fix the checkbox select multiple plugin (doesn't post any data). ++ Add CheckboxSelectMultiple field. - Make it possible to provide more than one `to` email address in the mail form handler plugin. - Since tests have been made quite general, create them for all contrib form elements and handlers (not yet for things like CAPTCHA). -- Add CheckboxSelectMultiple field. - Translate German and Russian URLs. - See if it's possible to make the "simple" theme base template (for Django admin) as much generic so that change between versions doesn't cause @@ -300,9 +300,9 @@ Should haves + In ``db_store` plugin, at the moment if labels are not unique, some data loss happens. Either, make the labels unique in a single form or avoid data loss in some other way. -- Fix the issue with `db_store` plugin and `allow_multiple` property (if ++ Fix the issue with `db_store` plugin and `allow_multiple` property (if set to True tests fail). -- Fix the issue with `initial` for `select_multiple` plugin. At the moment, ++ Fix the issue with `initial` for `select_multiple` plugin. At the moment, setting initial doesn't seem to work. - Document the changes. - Find out why subclassing the ``select_model_object`` plugin didn't work. diff --git a/docs/Makefile b/docs/Makefile index a3db9ae2..5d9b66df 100644 --- a/docs/Makefile +++ b/docs/Makefile @@ -19,7 +19,7 @@ ALLSPHINXOPTS = -d $(BUILDDIR)/doctrees $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) . # the i18n builder cannot share the environment and doctrees with the others I18NSPHINXOPTS = $(PAPEROPT_$(PAPER)) $(SPHINXOPTS) . -.PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest coverage gettext +.PHONY: help clean html dirhtml singlehtml pickle json htmlhelp qthelp devhelp epub latex latexpdf text man changes linkcheck doctest gettext help: @echo "Please use \`make ' where is one of" @@ -45,7 +45,6 @@ help: @echo " pseudoxml to make pseudoxml-XML files for display purposes" @echo " linkcheck to check all external links for integrity" @echo " doctest to run all doctests embedded in the documentation (if enabled)" - @echo " coverage to run coverage check of the documentation (if enabled)" clean: rm -rf $(BUILDDIR)/* @@ -167,11 +166,6 @@ doctest: @echo "Testing of doctests in the sources finished, look at the " \ "results in $(BUILDDIR)/doctest/output.txt." -coverage: - $(SPHINXBUILD) -b coverage $(ALLSPHINXOPTS) $(BUILDDIR)/coverage - @echo "Testing of coverage in the sources finished, look at the " \ - "results in $(BUILDDIR)/coverage/python.txt." - xml: $(SPHINXBUILD) -b xml $(ALLSPHINXOPTS) $(BUILDDIR)/xml @echo diff --git a/docs/make.bat b/docs/make.bat index 6ca3e235..c1eb2931 100644 --- a/docs/make.bat +++ b/docs/make.bat @@ -37,7 +37,6 @@ if "%1" == "help" ( echo. pseudoxml to make pseudoxml-XML files for display purposes echo. linkcheck to check all external links for integrity echo. doctest to run all doctests embedded in the documentation if enabled - echo. coverage to run coverage check of the documentation if enabled goto end ) @@ -48,14 +47,6 @@ if "%1" == "clean" ( ) -REM Check if sphinx-build is available and fallback to Python version if any -%SPHINXBUILD% 2> nul -if errorlevel 9009 goto sphinx_python -goto sphinx_ok - -:sphinx_python - -set SPHINXBUILD=python -m sphinx.__init__ %SPHINXBUILD% 2> nul if errorlevel 9009 ( echo. @@ -69,9 +60,6 @@ if errorlevel 9009 ( exit /b 1 ) -:sphinx_ok - - if "%1" == "html" ( %SPHINXBUILD% -b html %ALLSPHINXOPTS% %BUILDDIR%/html if errorlevel 1 exit /b 1 @@ -161,7 +149,7 @@ if "%1" == "latexpdf" ( %SPHINXBUILD% -b latex %ALLSPHINXOPTS% %BUILDDIR%/latex cd %BUILDDIR%/latex make all-pdf - cd %~dp0 + cd %BUILDDIR%/.. echo. echo.Build finished; the PDF files are in %BUILDDIR%/latex. goto end @@ -171,7 +159,7 @@ if "%1" == "latexpdfja" ( %SPHINXBUILD% -b latex %ALLSPHINXOPTS% %BUILDDIR%/latex cd %BUILDDIR%/latex make all-pdf-ja - cd %~dp0 + cd %BUILDDIR%/.. echo. echo.Build finished; the PDF files are in %BUILDDIR%/latex. goto end @@ -235,15 +223,6 @@ results in %BUILDDIR%/doctest/output.txt. goto end ) -if "%1" == "coverage" ( - %SPHINXBUILD% -b coverage %ALLSPHINXOPTS% %BUILDDIR%/coverage - if errorlevel 1 exit /b 1 - echo. - echo.Testing of coverage in the sources finished, look at the ^ -results in %BUILDDIR%/coverage/python.txt. - goto end -) - if "%1" == "xml" ( %SPHINXBUILD% -b xml %ALLSPHINXOPTS% %BUILDDIR%/xml if errorlevel 1 exit /b 1