That's the kind of thing I write with my students in 3hrs of class. It is a
bit too simple to be useful.
On Friday, 31 July 2015 13:33:37 UTC-5, Ramos wrote:
>
> this is another simple python web framework .
>
>
> http://toastdriven.com/blog/2009/mar/07/itty-sinatra-inspired-micro-framework/
>
>
On Friday, July 31, 2015 at 10:26:30 AM UTC-7, Massimo Di Pierro wrote:
>
> I think the more the merrier. It has less batteries included when compared
> to web2py but it will be appealing to people who like Flask over web2py.
> The author, Giovanni, is one of the core web2py developers so he kn
Thanks for for taking the time to write detailed examples Jorge. Might have
minor questions later but works great so far!
Alex
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/lis
nginx coupled with uwsgi is quite popular and easy to maintain compared to
apache. scripts are in the scripts directory they also take care of
installing uwsgi
2015-07-31 20:38 GMT+02:00 Dave :
> Thanks for weighing in on this. I'll update my apache config and keep an
> eye on memory usage.
>
>
I found that I was unable to authenticate to an OpenLDAP server running TLS
on port 389 (which is the recommended way apparently). The following patch
to ldap_auth.py fixes things for me; YMMV.
Please add to upstream source if helpful.
--- gluon/contrib/login_methods/ldap_auth.py.original 201
+1. Quite like it for our use case and plan to direct more resources to it.
>
>
--
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
On Monday, September 16, 2013 at 2:49:08 AM UTC-4, Hadi Sunyoto wrote:
>
> There is an example validation done in controller but there is no example
> validation done in model
>
> My table:
>
> db.define_table('config',
> Field('config_name', 'string', length=255, required=True, unique=True),
Thanks for weighing in on this. I'll update my apache config and keep an
eye on memory usage.
Are there any plans for a one-step deployment script for a web server other
than apache? Which web server is the next most popular option with web2py
community?
Dave
On Friday, 31 July 2015 11:19:5
I'm wondering just the same. How can this be done in model?.
Particularly I want to use IS_IN_DB on a referenced field based on a query
filtering by the value of another field of the table.
I've tried this but didn't work:
db.table1.field1.requires = lambda x,row: IS_IN_DB(db(db.table2.field2
this is another simple python web framework .
http://toastdriven.com/blog/2009/mar/07/itty-sinatra-inspired-micro-framework/
2015-07-31 18:26 GMT+01:00 Massimo Di Pierro :
> I think the more the merrier. It has less batteries included when compared
> to web2py but it will be appealing to peopl
Thank you Anthony!
That was exactly what I did last night, with a post I found here.
I just replied here with some questions, so I'll have to wait for my post
to be approved and published so you can see it.
I'd appreciate any insights.
Regards,
Pablo.
El viernes, 31 de julio de 2015, 12:5
Thank You Massimo!
Yesterday after I posted my question, I found another post here and went
ahead and do this:
On the image table I defined:
*Field('user_id', db.auth_user, default=auth.user_id, writable=False,
readable=False),*
And then I also defined this:
*db.image.user_id.requires = IS_I
Using auth.signature is a good approach (though may be overkill if you
don't need the other fields it creates). But for reference, to achieve what
you want, just hide the user_id field and give it a default value:
Field('user_id', 'reference auth_user', writable=False, default=auth.user_id
)
An
I think the more the merrier. It has less batteries included when compared
to web2py but it will be appealing to people who like Flask over web2py.
The author, Giovanni, is one of the core web2py developers so he knows what
he is doing!
On Friday, 31 July 2015 12:11:18 UTC-5, eric cuver wrote:
Do not do this:
db.define_table('image',
Field('user_id', 'reference auth_user'),
Field('file', 'upload'),
Field('description', 'text'))
do
db.define_table('image',
Field('file', 'upload'),
Field('description', 'text
You do not need another controller in my opinion. You can simply do:
def user():
if request.args(0)=='register':
response.files.append(URL('static','js/deal-with-fields.js'))
return dict(form=auth())
and then you put what you need in the deal-with-fields.js
On Friday, 31 July 2015 08:
I think that commit should be reversed. O changed to processes=5 threads=1.
but this may cause an increased memory usage and it is not a good thing
with apache. Agreed that Apache is no longer recommended (not just for
web2py users) but we should continue to support it because it is still the
m
:)
The DAL (now pyDAL) have been extracted from web2py just for it!!
Richard
On Thu, Jul 30, 2015 at 5:13 PM, eric cuver
wrote:
> What do you think of this framework which is clearly inspired by web2py
>
> http://weppy.org/
>
> --
> Resources:
> - http://web2py.com
> - http://web2py.com/book (
Hello Guys,
Just starting with Web2Py.
I'm working on a project and need to do the following:
I have image defined in the DB like this:
db.define_table('image',
Field('user_id', 'reference auth_user'),
Field('file', 'upload'),
Field('descriptio
Test
--
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.
To u
What do you think of this framework which is clearly inspired by web2py
http://weppy.org/
--
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 th
I'd like to implement an editor interface for posting articles to my site.
The left side of the interface will be the editor window, and the right
side is the preview window (which shows changes, as they are made by the
user, in real-time).
The editor interface will also allow the user to brin
I have form with date field i have setup default format(dd/mm/). i am
using web2py sqlform. when i select date from date picker. it used to take
dd/mm/yy. i know its very silly question. i had tried in ajax.html file and
check my db file also but i am not able to find the solution. can any o
Hi Derek,
Ive tried and its working...
Thanks (see attached)
i will just have to create a separate user registration view and not use
the default 'user/register' to have this function in my auth_user
registration
Thanks...
On Friday, July 31, 2015 at 2:30:56 PM UTC+8, Derek wrote:
> You w
I appreciate you sharing your knowledge on this! Sounds like it may have
been a bad commit? Or, at least there should be some mention in web2py
documentation about changing these values, mainly based on hardware?
Thanks again, sounds like my best bet is to reconfigure the server for quad
core
Hi Massimo
On Wednesday, July 29, 2015 at 6:30:18 AM UTC+8, Wabbajack wrote:
> I have created a *factory,department,section and team* table in the
> database
> and a *factory* is on a *one to many* relationship with *department*
> a *department* is on a *one to many*
Hello!
I've been developing with web2py in arch linux for some time now with no
problem (just recall to run "python2 web2py.py"). It's a fine distro,
and if you think it takes ages to install (it does), you can use manjaro
linux which is basically archlinux preconfigured with very sensible
choices
What about table3 in your query?
How is linked to table2?
To see the generated sql you can use
db(query)._select(...)
On Thu, Jul 30, 2015 at 12:50 PM, Ian Ryder wrote:
> Hi, I’m trying to construct a query in web2py which I’m struggling with -
> help appreciated :)
>
>
> Table 1
>
>
28 matches
Mail list logo