Skip to content

Commit 11444a6

Browse files
authored
Merge pull request #533 from Pylons/prep-release-3
Prep for release
2 parents 7d1b9ed + 1c1dd92 commit 11444a6

File tree

5 files changed

+8
-13
lines changed

5 files changed

+8
-13
lines changed

README.rst

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,6 @@ Example code:
7676
.. code-block:: python
7777
7878
"""Self-contained Deform demo example."""
79-
from __future__ import print_function
8079
8180
from pyramid.config import Configurator
8281
from pyramid.session import UnencryptedCookieSessionFactoryConfig
@@ -104,7 +103,7 @@ Example code:
104103
105104
schema = ExampleSchema().bind(request=request)
106105
107-
# Create a styled button with some extra Bootstrap 3 CSS classes
106+
# Create a styled button with some extra Bootstrap 5 CSS classes
108107
process_btn = deform.form.Button(name='process', title="Process")
109108
form = deform.form.Form(schema, buttons=(process_btn,))
110109
@@ -163,12 +162,8 @@ This library is actively developed and maintained. Deform 2.x branch has been us
163162
Projects using Deform
164163
---------------------
165164

166-
* `Websauna <https://websauna.org/>`_
167-
168165
* `Kotti <http://kotti.pylonsproject.org/>`_
169166

170-
* `Substance D <http://www.substanced.net/>`_
171-
172167
Community and links
173168
-------------------
174169

docs/index.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,8 +15,8 @@ use cases <https://deformdemo.pylonsproject.org/>`_ are supported out of the box
1515

1616
Deform integrates with the `Pyramid web framework <https://trypyramid.com/>`_
1717
and several other web frameworks. Deform comes with `Chameleon templates
18-
<https://chameleon.readthedocs.io/en/latest/>`_ and `Bootstrap 3
19-
<https://getbootstrap.com/docs/3.4/>`_ styling. Under the hood, `Colander schemas
18+
<https://chameleon.readthedocs.io/en/latest/>`_ and `Bootstrap 5
19+
<https://getbootstrap.com/docs/5.3/>`_ styling. Under the hood, `Colander schemas
2020
<https://github.com/Pylons/colander>`_ are used for serialization and
2121
validation. The `Peppercorn <https://github.com/Pylons/peppercorn>`_ library
2222
maps HTTP form submissions to nested structure.

docs/templates.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Alternative template engines
1818
Deform is compatible with any template engine.
1919

2020
Even though Deform widgets themselves are rendered in Chameleon, you can place the forms on pages in any template language.
21-
For example, `Websauna <https://websauna.org>`_ places Deform forms inside Jinja2 page templates.
21+
For example you can place Deform forms inside Jinja2 page templates.
2222

2323
The rendered forms are simply Python strings.
2424

@@ -33,7 +33,7 @@ Chameleon template paths are stored in an in-process global variable.
3333
from deform.renderer import configure_zpt_renderer
3434
3535
# Make Deform widgets aware of our widget template paths
36-
configure_zpt_renderer(["websauna.system.form:templates/deform"])
36+
configure_zpt_renderer(["YOUAPP.form:templates/deform"])
3737
3838
3939
Overriding the default templates

docs/validation.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -112,7 +112,7 @@ Use ``form.widget.set_error()`` to set a form level error.
112112
"""Newsletter admin form."""
113113
schema = NewsletterSend().bind(request=request)
114114
115-
# Create a styled button with some extra Bootstrap 3 CSS classes
115+
# Create a styled button with some extra Bootstrap 5 CSS classes
116116
b = deform.Button(name='process', title="Send", css_class="btn-block btn-lg")
117117
form = deform.Form(schema, buttons=(b, ), resource_registry=ResourceRegistry(request))
118118

setup.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,8 +95,8 @@ def readfile(name):
9595
keywords="web forms form generation schema validation pyramid",
9696
author="Chris McDonough, Agendaless Consulting",
9797
author_email="pylons-discuss@googlegroups.com",
98-
maintainer="Steve Piercy",
99-
maintainer_email="web@stevepiercy.com",
98+
maintainer="Josip Delić, Stéphane Brunner",
99+
maintainer_email="delijati@gmx.net, stephane.brunner@gmail.com",
100100
url="https://docs.pylonsproject.org/projects/deform/en/latest/",
101101
project_urls={
102102
'Documentation': docs_url,

0 commit comments

Comments
 (0)