<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?>
<feed xmlns="http://www.w3.org/2005/Atom">
  <id>http://groups.google.com/group/web2py</id>
  <title type="text">web2py-users Google Group</title>
  <subtitle type="text">
  Interest in web2py, former Gluon (for users) http://www.web2py.com Developers should also join: http://groups.google.com/group/web2py-developers
  </subtitle>
  <link href="/group/web2py/feed/atom_v1_0_msgs.xml" rel="self" title="web2py-users feed"/>
  <updated>2010-01-06T06:40:36Z</updated>
  <generator uri="http://groups.google.com" version="1.99">Google Groups</generator>
  <entry>
  <author>
  <name>Mikko</name>
  <email>mkkjoki...@gmail.com</email>
  </author>
  <updated>2010-01-06T06:40:36Z</updated>
  <id>http://groups.google.com/group/web2py/browse_frm/thread/cca0523241a3fb7a/bc88e2dfc988ef96?show_docid=bc88e2dfc988ef96</id>
  <link href="http://groups.google.com/group/web2py/browse_frm/thread/cca0523241a3fb7a/bc88e2dfc988ef96?show_docid=bc88e2dfc988ef96"/>
  <title type="text">static filename from id</title>
  <summary type="html" xml:space="preserve">
  Hello, &lt;br&gt; I have db table: SQLFIELD( row_id, string), SQLFIELD(image, upload) &lt;br&gt; how do I make image name look like row_id + &amp;quot;.jpeg&amp;quot;? &lt;br&gt; I&#39;m now using SQLFORM.
  </summary>
  </entry>
  <entry>
  <author>
  <name>KMax</name>
  <email>mkostri...@gmail.com</email>
  </author>
  <updated>2010-01-06T04:42:57Z</updated>
  <id>http://groups.google.com/group/web2py/browse_frm/thread/30676e5aa3304794/3631072f71732184?show_docid=3631072f71732184</id>
  <link href="http://groups.google.com/group/web2py/browse_frm/thread/30676e5aa3304794/3631072f71732184?show_docid=3631072f71732184"/>
  <title type="text">Re: make web2py_ajax.html support A links</title>
  <summary type="html" xml:space="preserve">
  I believe this code trap only links inside .ajax loaded page. &lt;br&gt; At least my plugin works well with this patch. &lt;br&gt; Thank you for checking this.
  </summary>
  </entry>
  <entry>
  <author>
  <name>mdipierro</name>
  <email>mdipie...@cs.depaul.edu</email>
  </author>
  <updated>2010-01-06T04:26:00Z</updated>
  <id>http://groups.google.com/group/web2py/browse_frm/thread/fb9fbb769999b8b1/fc7e87e5b4a155db?show_docid=fc7e87e5b4a155db</id>
  <link href="http://groups.google.com/group/web2py/browse_frm/thread/fb9fbb769999b8b1/fc7e87e5b4a155db?show_docid=fc7e87e5b4a155db"/>
  <title type="text">Re: What does form.accepts() do?</title>
  <summary type="html" xml:space="preserve">
  aha! Good point. This is one of the problems we had to solve when &lt;br&gt; designing web2py. &lt;br&gt; When web2py creates a form, it stores two hidden fields into it: &lt;br&gt; _formname and _formkey. If a form is submitted it contains _formname. &lt;br&gt; accepts perform validation only in this case. If a field does not pass &lt;br&gt; validation an error message is generated and inserted in the form
  </summary>
  </entry>
  <entry>
  <author>
  <name>Thadeus Burgess</name>
  <email>thade...@thadeusb.com</email>
  </author>
  <updated>2010-01-06T04:23:13Z</updated>
  <id>http://groups.google.com/group/web2py/browse_frm/thread/fb9fbb769999b8b1/a56fc08ade788329?show_docid=a56fc08ade788329</id>
  <link href="http://groups.google.com/group/web2py/browse_frm/thread/fb9fbb769999b8b1/a56fc08ade788329?show_docid=a56fc08ade788329"/>
  <title type="text">Re: [web2py:38417] What does form.accepts() do?</title>
  <summary type="html" xml:space="preserve">
  obviously if the there is no data form.accepts() returns false. &lt;br&gt; if form.accepts() #returns true&amp;lt;if form validates&amp;gt; or false&amp;lt;if no post &lt;br&gt; vars or form validation has errors &lt;br&gt; ... &lt;br&gt; elif form.errors: # there were errors &lt;br&gt; -Thadeus &lt;br&gt; On Tue, Jan 5, 2010 at 10:14 PM, Christopher Helck
  </summary>
  </entry>
  <entry>
  <author>
  <name>mdipierro</name>
  <email>mdipie...@cs.depaul.edu</email>
  </author>
  <updated>2010-01-06T04:19:34Z</updated>
  <id>http://groups.google.com/group/web2py/browse_frm/thread/71fde03973be775a/dcc909819ae87d0b?show_docid=dcc909819ae87d0b</id>
  <link href="http://groups.google.com/group/web2py/browse_frm/thread/71fde03973be775a/dcc909819ae87d0b?show_docid=dcc909819ae87d0b"/>
  <title type="text">Re: Book errata and minor bug in clean sessions script</title>
  <summary type="html" xml:space="preserve">
  I guess the book needs some cleanup in this respect. &lt;br&gt; I normally expire sessions in the model iteself. No cron and no &lt;br&gt; process.
  </summary>
  </entry>
  <entry>
  <author>
  <name>mdipierro</name>
  <email>mdipie...@cs.depaul.edu</email>
  </author>
  <updated>2010-01-06T04:17:37Z</updated>
  <id>http://groups.google.com/group/web2py/browse_frm/thread/e022a582d62cfb5d/2224f3439bf050b9?show_docid=2224f3439bf050b9</id>
  <link href="http://groups.google.com/group/web2py/browse_frm/thread/e022a582d62cfb5d/2224f3439bf050b9?show_docid=2224f3439bf050b9"/>
  <title type="text">Re: Validation design question</title>
  <summary type="html" xml:space="preserve">
  You need both since there is a small (very small) probability that two &lt;br&gt; users in different threads pass validation of the same new value and &lt;br&gt; then both of them reach the db. &lt;br&gt; On Jan 5, 10:04 pm, Christopher Helck &amp;lt;christopher.he...@gmail.com&amp;gt; &lt;br&gt; wrote:
  </summary>
  </entry>
  <entry>
  <author>
  <name>mdipierro</name>
  <email>mdipie...@cs.depaul.edu</email>
  </author>
  <updated>2010-01-06T04:16:10Z</updated>
  <id>http://groups.google.com/group/web2py/browse_frm/thread/073cf7ac501e6afd/a7ffab63be47c402?show_docid=a7ffab63be47c402</id>
  <link href="http://groups.google.com/group/web2py/browse_frm/thread/073cf7ac501e6afd/a7ffab63be47c402?show_docid=a7ffab63be47c402"/>
  <title type="text">Re: DAL Question</title>
  <summary type="html" xml:space="preserve">
  You are right. sqlite cannot drop columns and this means web2py cannot &lt;br&gt; change the contraint from unique=False to unique=False. Although it &lt;br&gt; will change the validator and it will enforce the contraint in forms. &lt;br&gt; On Jan 5, 9:43 pm, Christopher Helck &amp;lt;christopher.he...@gmail.com&amp;gt; &lt;br&gt; wrote:
  </summary>
  </entry>
  <entry>
  <author>
  <name>Christopher Helck</name>
  <email>christopher.he...@gmail.com</email>
  </author>
  <updated>2010-01-06T04:14:57Z</updated>
  <id>http://groups.google.com/group/web2py/browse_frm/thread/fb9fbb769999b8b1/51421d3b222b422c?show_docid=51421d3b222b422c</id>
  <link href="http://groups.google.com/group/web2py/browse_frm/thread/fb9fbb769999b8b1/51421d3b222b422c?show_docid=51421d3b222b422c"/>
  <title type="text">What does form.accepts() do?</title>
  <summary type="html" xml:space="preserve">
  I can not understand form.accepts(). I think it&#39;s because my intuitive &lt;br&gt; understanding of web2py is wrong. Here&#39;s how I think it works: &lt;br&gt; A simple controller function ( index() say) can return a string in which &lt;br&gt; case web2py will simply serve it up as a web page. &lt;br&gt; The same function can return a dictionary, in whcih case web2py takes the
  </summary>
  </entry>
  <entry>
  <author>
  <name>mdipierro</name>
  <email>mdipie...@cs.depaul.edu</email>
  </author>
  <updated>2010-01-06T04:12:47Z</updated>
  <id>http://groups.google.com/group/web2py/browse_frm/thread/31e9149ad731067d/8dffc5a1871f43ff?show_docid=8dffc5a1871f43ff</id>
  <link href="http://groups.google.com/group/web2py/browse_frm/thread/31e9149ad731067d/8dffc5a1871f43ff?show_docid=8dffc5a1871f43ff"/>
  <title type="text">Re: Facebook Connect for web2py is ready!</title>
  <summary type="html" xml:space="preserve">
  My home internet connection is unusable today. I even have difficulty &lt;br&gt; reading this posts. I look forward to try this tomorrow!
  </summary>
  </entry>
  <entry>
  <author>
  <name>John Heenan</name>
  <email>johnmhee...@gmail.com</email>
  </author>
  <updated>2010-01-06T04:08:02Z</updated>
  <id>http://groups.google.com/group/web2py/browse_frm/thread/71fde03973be775a/c13036d0d76630fc?show_docid=c13036d0d76630fc</id>
  <link href="http://groups.google.com/group/web2py/browse_frm/thread/71fde03973be775a/c13036d0d76630fc?show_docid=c13036d0d76630fc"/>
  <title type="text">Re: Book errata and minor bug in clean sessions script</title>
  <summary type="html" xml:space="preserve">
  I am a bit of a loss though as to why page 121 provides the following &lt;br&gt; web2py specific web2py/applications/xxx/cron/c rontab entry example for &lt;br&gt; expiring sessions: &lt;br&gt; @hourly root *applications/admin/cron/expir e_sessions.py &lt;br&gt; AND why page 123 provides an example of how to run web2py crontabs &lt;br&gt; from /etc/crontab (called &#39;hard cron&#39; by web2py):
  </summary>
  </entry>
  <entry>
  <author>
  <name>mdipierro</name>
  <email>mdipie...@cs.depaul.edu</email>
  </author>
  <updated>2010-01-06T04:07:15Z</updated>
  <id>http://groups.google.com/group/web2py/browse_frm/thread/da656398d1888622/64fbd31a8b0a7949?show_docid=64fbd31a8b0a7949</id>
  <link href="http://groups.google.com/group/web2py/browse_frm/thread/da656398d1888622/64fbd31a8b0a7949?show_docid=64fbd31a8b0a7949"/>
  <title type="text">Re: searching, entering many-to-many relationships</title>
  <summary type="html" xml:space="preserve">
  Download &lt;a target=&quot;_blank&quot; rel=nofollow href=&quot;http://web2py-crm.appspot.com&quot;&gt;[link]&lt;/a&gt; &lt;br&gt; It contains a plugin_tagging that is reusable. I have a new version in &lt;br&gt; the working with some minor improvements that you will be able to swap &lt;br&gt; when done. &lt;br&gt; Massimo
  </summary>
  </entry>
  <entry>
  <author>
  <name>Christopher Helck</name>
  <email>christopher.he...@gmail.com</email>
  </author>
  <updated>2010-01-06T04:04:42Z</updated>
  <id>http://groups.google.com/group/web2py/browse_frm/thread/e022a582d62cfb5d/5c01575f63e0c9f8?show_docid=5c01575f63e0c9f8</id>
  <link href="http://groups.google.com/group/web2py/browse_frm/thread/e022a582d62cfb5d/5c01575f63e0c9f8?show_docid=5c01575f63e0c9f8"/>
  <title type="text">Validation design question</title>
  <summary type="html" xml:space="preserve">
  Is it better to add validation at the DB level through Field level &lt;br&gt; constraints like &#39;unique&#39; or to validate at the form? When would it make &lt;br&gt; sense to validate at the DB level? &lt;br&gt; Thanks, &lt;br&gt; C. Helck
  </summary>
  </entry>
  <entry>
  <author>
  <name>Christopher Helck</name>
  <email>christopher.he...@gmail.com</email>
  </author>
  <updated>2010-01-06T03:43:26Z</updated>
  <id>http://groups.google.com/group/web2py/browse_frm/thread/073cf7ac501e6afd/5554fa4879d126e6?show_docid=5554fa4879d126e6</id>
  <link href="http://groups.google.com/group/web2py/browse_frm/thread/073cf7ac501e6afd/5554fa4879d126e6?show_docid=5554fa4879d126e6"/>
  <title type="text">Re: [web2py:38326] Re: DAL Question</title>
  <summary type="html" xml:space="preserve">
  I&#39;m able to reproduce the problem. &lt;br&gt; 1. Delete all database files. &lt;br&gt; 2. Create table &#39;foo&#39; without the unique attribute and add the three rows. &lt;br&gt; No errors because there is no unique constraint. &lt;br&gt; 3. Add &#39;unique=True&#39; to table foo&#39;s definition and add the three rows. No &lt;br&gt; error. I guess Sqlite can&#39;t update existing tables?
  </summary>
  </entry>
  <entry>
  <author>
  <name>Thadeus Burgess</name>
  <email>thade...@thadeusb.com</email>
  </author>
  <updated>2010-01-06T03:28:46Z</updated>
  <id>http://groups.google.com/group/web2py/browse_frm/thread/b80f4b597b4d0a36/b50d0e917c5f4e37?show_docid=b50d0e917c5f4e37</id>
  <link href="http://groups.google.com/group/web2py/browse_frm/thread/b80f4b597b4d0a36/b50d0e917c5f4e37?show_docid=b50d0e917c5f4e37"/>
  <title type="text">Re: [web2py:38410] Re: UliPad as IDE for web2py</title>
  <summary type="html" xml:space="preserve">
  80/20 gets in the way sometimes... 50/50 would be a better goal... &lt;br&gt; providing reasonable defaults, but also a reasonable way to customize &lt;br&gt; or rewrite base modules. I say 50/50 because there is NO way any &lt;br&gt; system can provide everything every developer may ever need. Though &lt;br&gt; django/werkzeug etc follow the 20/80 rule but requires that everything
  </summary>
  </entry>
  <entry>
  <author>
  <name>mdipierro</name>
  <email>mdipie...@cs.depaul.edu</email>
  </author>
  <updated>2010-01-06T03:21:56Z</updated>
  <id>http://groups.google.com/group/web2py/browse_frm/thread/b80f4b597b4d0a36/f2af7929764d5328?show_docid=f2af7929764d5328</id>
  <link href="http://groups.google.com/group/web2py/browse_frm/thread/b80f4b597b4d0a36/f2af7929764d5328?show_docid=f2af7929764d5328"/>
  <title type="text">Re: UliPad as IDE for web2py</title>
  <summary type="html" xml:space="preserve">
  No. &lt;br&gt; web2py does not do &amp;quot;import yourcontroller&amp;quot; &lt;br&gt; web2py does something like &amp;quot;execfile(yourcontroller) in environment&amp;quot; &lt;br&gt; on every request. &lt;br&gt; There are some optimizations having to do with byte compilation. &lt;br&gt; Because it executes the code on every request there no need to ever &lt;br&gt; checks the timestamp. &lt;br&gt; For instances created in models and controller, a new instance is
  </summary>
  </entry>
</feed>
