[web2py] cannot access web2py.com today

2014-06-20 Thread Oli
is web2py.con down today? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2

[web2py] Re: how to create an album and view photos belonging to that album

2014-06-20 Thread Rahul
Hi Dave, All, I found a solution - It was easy - wrote a new function that takes a parameter, called it in the view and it redirects to the required page. query = (db.fotoz.album_name == "%s" % request.args(0)) and have this View Album in view. That sends the argument to this

[web2py] Re: cannot access web2py.com today

2014-06-20 Thread Niphlod
nope, it's up http://www.downforeveryoneorjustme.com/web2py.com On Friday, June 20, 2014 9:12:50 AM UTC+2, Oli wrote: > > is web2py.con down today? > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.

[web2py] Re: REG:datetime comparisions

2014-06-20 Thread Niphlod
import datetime dt_to = request.now dt_from = request.now - datetime.timedelta(days=1) db(db.table.dt_field >= dt_from)(db.table.dt_field < dt_to).select() On Friday, June 20, 2014 3:16:40 AM UTC+2, web2pylover wrote: > > Can you please help me in comparing two datetime values in db? > I mean

[web2py] log activity user

2014-06-20 Thread 黄祥
hi, i see there is auth_event table in web2py, is it for record activity user? i'm just see that something like group 1 created or user 1 logged for the records. is it also can record user activity, like : - user 1 add data product with id 1 - user 2 edit data product with id 1 - user 3 delete d

Re: [web2py] Creating table from csv file

2014-06-20 Thread Manuele Pesenti
Il 16/06/14 17:46, Alex Steinkamp ha scritto: > I am trying to import a csv file into a table in a database. I don't > always know the number of columns I will have. This is where I am > having my problems. I can't find anywhere how to dynamically add > columns to a table. Does anyone have any idea

[web2py] upgraded and lost + - in string:list

2014-06-20 Thread LoveWeb2py
I upgraded to the latest version of web2py and lost the + - in the SQLFORM which allowed users to add additional records. Any idea why? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/is

[web2py] Re: web2py and self-submission/postbacks - a newcomer asks

2014-06-20 Thread Graham Ranson
Don O'Hara writes: > > Hi Graham - Welcome to web2py ! I think you'll find that this group > has many people who can share many types of design patterns. > Thanks for the replies... Just to mention the others: I had looked at Django and Turbogears briefly - Django certainly gets the most me

[web2py] Re: upgraded and lost + - in string:list

2014-06-20 Thread Niphlod
did you update web2py.js too ? On Friday, June 20, 2014 3:13:32 PM UTC+2, LoveWeb2py wrote: > > I upgraded to the latest version of web2py and lost the + - in the SQLFORM > which allowed users to add additional records. Any idea why? > -- Resources: - http://web2py.com - http://web2py.com/book

[web2py] Re: web2py and self-submission/postbacks - a newcomer asks

2014-06-20 Thread Anthony
If your going to use the web2py FORM or SQLFORM functionality, then the same code both defines and processes the form, so self submission makes sense. If you would rather build all of your form creation and processing code from scratch, then sure, do whatever you want. Anthony On Friday, June

[web2py] Re: upgraded and lost + - in string:list

2014-06-20 Thread LoveWeb2py
yes. It is a completely new version. Should I revert back the web2py.js ? On Friday, June 20, 2014 9:28:08 AM UTC-4, Niphlod wrote: > > did you update web2py.js too ? > > On Friday, June 20, 2014 3:13:32 PM UTC+2, LoveWeb2py wrote: >> >> I upgraded to the latest version of web2py and lost the + -

[web2py] Re: web2py and self-submission/postbacks - a newcomer asks

2014-06-20 Thread Anthony
Self submission is also handy when you need to re-display a form with error messages after failed validation, as you avoid the need to do a redirect and store the validation errors in the session. Anthony On Friday, June 20, 2014 9:31:48 AM UTC-4, Anthony wrote: > > If your going to use the web

[web2py] Re: upgraded and lost + - in string:list

2014-06-20 Thread LoveWeb2py
any other recommendations? This is a big deal for our users On Friday, June 20, 2014 9:38:38 AM UTC-4, LoveWeb2py wrote: > > yes. It is a completely new version. Should I revert back the web2py.js ? > > On Friday, June 20, 2014 9:28:08 AM UTC-4, Niphlod wrote: >> >> did you update web2py.js too ?

Re: [web2py] RapydScript / RapydML - impressive

2014-06-20 Thread António Ramos
Can you post an example workflow inside web2py using rapidscript and rapydml ? 2014-06-20 5:59 GMT+01:00 Charles Law : > Hey everyone, > > I'm glad people have have discovered the RapydML and RapydScript! I > helped develop the original RapydScript, so I can answer some questions > about th

[web2py] globals.py include_meta() implementation

2014-06-20 Thread Carlos Cesar Caballero Díaz
Hi, what you think abaut chage the actual include_meta() implemetation: def include_meta(self): s = '\n'.join( '\n' % (k, xmlescape(v)) for k, v in (self.meta or {}).iteritems()) self.write(s, escape=False) by something like: def include_meta(self): s = "\n"; f

Re: [web2py] Re: Brainstorming

2014-06-20 Thread samuel bonill
> angular has routing and other functioinalities that web2py already has. > > Angular was created for implement client side apps, based in RESTful APi, like mobile apps with ng-cordova or interactive desktop application. I develop RESTful API in web2py, and the client with NodeJs + angular for des

[web2py] Show_if not working in custom forms

2014-06-20 Thread Louis Amon
Conditional fields are a great asset to web2py. Sadly, it seems to only work if you use SQLFORM's render, not with form.custom ! I've made several tests and for the same form defined in the controller & model, my view looks like: {{ extend "layout.html" }} {{ =form }} {{ =form.custom.begin }}

Re: [web2py] Brainstorming

2014-06-20 Thread Phyo Arkar
For UI i recommend Qooxdoo. Qooxdoo make us no need to write HTML and CSS , for 3 years already . We even forget what HTML and CSS looks like its javascript is so clean and truly object oriented . UI Widgets are professionally designed , we don't even need a graphic designer in our team. Integrat

[web2py] Re: Trying to use the LOAD helper, if a button is clicked

2014-06-20 Thread Andrew W
Thanks. -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" group. T

[web2py] Re: web2py v2.9.3: KeyError: 'Cannot resolve reference subject_subject in contract_contract definition'

2014-06-20 Thread Andrey K
I have exactly the same problem with moving from 2.74 to 2.95. After set up - lazy_tables=True - all references start to work properly. On Sunday, March 9, 2014 9:01:35 AM UTC+3, Tim Richardson wrote: > > was reported as > http://code.google.com/p/web2py/issues/detail?id=1896 > > > > -- Resour

Re: [web2py] Brainstorming

2014-06-20 Thread Michele Comitini
I share Massimo opinion about ractive.js: simple and effective. The author goal is not having a bloat of features, but rather having a foundation that helps developers, with few clear, but powerful enough concepts, translated in a small framework. Besides personal preferences, it's clear to me, t

Re: [web2py] Brainstorming

2014-06-20 Thread Phyo Arkar
On Sat, Jun 21, 2014 at 3:31 AM, Michele Comitini < michele.comit...@gmail.com> wrote: > My POV is that web2py should have a rather agnostic attitude toward a wide > range of frameworks, by having some kind of layer that would allow to keep > server side code mostly untouched when changing js fram

[web2py] Re: Show_if not working in custom forms

2014-06-20 Thread 黄祥
not sure, why, but if you want to achieve it conditional field in custom form, i think you can use jquery for that. e.g. https://groups.google.com/forum/#!searchin/web2py/show_if/web2py/yLlVE8bqS4w/HCFU9_Q33osJ best regards, stifan -- Resources: - http://web2py.com - http://web2py.com/book (Doc

[web2py] Re: Ubuntu 14.04 Setup Script with Apache - Issues?

2014-06-20 Thread Brian M
Ah, I figured out the problem with response.static_version the secret is that you MUST use the format #.#.# for the regex to work, so if you just put a value of say 0.1 like I did it won't match but if you put something like 0.1.0 your good to go. Still suspect there the other conduit issues mi