It's ok, your still awesome. :þ
Besides, hiking is something I think a lot of use should be doing on a
weekend like this. (But I am programming.)
Regards,
Jason
On Fri, 2009-08-21 at 20:28 -0700, Iceberg wrote:
On Aug22, 1:11am, mdipierro mdipie...@cs.depaul.edu wrote:
Note to self...
db1 {
field1
}
db2 {
field2
}
db3 {
field3
}
db1.field1.requires = IS_IN_DB ( db2.field2 or db3.field3 )
what is the syntax for above IS_IN_DB statement ( is it possible to add drop
down menu also for this command ) ?
On Sat, Aug 22, 2009 at 8:20 AM, Iceberg iceb...@21cn.com wrote:
Thanks Victor and Yarko.
It works if I specify routes_in = (('.*:/cc/$a','/ccweb/default/$a'))
or
routes_out = (('/ccweb/default/$a', '/cc/$a'))
If I say
routes_in = (('.*:/cc/$a','/ccweb/default/$a'))
routes_out = (('/ccweb/default/$a', '/cc/$a'))
in routes.py, I still get the syntax error.
On Aug22, 2:55pm, Varun Kumar varunk.ap...@gmail.com wrote:
db1 {
field1}
db2 {
field2}
db3 {
field3
}
db1.field1.requires = IS_IN_DB ( db2.field2 or db3.field3 )
what is the syntax for above IS_IN_DB statement ( is it possible to add drop
down menu also for this command )
Hi, I'm testing a similiar join query but not getting success in
extracting the dictionary
r = db.reviews
u = db.users
query = ((db.reviews.id==request.args[0]) (db.users.id==1))
left= (r.on(u.id==r.user_id))
reviews=db(query).select
I think you may need to put the database name after the port:
mysql://username:passw...@server:3306/database
On Aug 21, 11:33 pm, Jason Brower encomp...@gmail.com wrote:
Can't seem to get this to work. Keep's telling me I have an invlaid URI
or something similar.
I think it would tell me if
I experienced the same error simply changing the MySQL user's
password. I was able to get around it by setting migrate=False on
every define_table call on my model.
On Aug 20, 10:10 am, Fred fre...@gmail.com wrote:
I ended up doing this:
Create empty database on new server.
Change db.py to
On Sat, Aug 22, 2009 at 10:23 AM, mr.freeze nat...@freezable.com wrote:
I think you may need to put the database name after the port:
mysql://username:passw...@server:3306/database
yes - and you need to be sure you've created the empty database in advance.
On Aug 21, 11:33 pm, Jason
you are doing a join accross tables; to see what the results of that
select() looks like, try it from a shell, e.g. type in your select from:
python web2py.py -S myapp -M
Then take a look at reviews[0];
If you have ipython installed, you might like looking at it that way, as
tab-completion will
Hi.
When you use multiple tables in a query, it return DALStorage object in
DALStorage object for each table you requested. Simpler every row object is a
dict which contains dict object for each table.
try:
{{for review in reviews:}}
b{{=review.reviews.headline}}/b:
I'm just getting back to this after being on travel for a week.
The path of consequence for python import statements is sys.path.
import sys
print sys.path
[... 'C:\\Python26\\lib\\site-packages' ...]
site-packages is indeed where psycopg2 is installed so no problem
there.
Lng story
Ach! Good to know - thanks...
On Sat, Aug 22, 2009 at 6:18 PM, ctalley ctal...@caci.com wrote:
I'm just getting back to this after being on travel for a week.
The path of consequence for python import statements is sys.path.
import sys
print sys.path
[...
You can access the 'table._tableobj' which is the generated GAE Model
object, however this is not a public interface and not subject to
backwards compatibility.
Posts = db['posts']._tableobj
Posts.get_by_id(long(id))
Robin
On Aug 21, 3:45 am, dlypka dly...@gmail.com wrote:
Here are my GAE
Hello mate,
quick question... I'm trying to customize the Registration form using
Auth.
I was wondering about the Password_two field ???
here is what I'm doing but not working:
{{=regform.custom.begin}}
{{=regform.custom.widget.first_name}}
HI,
I have a controller named person
I have a controller welcome. I created a def home() in welcome
controller.
I want to have the user go to a controller named person that has
definitions for person., show_person, new_person.
I was trying to use this statement below, but I don't know how to
On Aug 22, 2009, at 10:16 PM, jayvandal wrote:
I have a controller named person
I have a controller welcome. I created a def home() in welcome
controller.
I want to have the user go to a controller named person that has
definitions for person., show_person, new_person.
I was trying to
16 matches
Mail list logo