mirror of
https://github.com/Hopiu/django-fobi.git
synced 2026-05-25 04:33:44 +00:00
todos and docs updated
This commit is contained in:
parent
94b725aa1e
commit
9723715596
3 changed files with 7 additions and 34 deletions
|
|
@ -221,12 +221,12 @@ Must haves
|
|||
+ Show how to use (or make use) of `django-crispy-forms
|
||||
<https://github.com/maraujop/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.
|
||||
|
|
|
|||
|
|
@ -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 <target>' where <target> 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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue