I noticed the T2 documentation defines the 'to' and 'callback'
parameters but in t2.py these have been changed to 'next' and
'onaccept'.
On Nov 7, 3:46 pm, Baron <[EMAIL PROTECTED]> wrote:
> oh wow, you are productive.
> So I'll work f
is it possible to extend t2_person in this way so that the user can
login with their name instead of email?
At the moment t2.py hardcodes the email field in login().
Baron
On Nov 3, 2:40 pm, mdipierro <[EMAIL PROTECTED]> wrote:
> These two lines
>
> > db.t2_person.expo
o override the default label in a form?
Baron
On Nov 15, 1:00 am, mdipierro <[EMAIL PROTECTED]> wrote:
> No, you have to change it.
>
> On Nov 14, 12:40 am, Baron <[EMAIL PROTECTED]> wrote:
>
> > is it possible to extend t2_person in this way so that the user can
&g
Turbogears has had a lot of problems because of their reliance on
external libraries. All their original documentation was for SQLObject
and kid, but now they are moving to SQLAlchemy and genshi.
And they chose Mochikit for the Javascript, which didn't have a new
release for 2.5 years (until this
implemented?
Baron
On Nov 16, 12:58 am, cesmiga <[EMAIL PROTECTED]> wrote:
> Massimo,
>
> I look forward to hearing more about this. The idea is very exciting.
>
> Christopher
>
> mdipierro wrote:
> > Actually I was thinking about something similar but also dif
t months.
Eike
"""
On Nov 16, 11:29 am, Baron <[EMAIL PROTECTED]> wrote:
> this is all fascinating Massimo.
>
> So membership will be based on passing a technical quiz. Do you think
> this a sufficient barrier to entry to ensure quality in the community?
>
> If th
hello,
I wasn't able to run your example because of tabbing issues, but from
examining it I see you added the user_role field. But the login and
register forms still seem to require an email - is that right?
How do you intend to deal with updates to t2.py? Stay with your edited
version, or remake
quest.vars._destination:
redirect(request.vars._destination)
self.redirect(next)
else:
session.flash=self.messages.invalid_login
self.redirect()
return form
instancemethod = type(T2.login)
t2.login = instancemethod(login, t2, T2)
O
be wasteful. How can I instead wrap the
data directly for itemize?
thanks,
Baron
--~--~-~--~~~---~--~~
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@google
thanks for passing that tip on David. I also couldn't get remote admin
working after fiddling with default.py so have been relying on an ssh
tunnel.
I tried your suggestion but was still denied. Do you remember any
other steps?
Richard
On Nov 18, 8:22 am, davidjensen <[EMAIL PROTECTED]> wrote:
These tables are Python objects, so is there a way to instantiate them
without a database?
Otherwise I'll do as you suggest, Bill, and make my own itemize.
Baron
On Nov 19, 12:33 am, billf <[EMAIL PROTECTED]> wrote:
> I don't think you can - as you say itemize takes table
can you enable paperback order for Lulu, or would that conflict with
you Wiley agreement?
I'm just curious - I will purchase the download version anyway.
On Nov 19, 3:34 pm, mdipierro <[EMAIL PROTECTED]> wrote:
> Thank you all for buying the book!!!
--~--~-~--~~~---~-
http://groups.google.com/group/web2py/browse_thread/thread/4f1b43fcc4b73a9b
On Nov 8, 2:03 am, ural <[EMAIL PROTECTED]> wrote:
> Hi !
> İs there a way to get the e-edition of Web2Py Manual ? ( I do not live
> in USA.)
--~--~-~--~~~---~--~~
You received this messag
fine your temp tables as in-memory tables
> - insert your "rows" instead of appending to your Python objects
> - pass the in-memory tables to the existing itemize
>
> (Apologies if that was stating the obvious)
>
> On Nov 18, 10:48 pm, Baron <[EMAIL PROTECTED]> wrote:
that would be great - I've been caught by that too
On Nov 20, 4:24 pm, "mr.freeze" <[EMAIL PROTECTED]> wrote:
> You can probably guess why I am suggesting this. Doh!
> Just two new lines in applications/admin/controllers/default.py under
> the edit def try/except block:
>
> try:
> olddata=d
ating_temp_data:
> dbm.temp_data.insert(temp_field1='X',temp_field2='Y')
>
> t2.itemize(dbm.temp_data)
>
> And all the temp data is just held in memory. Does that help?
>
> On Nov 19, 8:49 am, Baron <[EMAIL PROTECTED]> wrote:
>
> > > W
ative way.
I was hoping there was a way to directly instantiate the required
input for t2.itemize() directly without going through a database.
Writing to a temporary in-memory database 'smells' bad for me.
For now I've created my own itemize.
Baron
On Nov 21, 8:11 am, mdipierro <[
own itemize function. But I'm trying to
reuse T2 where practical/possible.
Is T2 intended to stay as a link between model and view, or will it be
abstracted for the controller?
Baron
On Nov 22, 10:15 am, billf <[EMAIL PROTECTED]> wrote:
> I did suggest at the outset (18/11) that
control replace the T2 views with your own
logic?
Or is it more ambitious?
Baron
On Nov 26, 4:24 pm, mdipierro <[EMAIL PROTECTED]> wrote:
> What are you suggesting?
>
> On Nov 25, 11:17 pm, Baron <[EMAIL PROTECTED]> wrote:
>
> > thanks guys for your advice.
>
> &
...almost...
This slashdot page (http://developers.slashdot.org/developers/
08/11/28/1335248.shtml) discusses an article (http://advogato.org/
article/993.html) about integrating Pyjamas (Python GWT) with web2py.
Is that a sensible idea? My understanding of GWT is that it is a
complete client/ser
I made a graph of membership growth for this group, which you can view
here:
http://mdp.cti.depaul.edu/examples/static/members.png
It's an impressive trend!
Rails has 16000 members though, so we have a way to go.
Baron
--~--~-~--~~~---~--~~
You received
I copied the script on the forum (http://forum.webfaction.com/
viewtopic.php?id=1346) and it works fine, although I haven't tried
getting admin access yet.
I have no experience with Starnix but it's a bonus having someone from
their on this forum (Phyo Arkar).
Baron
On Dec 8, 2:45
within the controller you can call other functions directly like
normal Python! Did you try it?
On Dec 17, 12:58 pm, Cory Coager wrote:
> How do you call a function from another function in a controller? And
> how do you pass variables between them? The only way I can see how to
> do this is
What do you think about the first recommendation? Do you think web2py
should load JQuery from Google instead of packaging it?
On Dec 17, 5:37 am, mdipierro wrote:
> http://www.tvidesign.co.uk/blog/improve-your-jquery-25-excellent-tips...
--~--~-~--~~~---~--~~
You
That would be great.
That wiki link has a certificate problem for me:
Secure Connection Failed
mdp.cti.depaul.edu uses an invalid security certificate.
The certificate is not trusted because it is self signed.
The certificate is only valid for Massimo Di Pierro
On Dec 31, 2:33 pm, "mr.freez
apple,bill,0.5
orange,bob,3
For bob I want to show:
apple,1
banana,
orange,3
To do the left join I use:
db().select(db.item.name, db.sale.price, left=db.sale.on(db.item.name
== db.sale.name))
Is there a way I can restrict this query to join for just a certain
user?
thanks,
thanks Massimo - that works.
Previously I had tried db.sales.on(db.sales.name==db.item.name)
(db.user.name=='bob') but it caused an error.
Do you know in what cases this form is allowed?
Baron
On Jan 27, 5:23 pm, mdipierro wrote:
> this should work
>
> db().select(db.item.
filenames that are in the
format of a timestamp?
Baron
--~--~-~--~~~---~--~~
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 unsubscribe
(that is why it
> is on the right hand side, not the left hand side).
>
> a,b,c,d etc can be expressions like (q1)&(q2) or (q1)|(q2) etc.
>
> Massimo
>
> On Jan 27, 5:05 pm, Baron wrote:
>
> > thanks Massimo - that works.
> > Previously I had tried db.sales.on(d
Is this a possible error in
web2py? Or is this logic all handled outside the controller?
Baron
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To post to this group, send email to web
gt; problem with your program (I cannot be sure without looking at it) but
> I have never seen this error before.
>
> Perhaps it would help to loot at you models and controllers.
>
> What os? what's in the mysql.conf?
>
> Massimo
>
> On Jan 28, 5:35 pm, Baron wrote:
>
gaah, I opened http://python.com at work!
On Feb 1, 9:38 am, Jaroslaw Zabiello wrote:
> There was an error in registar DNS settings. web2py.org should point
> to web2py.com now. That previous page was in Polish and it was Quran
> searcher. It was because of that DNS error. And trademark has not
I followed these instructions to get my site working on Webfaction,
including the admin login.
Thanks Danny!
On Feb 4, 6:58 am, rfx_labs wrote:
> > yes, and it appears to be working fine; you are welcome to click on
> > the following link, though it is currently just the standard welcome/
>
> h
27;ve been putting the logic of which libraries to
include in the base layout, which depends on flags defined in the
controller functions. With many views this is getting messy.
Is there a better way to customize the included Javascript libraries
for a view, but still extend a common base layout?
drop tables through the DAL that have
foreign key dependencies?
Baron
--~--~-~--~~~---~--~~
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@googlegro
thanks Massimo.
On Feb 4, 3:28 pm, mdipierro wrote:
> sorry, for now you have to do it manually
>
> db.executesql('DROP TABLE tablename CASCADE;')
>
> perhaps I can add an option to drop/truncate.
>
> Massimo
>
> On Feb 3, 9:01 pm, Baron wrote:
>
>
end 'layout.html'}}
> body to be included
>
> On Feb 3, 7:34 pm, Baron wrote:
>
> > hello,
>
> > I have a number of views that extend a base layout but I want to
> > customize the included Javascript libraries in each view.
> > With Django I would
"crappy...expensive...not confidence inspiring"
you're not being very constructive.
Phyo's offering a free web2py enabled hosting service and has an
advertisement for web2py on the front page - that's fantastic!
On Feb 8, 8:35 pm, Tokyo Dan wrote:
> I wonder when *Nix is going to correct the li
r of pools to use?
Baron
On Feb 16, 7:28 am, mdipierro wrote:
> I suggest you use connection pools. It is designed to reuse connection
> and will make your application much faster.
>
> Just add SQLDB(,pools=20)
>
> Massimo
>
> On Feb 15, 10:05 am, ionel wrote:
>
I had the same problem and your solution is better.
I edited the image path in the js file to '../../static/
nicEditorIcons.gif'
On Feb 16, 8:11 pm, murray3 wrote:
> OK I used this code :
>
>