Skip to content

Commit 3ccd161

Browse files
committed
grid changed again field.represent overrides grid.represent_by_type else too many exceptions
1 parent ba34226 commit 3ccd161

49 files changed

Lines changed: 1661 additions & 1480 deletions

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
# Sphinx build info version 1
22
# This file hashes the configuration used when building these files. When it is not found, a full rebuild will be done.
3-
config: d7b3a18a915a2ff0bc4b8a132ca0d27a
3+
config: f0db29b0663542267f2bca43d72818cc
44
tags: 645f666f9bcd5a90fca523b33c5a78b7

apps/_documentation/static/en/_static/documentation_options.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
const DOCUMENTATION_OPTIONS = {
2-
VERSION: '20250524',
2+
VERSION: '20250902',
33
LANGUAGE: 'en',
44
COLLAPSE_INDEX: false,
55
BUILDER: 'html',

apps/_documentation/static/en/chapter-01.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" />
77

88
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
9-
<title>What is py4web? &mdash; py4web 20250524 documentation</title>
9+
<title>What is py4web? &mdash; py4web 20250902 documentation</title>
1010
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=b86133f3" />
1111
<link rel="stylesheet" type="text/css" href="_static/css/theme.css?v=e59714d7" />
1212
<link rel="stylesheet" type="text/css" href="_static/css/toggle.css?v=029c1802" />
@@ -15,7 +15,7 @@
1515
<link rel="shortcut icon" href="_static/logo-32x32.ico"/>
1616
<script src="_static/jquery.js?v=5d32c60e"></script>
1717
<script src="_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
18-
<script src="_static/documentation_options.js?v=a88f9fdd"></script>
18+
<script src="_static/documentation_options.js?v=2a8d5aee"></script>
1919
<script src="_static/doctools.js?v=9a2dae69"></script>
2020
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
2121
<script src="_static/js/toggle.js?v=e1b5a5a1"></script>
@@ -228,7 +228,7 @@ <h2>Acknowledgments<a class="headerlink" href="#acknowledgments" title="Link to
228228
<hr/>
229229

230230
<div role="contentinfo">
231-
<p>&#169; Copyright 2025, BSDv3 License.</p>
231+
<p>&#169; Copyright 2020, BSDv3 License.</p>
232232
</div>
233233

234234
Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a
@@ -253,7 +253,7 @@ <h2>Acknowledgments<a class="headerlink" href="#acknowledgments" title="Link to
253253
<label for="switch"></label>
254254
</span>
255255

256-
v: 20250524
256+
v: 20250902
257257
<span class="fa fa-caret-down"></span>
258258
</span>
259259
<div class="rst-other-versions">

apps/_documentation/static/en/chapter-02.html

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" />
77

88
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
9-
<title>Help, resources and hints &mdash; py4web 20250524 documentation</title>
9+
<title>Help, resources and hints &mdash; py4web 20250902 documentation</title>
1010
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=b86133f3" />
1111
<link rel="stylesheet" type="text/css" href="_static/css/theme.css?v=e59714d7" />
1212
<link rel="stylesheet" type="text/css" href="_static/css/toggle.css?v=029c1802" />
@@ -15,7 +15,7 @@
1515
<link rel="shortcut icon" href="_static/logo-32x32.ico"/>
1616
<script src="_static/jquery.js?v=5d32c60e"></script>
1717
<script src="_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
18-
<script src="_static/documentation_options.js?v=a88f9fdd"></script>
18+
<script src="_static/documentation_options.js?v=2a8d5aee"></script>
1919
<script src="_static/doctools.js?v=9a2dae69"></script>
2020
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
2121
<script src="_static/js/toggle.js?v=e1b5a5a1"></script>
@@ -143,6 +143,7 @@ <h3>Tutorials and video<a class="headerlink" href="#tutorials-and-video" title="
143143
<li><p>the <a class="reference external" href="https://github.com/jpsteil/southbreeze">South Breeze Enterprises demo app</a> by <a class="reference external" href="https://github.com/jpsteil">Jim Steil</a>. It is built around
144144
the structure of the Microsoft Northwind database,
145145
but converted to SQLite. You can view the final result online <a class="reference external" href="https://southbreeze.pythonbench.com">here</a></p></li>
146+
<li><p>the <a class="reference external" href="https://py4web-tutoriales.blogspot.com">py4web blog in spanish</a> by Alan Etkin, wich covers the basics to start with the framework plus examples. It is thought as a resource for sudents and aims to provide a full web development course</p></li>
146147
</ul>
147148
</section>
148149
<section id="the-sources-on-github">
@@ -235,7 +236,7 @@ <h2>How to contribute<a class="headerlink" href="#how-to-contribute" title="Link
235236
<hr/>
236237

237238
<div role="contentinfo">
238-
<p>&#169; Copyright 2025, BSDv3 License.</p>
239+
<p>&#169; Copyright 2020, BSDv3 License.</p>
239240
</div>
240241

241242
Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a
@@ -260,7 +261,7 @@ <h2>How to contribute<a class="headerlink" href="#how-to-contribute" title="Link
260261
<label for="switch"></label>
261262
</span>
262263

263-
v: 20250524
264+
v: 20250902
264265
<span class="fa fa-caret-down"></span>
265266
</span>
266267
<div class="rst-other-versions">

apps/_documentation/static/en/chapter-03.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" />
77

88
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
9-
<title>Installation and Startup &mdash; py4web 20250524 documentation</title>
9+
<title>Installation and Startup &mdash; py4web 20250902 documentation</title>
1010
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=b86133f3" />
1111
<link rel="stylesheet" type="text/css" href="_static/css/theme.css?v=e59714d7" />
1212
<link rel="stylesheet" type="text/css" href="_static/tabs.css?v=a5c4661c" />
@@ -16,7 +16,7 @@
1616
<link rel="shortcut icon" href="_static/logo-32x32.ico"/>
1717
<script src="_static/jquery.js?v=5d32c60e"></script>
1818
<script src="_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
19-
<script src="_static/documentation_options.js?v=a88f9fdd"></script>
19+
<script src="_static/documentation_options.js?v=2a8d5aee"></script>
2020
<script src="_static/doctools.js?v=9a2dae69"></script>
2121
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
2222
<script src="_static/tabs.js?v=3030b3cb"></script>
@@ -715,7 +715,7 @@ <h3>Deployment on Ubuntu<a class="headerlink" href="#deployment-on-ubuntu" title
715715
<hr/>
716716

717717
<div role="contentinfo">
718-
<p>&#169; Copyright 2025, BSDv3 License.</p>
718+
<p>&#169; Copyright 2020, BSDv3 License.</p>
719719
</div>
720720

721721
Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a
@@ -740,7 +740,7 @@ <h3>Deployment on Ubuntu<a class="headerlink" href="#deployment-on-ubuntu" title
740740
<label for="switch"></label>
741741
</span>
742742

743-
v: 20250524
743+
v: 20250902
744744
<span class="fa fa-caret-down"></span>
745745
</span>
746746
<div class="rst-other-versions">

apps/_documentation/static/en/chapter-04.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" />
77

88
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
9-
<title>The Dashboard &mdash; py4web 20250524 documentation</title>
9+
<title>The Dashboard &mdash; py4web 20250902 documentation</title>
1010
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=b86133f3" />
1111
<link rel="stylesheet" type="text/css" href="_static/css/theme.css?v=e59714d7" />
1212
<link rel="stylesheet" type="text/css" href="_static/css/toggle.css?v=029c1802" />
@@ -15,7 +15,7 @@
1515
<link rel="shortcut icon" href="_static/logo-32x32.ico"/>
1616
<script src="_static/jquery.js?v=5d32c60e"></script>
1717
<script src="_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
18-
<script src="_static/documentation_options.js?v=a88f9fdd"></script>
18+
<script src="_static/documentation_options.js?v=2a8d5aee"></script>
1919
<script src="_static/doctools.js?v=9a2dae69"></script>
2020
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
2121
<script src="_static/js/toggle.js?v=e1b5a5a1"></script>
@@ -169,7 +169,7 @@ <h2>Login into the Dashboard<a class="headerlink" href="#login-into-the-dashboar
169169
<hr/>
170170

171171
<div role="contentinfo">
172-
<p>&#169; Copyright 2025, BSDv3 License.</p>
172+
<p>&#169; Copyright 2020, BSDv3 License.</p>
173173
</div>
174174

175175
Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a
@@ -194,7 +194,7 @@ <h2>Login into the Dashboard<a class="headerlink" href="#login-into-the-dashboar
194194
<label for="switch"></label>
195195
</span>
196196

197-
v: 20250524
197+
v: 20250902
198198
<span class="fa fa-caret-down"></span>
199199
</span>
200200
<div class="rst-other-versions">

apps/_documentation/static/en/chapter-05.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" />
77

88
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
9-
<title>Creating an app &mdash; py4web 20250524 documentation</title>
9+
<title>Creating an app &mdash; py4web 20250902 documentation</title>
1010
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=b86133f3" />
1111
<link rel="stylesheet" type="text/css" href="_static/css/theme.css?v=e59714d7" />
1212
<link rel="stylesheet" type="text/css" href="_static/css/toggle.css?v=029c1802" />
@@ -15,7 +15,7 @@
1515
<link rel="shortcut icon" href="_static/logo-32x32.ico"/>
1616
<script src="_static/jquery.js?v=5d32c60e"></script>
1717
<script src="_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
18-
<script src="_static/documentation_options.js?v=a88f9fdd"></script>
18+
<script src="_static/documentation_options.js?v=2a8d5aee"></script>
1919
<script src="_static/doctools.js?v=9a2dae69"></script>
2020
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
2121
<script src="_static/js/toggle.js?v=e1b5a5a1"></script>
@@ -582,7 +582,7 @@ <h2>Custom error pages<a class="headerlink" href="#custom-error-pages" title="Li
582582
<hr/>
583583

584584
<div role="contentinfo">
585-
<p>&#169; Copyright 2025, BSDv3 License.</p>
585+
<p>&#169; Copyright 2020, BSDv3 License.</p>
586586
</div>
587587

588588
Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a
@@ -607,7 +607,7 @@ <h2>Custom error pages<a class="headerlink" href="#custom-error-pages" title="Li
607607
<label for="switch"></label>
608608
</span>
609609

610-
v: 20250524
610+
v: 20250902
611611
<span class="fa fa-caret-down"></span>
612612
</span>
613613
<div class="rst-other-versions">

apps/_documentation/static/en/chapter-06.html

Lines changed: 6 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" />
77

88
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
9-
<title>Fixtures &mdash; py4web 20250524 documentation</title>
9+
<title>Fixtures &mdash; py4web 20250902 documentation</title>
1010
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=b86133f3" />
1111
<link rel="stylesheet" type="text/css" href="_static/css/theme.css?v=e59714d7" />
1212
<link rel="stylesheet" type="text/css" href="_static/css/toggle.css?v=029c1802" />
@@ -15,7 +15,7 @@
1515
<link rel="shortcut icon" href="_static/logo-32x32.ico"/>
1616
<script src="_static/jquery.js?v=5d32c60e"></script>
1717
<script src="_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
18-
<script src="_static/documentation_options.js?v=a88f9fdd"></script>
18+
<script src="_static/documentation_options.js?v=2a8d5aee"></script>
1919
<script src="_static/doctools.js?v=9a2dae69"></script>
2020
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
2121
<script src="_static/js/toggle.js?v=e1b5a5a1"></script>
@@ -804,13 +804,8 @@ <h2>Caveats about fixtures<a class="headerlink" href="#caveats-about-fixtures" t
804804
after submit, additional code needs to be added, as we will see later
805805
on. This example is assuming that you created the application from the
806806
scaffolding app, so that a generic.html is already created for you.</p>
807-
<p>The <code class="docutils literal notranslate"><span class="pre">readable</span></code>, <code class="docutils literal notranslate"><span class="pre">writable</span></code>, <code class="docutils literal notranslate"><span class="pre">default</span></code>, <code class="docutils literal notranslate"><span class="pre">update</span></code>, and <code class="docutils literal notranslate"><span class="pre">require</span></code>
808-
attributes of <code class="docutils literal notranslate"><span class="pre">db.{table}.{field}</span></code> are special objects of class
809-
<code class="docutils literal notranslate"><span class="pre">ThreadSafeVariable</span></code> defined the <code class="docutils literal notranslate"><span class="pre">threadsafevariable</span></code> module. These
810-
objects are very much like Python thread local objects but they are
811-
re-initialized at every request using the value specified outside of the
812-
action. This means that actions can safely change the values of these
813-
attributes.</p>
807+
<p>The full list of database field attributes which can be changed safely
808+
is found here: <a class="reference internal" href="chapter-07.html#thread-safety-and-field-attributes"><span class="std std-ref">Thread safety and Field attributes</span></a></p>
814809
</section>
815810
<section id="custom-fixtures">
816811
<h2>Custom fixtures<a class="headerlink" href="#custom-fixtures" title="Link to this heading"></a></h2>
@@ -1120,7 +1115,7 @@ <h2>Convenience Decorators<a class="headerlink" href="#convenience-decorators" t
11201115
<hr/>
11211116

11221117
<div role="contentinfo">
1123-
<p>&#169; Copyright 2025, BSDv3 License.</p>
1118+
<p>&#169; Copyright 2020, BSDv3 License.</p>
11241119
</div>
11251120

11261121
Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a
@@ -1145,7 +1140,7 @@ <h2>Convenience Decorators<a class="headerlink" href="#convenience-decorators" t
11451140
<label for="switch"></label>
11461141
</span>
11471142

1148-
v: 20250524
1143+
v: 20250902
11491144
<span class="fa fa-caret-down"></span>
11501145
</span>
11511146
<div class="rst-other-versions">

apps/_documentation/static/en/chapter-07.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" />
77

88
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
9-
<title>The Database Abstraction Layer (DAL) &mdash; py4web 20250524 documentation</title>
9+
<title>The Database Abstraction Layer (DAL) &mdash; py4web 20250902 documentation</title>
1010
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=b86133f3" />
1111
<link rel="stylesheet" type="text/css" href="_static/css/theme.css?v=e59714d7" />
1212
<link rel="stylesheet" type="text/css" href="_static/css/toggle.css?v=029c1802" />
@@ -15,7 +15,7 @@
1515
<link rel="shortcut icon" href="_static/logo-32x32.ico"/>
1616
<script src="_static/jquery.js?v=5d32c60e"></script>
1717
<script src="_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
18-
<script src="_static/documentation_options.js?v=a88f9fdd"></script>
18+
<script src="_static/documentation_options.js?v=2a8d5aee"></script>
1919
<script src="_static/doctools.js?v=9a2dae69"></script>
2020
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
2121
<script src="_static/js/toggle.js?v=e1b5a5a1"></script>
@@ -4642,7 +4642,7 @@ <h3>Google NoSQL (Datastore)<a class="headerlink" href="#google-nosql-datastore"
46424642
<hr/>
46434643

46444644
<div role="contentinfo">
4645-
<p>&#169; Copyright 2025, BSDv3 License.</p>
4645+
<p>&#169; Copyright 2020, BSDv3 License.</p>
46464646
</div>
46474647

46484648
Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a
@@ -4667,7 +4667,7 @@ <h3>Google NoSQL (Datastore)<a class="headerlink" href="#google-nosql-datastore"
46674667
<label for="switch"></label>
46684668
</span>
46694669

4670-
v: 20250524
4670+
v: 20250902
46714671
<span class="fa fa-caret-down"></span>
46724672
</span>
46734673
<div class="rst-other-versions">

apps/_documentation/static/en/chapter-08.html

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<meta charset="utf-8" /><meta name="viewport" content="width=device-width, initial-scale=1" />
77

88
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
9-
<title>The RestAPI &mdash; py4web 20250524 documentation</title>
9+
<title>The RestAPI &mdash; py4web 20250902 documentation</title>
1010
<link rel="stylesheet" type="text/css" href="_static/pygments.css?v=b86133f3" />
1111
<link rel="stylesheet" type="text/css" href="_static/css/theme.css?v=e59714d7" />
1212
<link rel="stylesheet" type="text/css" href="_static/css/toggle.css?v=029c1802" />
@@ -15,7 +15,7 @@
1515
<link rel="shortcut icon" href="_static/logo-32x32.ico"/>
1616
<script src="_static/jquery.js?v=5d32c60e"></script>
1717
<script src="_static/_sphinx_javascript_frameworks_compat.js?v=2cd50e6c"></script>
18-
<script src="_static/documentation_options.js?v=a88f9fdd"></script>
18+
<script src="_static/documentation_options.js?v=2a8d5aee"></script>
1919
<script src="_static/doctools.js?v=9a2dae69"></script>
2020
<script src="_static/sphinx_highlight.js?v=dc90522c"></script>
2121
<script src="_static/js/toggle.js?v=e1b5a5a1"></script>
@@ -1140,7 +1140,7 @@ <h2>The RestAPI response<a class="headerlink" href="#the-restapi-response" title
11401140
<hr/>
11411141

11421142
<div role="contentinfo">
1143-
<p>&#169; Copyright 2025, BSDv3 License.</p>
1143+
<p>&#169; Copyright 2020, BSDv3 License.</p>
11441144
</div>
11451145

11461146
Built with <a href="https://www.sphinx-doc.org/">Sphinx</a> using a
@@ -1165,7 +1165,7 @@ <h2>The RestAPI response<a class="headerlink" href="#the-restapi-response" title
11651165
<label for="switch"></label>
11661166
</span>
11671167

1168-
v: 20250524
1168+
v: 20250902
11691169
<span class="fa fa-caret-down"></span>
11701170
</span>
11711171
<div class="rst-other-versions">

0 commit comments

Comments
 (0)