On Aug 6, 7:52 am, gabriel wrote:
> This action will then require to have the web2py.py installed on the
> remote client, do I guess well ?
> How to specify than the shell for execution is the one of the server,
> where the application is installed ?
> Can I add arguments on "yourscript.py" like
On Aug 6, 2:55 pm, Bottiger wrote:
> Agree 100%
>
> If you are going to rewrite, best to do it soon instead of later.
>
> A quick look at the available applications:http://www.web2py.com/
> appliances
>
> There simply is not that many of them, and most are just proofs of
> concept.
I have a numb
Thanks for the quick answer.
This action will then require to have the web2py.py installed on the
remote client, do I guess well ?
How to specify than the shell for execution is the one of the server,
where the application is installed ?
Can I add arguments on "yourscript.py" like : -R "yourscript
Hi,
If I have this query
db().select(db.test.date,db.
test.url,db.test.hits.sum(), db.test.rev.sum(), groupby=
db.test.datel)
What is the name of the hits field? In SQL I would do sum(hits) as
sum_hits and sum(rev) as sum_rev
E.G.
for i in results:
print i.sum_hits, i.sum_rev
I see
db().select(db.test.date,db.test.url,db.test.hits.sum(),groupby=
(db.test.date,db.test.url))
should be
db().select(db.test.date,db.test.url,db.test.hits.sum(),groupby=
db.test.date|db.test.url)
On Aug 5, 10:31 pm, Dutch opera wrote:
> Below is a query that works. It does a sum and groups by d
Yes, I have thought about this.
The only issue is that I must setup a server to do it.
In one of the next few versions.
Massimo
On Aug 5, 10:20 pm, Alex Fanjul wrote:
> Massimo, one of the best features with backward compatiblity is the
> ability to upgrade web2py framework easily, have you
Thanks. I do not recall ever receiving them.
Massimo
On Aug 5, 9:54 pm, Alex Fanjul wrote:
> Some time ago (before I discover this group) I sent Massimo this
> papercuts suggestions to improve developing cycles...and help
> programmers and designers...
> The bad news its that I don't have skill
Not true. There are many private apps built by users and kept private.
We owe to them. Backward compatibility is a feature of web2py. Anyway.
There is no issue so far that cannot be fixed in a backward compatible
way.
On Aug 5, 11:55 pm, Bottiger wrote:
> Agree 100%
>
> If you are going to rewri
remove the registration_key using appadmin or write your own
interface.
On Aug 5, 9:18 pm, Alejandro Fanjul wrote:
> What is the best (smart) way to approve pending users?
> thanks
>
> On 27 jul, 17:25, Hans wrote:
>
> > Grazie Massimo!
>
> > The following works well for my need:
>
> > auth.set
To my knowledge there is no issue cannot be solved in a backward
compatible way.
Most of the issues that Armin raised about web2py have to do with its
internal design decisions. These are not bugs to be fixed. These are
distinctive features of web2py that were thought through before being
develop
Agree 100%
If you are going to rewrite, best to do it soon instead of later.
A quick look at the available applications:http://www.web2py.com/
appliances
There simply is not that many of them, and most are just proofs of
concept. They are not building blocks for Web2Py except for CAS which
isn'
I'm in the same problem , so please ... help us .
On 5 ago, 16:48, Sophie wrote:
> Hi i read the page and i don't understand it too much. i wrote this
> code, it is working but i have this problem. the first combo is
> working fine, the second appears with the correct data, when i select
> the c
Below is a query that works. It does a sum and groups by date.
db().select(db.test.date,db.test.url,db.test.hits.sum(),groupby=
(db.test.date))
Here is a query that does not work. I just added an additional
groupby.
db().select(db.test.date,db.test.url,db.test.hits.sum(),groupby=
(db.test.
Massimo, one of the best features with backward compatiblity is the
ability to upgrade web2py framework easily, have you thought in
implement a "one click upgrade" feature? Like wordpress upgrade...It
would be posible in any way? It would be a very cool feature to
differentiate from other fram
Sorry I missed this email, of course it works for admin too (with ssl
access).
I've just noticed that I didn't include a "trick" for localhost ssl
subdomain simulation (with windows hosts file editing). This is not
required for admin access (because its localhost) but its fine to access
to we
Yes...that was the problem
Thanks
On Wed, Aug 5, 2009 at 5:30 AM, mdipierro wrote:
>
> If you use the web based shell there is not need for -M (that is
> default).
>
> The issue is probably that (assuming the tables are defined in db.py),
> then the object "db" is already defined in the
What is the best (smart) way to approve pending users?
thanks
On 27 jul, 17:25, Hans wrote:
> Grazie Massimo!
>
> The following works well for my need:
>
> auth.settings.registration_requires_verification = True
> auth.settings.registration_requires_approval = True
> auth.messages.verify_email =
>From an old thread, Massimo answered:
Validators are associated to one field in the sense that only one
field will report the error.
db.define_table('t',SQLField('f1'),SQLField('f'2'))
db.t.f2.requires=IS_NOT_IN_DB(db(db.t.f1==request.vars.f1),'t.f2')
OR
db.t.f1.requires=IS_NOT_IN_DB(db(db.t
Some thoughts and commentaries about major version:
-My question came after thinking in Armin thread
-Most of people seems to be convinced that there is no real reason
(big issue) that couldn't be "avoidable enough" to need to realase a non
backward compatible major version (so I figure out
Hi Armin,
I'm thinking that if you could review and noticed so many "potential
issues" in 15 minutes, I'm entirely sure that many people here would
appreciate you could invert 1 day of your life in a deeper and
exhaustive review!! I'm sure that would make stronger framework. :-D
cheers,
alex f
WingIDE has this:
http://www.wingware.com/doc/howtos/web2py
I don't use WingIDE but am evaluating it.
regards
Anand
On Aug 5, 9:08 pm, Pynthon wrote:
> Hello
>
> I read that some of you guys use a normal text editor (so not the
> build in Web IDE) but how ar eyou using that one? Do you write c
I have a table with fields for an application name and its version.
I'd like to validate that the combination is unique.
How would I write a validator for that?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web
Aptana Studio with Pydev is best combo for me now!
On Wed, Aug 5, 2009 at 7:53 PM, Yarko Tymciurak wrote:
> ...and if you are using Firefox for the web admin interface, you can also
> set up your editor with the "it's all text" plugin
>
>
> On Wed, Aug 5, 2009 at 1:37 PM, ionel wrote:
>
>>
>> Y
Just FYI, every-time I click on the WIKI link on web2py.com I get a
crappy screen telling me some stuff about untrustworthy certificate,
and looks very much like a 404. Does the wiki really have to be
running through SSL???
--~--~-~--~~~---~--~~
You received this me
Hi i read the page and i don't understand it too much. i wrote this
code, it is working but i have this problem. the first combo is
working fine, the second appears with the correct data, when i select
the combo in the page appears the third combo with the correct data,
but the problem is that the
Yes.
you can run
python web2py.py -S youapp -M -R yourscript.py
and yourscript will run as is it were a controller and will see you
database connections and models.
Try
python web2py.py -h
for help.
On Aug 5, 1:12 pm, gabriel wrote:
> Hi there,
>
> we're making some thoughts to dev
Are you asking if you are allowed to build a tutorial? Of course you
are and it is great that you are doing it.
I would like to see alternatives to admin and appadmin.
Massimo
On Aug 5, 2:45 pm, Pynthon wrote:
> Hello
>
> I've created a small Web2py tutorial athttp://pynthon.naar.info/but
> is
I am not sure what it does. Can you give us an example?
Massimo
On Aug 5, 12:44 pm, Jim wrote:
> I was (and am) very interested in web2py but I want to use GAE for
> hosting. One of the things that web2py didn't have was support for
> model.get_by_key_name
>
> Where it's possible to have a de
Hi there,
we're making some thoughts to develop an application based on web2py
(a kind of tracking system). In this frame, we'd like to be able to
query the database in a way that other applications can interact with
it. For example, it would be nice to have the possibility to launch
such a comma
...and if you are using Firefox for the web admin interface, you can also
set up your editor with the "it's all text" plugin
On Wed, Aug 5, 2009 at 1:37 PM, ionel wrote:
>
> You can also try Netbeans for Python
>
> http://download.netbeans.org/netbeans/6.7/python/ea2/
>
> On 5 août, 10:05, Pynth
Yeah I know NetBeans that is a great editor with nice debug options
but since I can't use them with Web2py I think I will use NotePad++ or
E-TextEditor.
On 5 aug, 20:37, ionel wrote:
> You can also try Netbeans for Python
>
> http://download.netbeans.org/netbeans/6.7/python/ea2/
>
> On 5 août, 1
Hello
I've created a small Web2py tutorial at http://pynthon.naar.info/ but
is this allowed? Because the book is paid and that is really "the"
book.
Do you guys build your own admin interface or are you using Web2pys
admin? IMO is the Web2py admin more something like PHPAdmin and/or
Cpanel.
Tha
You can also try Netbeans for Python
http://download.netbeans.org/netbeans/6.7/python/ea2/
On 5 août, 10:05, Pynthon wrote:
> Ah, thanks both. Maybe I also need to give it a try :p.
>
> On 5 aug, 15:33, Fran wrote:
>
> > On Aug 5, 2:08 pm, Pynthon wrote:
>
> > > I read that some of you guys u
I was (and am) very interested in web2py but I want to use GAE for
hosting. One of the things that web2py didn't have was support for
model.get_by_key_name
Where it's possible to have a defined key_name - say an email address
or a domain - it requires significantly less quota to get than to
que
done.
http://www.web2py.com/AlterEgo/default/show/247
On Aug 3, 10:19 pm, mdipierro wrote:
> Dan,
>
> can you post an AlterEgo entry about this? It would be useful to other
> users. Email me if you need the edit code.
>
> Massimo
>
> On Aug 4, 12:03 am, Dan wrote:
>
> > Hi David-
> > Yes, I'm
Now they are all failing but it is probably because an internal
function has been removed and the test used it. I do not understand
the included patch (from Alvaro) well enough to fix it.
Massimo
On Aug 5, 11:44 am, Jonathan Lundell wrote:
> On Aug 5, 2009, at 9:28 AM, mdipierro wrote:
>
>
>
>
On Aug 5, 2009, at 9:28 AM, mdipierro wrote:
>
> oops. you are right. fixing in trunk.
The new manual should reflect this stuff.
>
> Mind that the new trunk contains some experimental stuff (dynamic
> routes) that does not pass test_rewrite.py. We are working to fix
> this. When it does we'll h
oops. you are right. fixing in trunk.
Mind that the new trunk contains some experimental stuff (dynamic
routes) that does not pass test_rewrite.py. We are working to fix
this. When it does we'll have new functionality (dynamic routes).
On Aug 5, 10:50 am, Jonathan Lundell wrote:
> On Aug 5, 200
If this line:
db = SQLDB('mysql://username:passw...@127.0.0.1:3306/test_db')
is in the model together with the define_tables,
you do not need to retype it in the shell and you should be able to do
print db.tables
If you retype:
db = SQLDB('mysql://username:passw...@127.0.0.1:3306/test_d
On Aug 5, 2009, at 8:32 AM, mdipierro wrote:
>
> This is done in trunk. Please give it a try.
Why is auth.hmac_key='' not
auth.settings.hmac_key=''?
Or am I misunderstanding what Settings does?
>
>
> On Aug 2, 3:33 pm, Fran wrote:
>> On Aug 2, 9:21 pm, mdipierro wrote:
>>
>>> or better
>>>
This is done in trunk. Please give it a try.
On Aug 2, 3:33 pm, Fran wrote:
> On Aug 2, 9:21 pm, mdipierro wrote:
>
> > or better
> > auth.hmac_key_auto()
> > which would gererate a random key store it in private/hmac.key and
> > retrieve it when needed.
>
> Lovely :)
>
> BUT wouldn't work on
If you use the web based shell there is not need for -M (that is
default).
The issue is probably that (assuming the tables are defined in db.py),
then the object "db" is already defined in the shell. If one refines
"db" in the shell, the new connection will have no knowledge about
existing tables
All I do is to the shell in the GUI controller section.
I input db = SQLDB('mysql://username:passw...@127.0.0.1:3306/test_db')
into the shell
I assume that would allow me to have access to the database so I can
test some query.
Maybee I am missing a step or two...I am trying to follow instructi
Dutch,
are you using the -M flag to auto import all the models?
web2py.py -S app_name_here -M -P
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to web2py@g
What's are theme names of those tables?
On 5 aug, 16:10, Dutch Opera wrote:
> Yesmy app worksI have 12 tablesjust cant use the shell...
>
> On 8/5/09, mdipierro wrote:
>
>
>
> > Whay do you say it does not work. from your example it seems to work.
> > What behaviour did you expect?
Indeed, you didn't define any tables put this in the shell:
http://pynthon.pastebin.com/f206bf841 and look if it works =].
On 5 aug, 15:55, mdipierro wrote:
> Whay do you say it does not work. from your example it seems to work.
> What behaviour did you expect?
>
> If you expect to see the table
Yesmy app worksI have 12 tablesjust cant use the shell...
On 8/5/09, mdipierro wrote:
>
> Whay do you say it does not work. from your example it seems to work.
> What behaviour did you expect?
>
> If you expect to see the tables, the tables must be defined in your
> model? Are ther
Ah, thanks both. Maybe I also need to give it a try :p.
On 5 aug, 15:33, Fran wrote:
> On Aug 5, 2:08 pm, Pynthon wrote:
>
> > I read that some of you guys use a normal text editor (so not the
> > build in Web IDE) but how ar eyou using that one? Do you write code
> > and paste it into the web
{{ }} is for Python code you don't want to display like:
{{ for image in images }}
{{= }} is for some python code you like to display.
{{ for image in images }}
{{= image.title }}
{{# }} is commenting I thought..
{{ for image in images }}
{{= image.title }}
{{# Other loop }}
On 5 aug, 15:57
I don't, I just posted this reply. I don't think so :P.
On 5 aug, 15:52, mdipierro wrote:
> Did you email me something? If so, can you send it again. I do not
> recall what this is about.
>
> On Aug 5, 5:15 am, AchipA wrote:
>
> > I've got no reply to my mail to your cron chapter question... Ar
You can comment individual lines {{#}}. To comment an a multiline
block {{""""""} should work. What problem do you have with it?
On Aug 5, 4:35 am, Olivier wrote:
> Hi,
>
> I'd like to know how to comment blocks of code in web2py templates.
>
> {# COMMENT #} does not work
> and
> {{""" C
Whay do you say it does not work. from your example it seems to work.
What behaviour did you expect?
If you expect to see the tables, the tables must be defined in your
model? Are there?
On Aug 5, 8:17 am, Dutch opera wrote:
> Hi,
>
> In my db.py file I have the following.
>
> db = SQLDB('mysql
welcome
On Aug 5, 3:08 am, "ray.zhang...@gmail.com"
wrote:
> hi all,
>
> I want to join web2py-groups in order to study python further.
> Thanks.
>
> Best & Regards
> ray
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Grou
hi all,
I want to join web2py-groups in order to study python further.
Thanks.
Best & Regards
ray
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to web2py@g
Hi,
In my db.py file I have the following.
db = SQLDB('mysql://username:passw...@127.0.0.1:3306/test_db')
My DB code works.
I am trying to run test in the shell.
I run >>> db = SQLDB('mysql://username:passw...@127.0.0.1:3306/
test_db')
Then then run >>> print db.tables
In[23]:
print db.tabl
Hi,
I'd like to know how to comment blocks of code in web2py templates.
{# COMMENT #} does not work
and
{{""" COMMENT """}} works partially: simple comments works but not if
there are code syntax.
I didn't find anything on this subject in the documentation.
By the way, I didn't find anything a
Did you email me something? If so, can you send it again. I do not
recall what this is about.
On Aug 5, 5:15 am, AchipA wrote:
> I've got no reply to my mail to your cron chapter question... Are we
> on track with that or ?
--~--~-~--~~~---~--~~
You received this
I compiled psycopg2 under windwos xp using mingw. After installed it, I
added "import pstcopg2" in my model file. But I got the ImportError message
"cannot import name tz" in the __init__ file of psycopy2.
It's weird, the tz.py is there!
Any idea will be thankful.
--~--~-~--~~-
On Aug 5, 2:08 pm, Pynthon wrote:
> I read that some of you guys use a normal text editor (so not the
> build in Web IDE) but how ar eyou using that one? Do you write code
> and paste it into the web IDE or you just going to applications-
> >yourapp folder and edit the code there? I was just curi
Hi "Python"
I use Eclipse + PyDev. The reason because I'm using Eclipse is because I'm
coming from the Java world !
On Wed, Aug 5, 2009 at 2:08 PM, Pynthon wrote:
>
> Hello
>
> I read that some of you guys use a normal text editor (so not the
> build in Web IDE) but how ar eyou using that one
Indeed its indeed a very young project. Hopefully the "code group" can
fix the most of this stuff. And sorry for my "panic".
- Py
On 5 aug, 12:15, AchipA wrote:
> I've got no reply to my mail to your cron chapter question... Are we
> on track with that or ?
--~--~-~--~~~
Hello
I read that some of you guys use a normal text editor (so not the
build in Web IDE) but how ar eyou using that one? Do you write code
and paste it into the web IDE or you just going to applications-
>yourapp folder and edit the code there? I was just curious :$.
Thanks
--~--~-~--~-
On Aug 5, 1:15 pm, haftish21 wrote:
> Why is web2py christened web2py? Am I right if I answer this question
> as follows:
> This is because it is python implementation of Web-frameworks
> technology, with the powers of Web 2.0 version of the Web.
This is one of the 2 meanings, yes.
The other is
Why is web2py christened web2py? Am I right if I answer this question
as follows:
This is because it is python implementation of Web-frameworks
technology, with the powers of Web 2.0 version of the Web.
Regards
--~--~-~--~~~---~--~~
You received this message becau
On Aug 5, 11:19 am, AchipA wrote:
> If you're using service mode on windows and this does not work out, you can
> still call the function directly (e.g. python web2py.py -S application/
> controller/function in the crontab)
Great - this works for me with Windows Service & hence almost closes
my
On Aug 5, 8:03 am, mdipierro wrote:
> Thank Fran, he sent me tha patch.
Thank Jose - he wrote it ;)
F
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to web2p
The problem is writing pages easily and saving them in web2py.
The easiest way to write is to use a wiki Syntax (rest, markdown,
etc).
The problem comes when linking pages (to dynamic part of the site for
example) . Relative paths get different result on different browser
and absolute paths make
Not sure I follow... If you're using web2py cron I'd suggest calling
the function directly (see the cron doc page on syntax). If you're
using service mode on windows and this does not work out, you can
still call the function directly (e.g. python web2py.py -S application/
controller/function in t
I've got no reply to my mail to your cron chapter question... Are we
on track with that or ?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to web2py@googlegrou
No all the example should still work. You may have a typo. If you
cannot figure it out, email me you app.
Massimo
On Aug 5, 12:15 am, jayvandal wrote:
> Hi, I had troubles with images in Mnual so I went on to the wiki part
> 3.7. I am copying the code from the manual, but I seem to run into
> e
Thank Fran, he sent me tha patch.
On Aug 4, 8:55 pm, Jose wrote:
> On 4 ago, 18:16, mdipierro wrote:
>
> > I believe this problem was fixed in 1.65.10. Am I wrong?
>
> > Massimo
>
> There is an instant I updated from the trunk (v1.65.11, r1156) and
> this time works well.
>
> Thank you
> Jose
-
let me think about this one.
On Aug 4, 7:41 pm, Richard wrote:
> another issue I came across is that the deleted user can stay logged
> in with their previous session cookie. Is there an efficient way to
> get around this?
> Richard
>
> On Jul 19, 5:33 pm, Hans Donner wrote:
>
> > Keep in mind
The text is almost done. I had significant help from some users.
Some of the images must be redone.
I have already posted here drafts of the 2 of the 3 new chapters. I
will post the third soon.
Massimo
On Aug 4, 4:53 pm, JohnMc wrote:
> Hmmm. My bigger question is, are you still looking for ass
73 matches
Mail list logo