I mean , how can we get listed? Mail to them? Post to them ? Any idea?
On Fri, Nov 7, 2008 at 10:58 PM, mdipierro <[EMAIL PROTECTED]> wrote:
>
> what do we do about it?
>
> Massimo
>
> On Nov 7, 4:55 pm, "Phyo Arkar" <[EMAIL PROTECTED]> wrote:
> > About Exposure : Web2py is not listed in main PyP
By the way,
Massimo why still using svn? is possible change to bazaar which is
python based and extremely easy to learn, understand and also is
multi-platform?
The distributed development paradigm has many pros and a few cons.
See you,
Alfonso de la Guarda
1024
http://launchpad.net/web2py --- it's mirrored to Google code.
http://launchpag.net/t2
On Sat, Nov 8, 2008 at 3:01 AM, Alfonso de la Guarda <[EMAIL PROTECTED]>wrote:
>
> By the way,
>
> Massimo why still using svn? is possible change to bazaar which is
> python based and extremely easy to learn,
This is part of a series of questions I was quite afraid to ask
because I'm very new to web2py, this one in particular since the T2
subject is hot. But I'm sure there are some nice people here to answer
me :)
I was happy to see the Central Authentication Service app existed.
Now in T2 we have ano
On 8 nov, 07:25, mdipierro <[EMAIL PROTECTED]> wrote:
> For example you can have a controller like
>
> def index():
> db.mytable.insert(myfield='myvalue')
> db.commit()
> db.mytable.insert(myfield='myothervalue')
> db.commit()
> return dict()
Yeah, that's what I thought
You can use juery to change them
$(document).ready(function() {$
('#student_last_name').attr('maxlength','30'); });
On Nov 8, 1:07 am, billf <[EMAIL PROTECTED]> wrote:
> I believe that you can set the attributes on an
> but only if you create it specifically as in:
>
> INPUT(_type='text',_nam
Good idea. I have to make some for pyworks next week anyway.
On Nov 8, 1:37 am, "Yarko T" <[EMAIL PROTECTED]> wrote:
> This general topic might be good to seed with a base slideset that others
> can use.
> Open shared on Google Docs perhaps (nice, since you can present from
> there)
>
> On Sa
Yes, CAS should be integrated in T2. soon.
Probably captcha too but it wuore require PIL.
Mind that you can also use recapctha (there is an alterego entry)
Massimo
On Nov 8, 4:15 am, Grahack <[EMAIL PROTECTED]> wrote:
> This is part of a series of questions I was quite afraid to ask
> because I'
{{extend '../../appname/views/layout.html}}
On Nov 8, 4:18 am, Grahack <[EMAIL PROTECTED]> wrote:
> Is there a mean to have the layout.html centralized across multiple
> apps?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
yes I do that.
Since models are executed alhpabetically one option is to create a
0.py model.
Another is to score the config in a file in private/ and load it from
your models.
Massimo
On Nov 8, 4:31 am, Grahack <[EMAIL PROTECTED]> wrote:
> Thinking about distributing to others the apps I will
Is there a mean to have the layout.html centralized across multiple
apps?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To post to this group, send email to web2py@googlegroups.com
To u
yes you can:
def index():
try:
db.mytable.insert(myfield='myvalue')
db.commit()
except: db.rollback()
try:
db.mytable.insert(myfield='myothervalue')
db.commit()
except:
rollback()
return dict()
On Nov 8, 5:31 am, Jiff <[EMAIL PRO
Thinking about distributing to others the apps I will develop for
web2py is good (did you notice the future here, I told you I was new,
enough to not have produced one).
Good because if forces me to write clean code, design something
reusable...
But we will all want something slightly different s
We use the data from Thomson Datastream.Maybe in US bloomberg can provide
the data.
Doen't the Depaul business school provide the database from Bloomberg?
2008/11/6 tommy <[EMAIL PROTECTED]>
>
> We are at phase I of this project. We built couple of robots to send
> some orders to the trading sys
Arf, I didn't think about this nice nested writng !
BTW this is cool to have stright answers by the creator (and DON'T
call me Igor :)
JY
On 8 nov, 14:12, mdipierro <[EMAIL PROTECTED]> wrote:
> yes you can:
>
> def index():
> try:
> db.mytable.insert(myfield='myvalue')
>
lots of new patches in trunk.
You can now do:
python web2py.py -S atest
>>> db=SQLDB()
>>> db.define_table('a',SQLField('b'),SQLField('c','integer'))
>>> db.a.insert(b='test',c=1)
1
>>> db(db.a.id>0)._update(c=db.a.c+1)
'UPDATE a SET c=a.c+1 WHERE a.id>0;'
>>> db(db.a.id>0).update(c=db.a.c+1)
I think you could add another parameter in the model
SQLField(.,,.,maxlength)
On Sat, Nov 8, 2008 at 12:07 AM, billf <[EMAIL PROTECTED]> wrote:
>
> I believe that you can set the attributes on an
> but only if you create it specifically as in:
>
> INPUT(_type='text',_name='student_la
Would that go in the view file?
On Sat, Nov 8, 2008 at 7:37 AM, mdipierro <[EMAIL PROTECTED]> wrote:
>
> You can use juery to change them
>
>
> $(document).ready(function() {$
> ('#student_last_name').attr('maxlength','30'); });
>
>
> On Nov 8, 1:07 am, billf <[EMAIL PROTECTED]> wrote:
>> I bel
I guess I am not understanding the issue here.
SQLField(.,length=)
represents the length of the table field in database. Any presentation
layer issue does not belong here.
Massimo
On Nov 8, 12:11 pm, "Wes James" <[EMAIL PROTECTED]> wrote:
> I think you could add another parameter in th
How do I change the field text. I.e., a db field might be rank in the
db, but I need it to be something else on the web page form (plus some
fields i need to add some explanatory text about what the field is
for.)
-wj
On Fri, Nov 7, 2008 at 11:18 PM, mdipierro <[EMAIL PROTECTED]> wrote:
>
> Not
Thanks for the three answers M, but...
On 8 nov, 15:41, mdipierro <[EMAIL PROTECTED]> wrote:
> Since models are executed alhpabetically one option is to create a
> 0.py model.
I don't manage to connect to this db located in, say 'baseapp' app,
from myotherapp/controllers/default.py. Do you have
if this is a SQLite db you can do
db=SQDB('sqlite://../../baseapp/models/storage.db')
db.define_table(.,migrate=False) # you need to redefine the tables
that you with migrate=False
On Nov 8, 3:31 pm, Grahack <[EMAIL PROTECTED]> wrote:
> Thanks for the three answers M, but...
>
> On 8 nov, 1
Hi all,
I've added web2py on http://github.org |
http://github.com/web2py/web2py/tree/master
If you don't have GIT you can just click download to download as .zip
or .tar :)
This isn't replacing the current svn or bazzar repo's its just an
extra one, you can never have too much choice in how y
I also included patches from Mark Larsen and Nathan Freeze.
I let them example what they do...
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To post to this group, send email to web2py
OK but please keep it in sync.
Massimo
On Nov 8, 4:10 pm, ceej <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I've added web2py
> onhttp://github.org|http://github.com/web2py/web2py/tree/master
>
> If you don't have GIT you can just click download to download as .zip
> or .tar :)
>
> This isn't repla
I notice there are 4 launchpad branches:
Do some of them contain patches that I am supposed to merge? If so let
me know.
We should make clear which one of the official one. How do we do it?
Massimo
--~--~-~--~~~---~--~~
You received this message because you are
I will do just send me and email whenever you update it :)
On Nov 8, 2:28 pm, mdipierro <[EMAIL PROTECTED]> wrote:
> OK but please keep it in sync.
>
> Massimo
>
> On Nov 8, 4:10 pm, ceej <[EMAIL PROTECTED]> wrote:
>
> > Hi all,
>
> > I've added web2py
> > onhttp://github.org|http://github.com/w
I agree that choice is good but without version numbers in the
download filename it could be frustrating having to install and run
before you know what version you have got.
On Nov 8, 10:10 pm, ceej <[EMAIL PROTECTED]> wrote:
> Hi all,
>
> I've added web2py
> onhttp://github.org|http://github.co
no way!
I update the devel branch multiple times per day. It is ok if you
checkout the branch once a day. Perhaps this can be automated?
Massimo
On Nov 8, 4:40 pm, ceej <[EMAIL PROTECTED]> wrote:
> I will do just send me and email whenever you update it :)
>
> On Nov 8, 2:28 pm, mdipierro <[EMAI
I know this is a weak question but I can't seem to get my head around
it. I want to code something like the following in a view html file:
{{=object.method()}}
...and get some valid html included in the view. Let's say I want a
label, a value and a . I expect the method to look something
like:
return DIV(items)
should be
return DIV(*items)
In the first case you are passing a list to the DIV and the list is
serialized. In the second case you are passed the list elements to the
DIV, as should be.
Massimo
On Nov 8, 6:51 pm, billf <[EMAIL PROTECTED]> wrote:
> I know this is a w
ugh!
I think we need to start thinking about some "sitewide" location for views
/ plugins / standard statics... and a gluon-managed variable for locating
it's head.
This would allow (among other things) a way for an application to specify /
modify that "master" place - it would not be my prefer
Many thanks. As you can see I'm still missing some Python basics. I
wonder sometimes that any of my code works :-)
On Nov 9, 1:02 am, mdipierro <[EMAIL PROTECTED]> wrote:
> return DIV(items)
>
> should be
>
> return DIV(*items)
>
> In the first case you are passing a list to the DIV and
SQLFORM(db.my_table, fields=['name', 'address', 'phone'],
lablels=['Your Full Name', 'Street Address', 'Phone (with area
code)'])
See gluon.sqlhtml.SQLFORM at
http://mdp.cti.depaul.edu/examples/static/epydoc/index.html
On Sat, Nov 8, 2008 at 12:08 PM, Wes James <[EMAIL PROTECTED
Massimo will have to answer that...
I expect (because of the nature of SVN) that Massimo does not give / have
"write" permission to others on SVN;
With and DVCS (bazaar, mercurial, git, ...) there is no worry - you make
your own "branch" which is in reality your own private repository, and ask
t
Also, I expect that it is one-way: from Launchpad (where Massimo does his
development) to SVN (where he took it from).
On Sat, Nov 8, 2008 at 10:12 PM, Jonathan Benn <[EMAIL PROTECTED]>wrote:
>
> Hi Yarko,
>
>
> On Nov 6, 9:32 pm, yarko <[EMAIL PROTECTED]> wrote:
>
> > web2py is mirrored to Goog
No need to apologize ever! We all learn by asking - there's enough to know
that everyone is "ignorant" about _something_ ;-)
After all, that's what friends are for!
On Sat, Nov 8, 2008 at 10:19 PM, billf <[EMAIL PROTECTED]> wrote:
>
> Many thanks. As you can see I'm still missing some Python b
Does anyone know how to use t2.search()? I've got it working like in the
puppies application in the t2 video. I'd like to make it so there's only
one input field and set the other options in my code (i.e. remove the
dropdown selects and 'refine' checkbox). Is there any way to do this? I've
been
On Nov 9, 7:19 am, billf <[EMAIL PROTECTED]> wrote:
> Many thanks. As you can see I'm still missing some Python basics. I
> wonder sometimes that any of my code works :-)
I'm fairly new to Python myself, but my understanding is that this use
of the asterisk (*) has to do with how the web2py fu
db.define_table('mytable',SQLField('a'),SQLField('b'))
db.mytable.a.requires=IS_IN_SET(['one','two','three'])
def index():
db.mytable['displays']=['a]
form=t2.search(db.mytable,query=db.mytable.b=='something',orderby=None)
return dict(form=form)
On Nov 8, 8:20 pm, "Domain Admin" <[EM
Hi Yarko,
On Nov 6, 9:32 pm, yarko <[EMAIL PROTECTED]> wrote:
> web2py is mirrored to Google Code / SVN for the convenience of all
> those who already use SVN.
Is this a two-way mirroring? In other words, can people make commits
via Subversion to the Google Code mirror?
Or is it one-way, mean
ceej Dude!
Create a login on Launchpad.org (don't be afraid - you don't need to put
anything up there!)
then go to https://code.launchpad.net/~mdipierro/web2py/devel
and https://code.launchpad.net/~mdipierro/t2/main
and "subscribe"
Be sure to select something with "revision notificatio
btw... with the latest version you "mdipierro/develop" you can also do
$ python web2py.py -S atest
>>> db=SQLDB()
>>> db.define_table('a',SQLField('b','integer'),SQLField('c','integer'))
>>> db.a.insert(b=1,c=2)
1
>>> db.a.insert(b=2,c=1)
2
>>> db.a.insert(b=2,c=2)
3
>>> for row in db(db.a.b+2==d
I agree, Massimo:
You need to define an additional variable besides the release number - call
it a revision number or build number if you want:
But it should include the complete identifying info; check out the
% bzr testament --strict
command, and think about how to automatically enter this o
Hi Yarko,
"Yarko T" <[EMAIL PROTECTED]> wrote:
> Also, I expect that it is one-way: from Launchpad (where Massimo does his
> development) to SVN (where he took it from).
Ok, thanks for that clarification.
> If you have changes to make, consider making an account on either Launchpad
> or Bitb
BTW - I notice that someone named their branch "trunk" - BAD --- by
convention, in too many documents, "trunk" is assumed to refer to the
"trunk" of the tree put another way, the MAIN BRANCH
Massimo preferred to name his branch "devel" - so this could definitely
cause BAD CONFUSION.
I sug
Thanks again everyone for your help. I'll try my best to put together
a good unit test, and then post it here for comments.
--Jonathan
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To
This week I made some patches for Sphinx, and was introduced to
bitbucket.org that way (where Sphinx is).
I was surprised how fast, and how easy it way (pushing to launchpad is still
touchy - too often I can't get it to authenticate - and sometimes it does
--- feels buggy from somewhere, probably m
On Sat, Nov 8, 2008 at 7:37 AM, mdipierro <[EMAIL PROTECTED]> wrote:
>
> You can use juery to change them
>
>
> $(document).ready(function() {$
> ('#student_last_name').attr('maxlength','30'); });
>
>
Ok this is working! Thx!!
this is my app/views/layout.html with some tests that work for
max
A agree. It would be better to rename the trunk branch.
Robin, when you figure out how to do it, I can rename mine trunk.
Massimo
On Nov 8, 11:17 pm, "Yarko T" <[EMAIL PROTECTED]> wrote:
> BTW - I notice that someone named their branch "trunk" - BAD --- by
> convention, in too many documents, "
Currently the VERSION file is automatically generated but does not
contain this info because it predates our use of bzr. Moreover VERSION
has to fit in one line in order to be displayed properly in admin.
Would another file called VERSION_BZR be ok?
How do other projects handle this?
Massimo
O
Actually it has to do with what the helper function DIV expects / does with
it's arguments...
*arg expands a list, e.g. [a,b,c] and passes as 3 args; that is, it unpacks
the list object;
Since python functions can also take keyword arguments (arguments whose
position doesn't matter, and which a
response.view = layout.html defined at global scope (above all methods) ?
On Sun, Nov 9, 2008 at 3:56 AM, Yarko T <[EMAIL PROTECTED]> wrote:
> ugh!
> I think we need to start thinking about some "sitewide" location for views
> / plugins / standard statics... and a gluon-managed variable for loc
53 matches
Mail list logo