Iceberg,
Good guess. value=str(value) solved the problem.
Thanks for your help.
Annet.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
web2py Web Framework group.
To post to this group, send email to
Massimo,
Will it be possible to have a foreign key on a non id field, in case
of a look-up table?
In my model I have:
db.define_table('rechtsvorm',
SQLField('rechtsvorm',label='Rechtsvorm *
',length=42,default='',notnull=True,unique=True),
migrate=False)
db.define_table('bedrijf',
you should allow to use normal m2o relations. i mean with another
table in db. i know it doesn't work on GAE but users should have
choice.
On 30 Maj, 08:21, annet.verm...@gmail.com wrote:
Massimo,
Will it be possible to have a foreign key on a non id field, in case
of a look-up table?
In
Sounds good!
/R
2009/5/29 mdipierro mdipie...@cs.depaul.edu
yes and no. this would break backward compatibility. we can rewrite
the provided jquery so that they use jQuery instead of $
and leave the it to the user to call jQuery.noConflict() if needed.
I would probably take a patch for
I am trying to find an example of the flex that would be used to call
an @service.amfrpc remote function. I posted full text with code
snippets over at Stack Overflow,
http://stackoverflow.com/questions/927028/using-mxremoteobject-with-web2pys-service-amfrpc-decorator.
Has anybody used these
I remember the discussion on packaging Web2Py for Linux distribution
and subsequently run across this talk from the pycon2009. Might be
useful?
http://us.pycon.org/2009/conference/schedule/event/52/
--~--~-~--~~~---~--~~
You received this message because you are
Massimo,
Will it be possible to have a foreign key on a non id field, in case
of a look-up table?
.. and an onupdate='CASCADE' in the field definition.
Annet.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
I tried this and it works fine for me
print request.vars.import_csv # FieldStoarge
print request.vars.import_csv.file.read() # shows file content
print request.vars.import_csv.filename # shows filename
Which version of Python are your using? Which OS? Can you try a few
Done in trunk. May post 1.64 in the next few days.
On May 30, 5:15 am, Robert Marklund robbelibob...@gmail.com wrote:
Sounds good!
/R
2009/5/29 mdipierro mdipie...@cs.depaul.edu
yes and no. this would break backward compatibility. we can rewrite
the provided jquery so that they use
No but the new DAL may have ListType Field.
Massimo
On May 29, 4:15 pm, Fran francisb...@googlemail.com wrote:
I'm trying out using simple multiple=True tagging-style for ManyMany
relationships (simpler than developing custom Forms works on GAE).
Currently my way to get the data out of
Instead float numbers would not have enough precision to represent
datetime.
Is this statement correct?
Python docs describe python doubles as having 53 bits of precision, or
about 16 base-10 digits. If I'm thinking about this right, that leaves
enough digits to have a resolution of 0.1
Iceberg,
I had a look at the content of the sqlhtml.py file.
Given the following table:
db.define_table('provincie',
db.Field('provincie',label='Provincie *
',length=18,default='',notnull=True,unique=True),
migrate=False)
Just to make sure I do not overlook anything ...
I have a table definition:
db.define_table('postcoderegio',
db.Field('regio',label='Regio *
',length=2,default='',notnull=True,unique=True),
...
migrate=False)
db.postcoderegio.regio.requires=[IS_MATCH('[0-9]{2}',error_message=T
Furthermore, I just ran a test using a web2py app, converting a double
to a datetime and storing it in a SQLite database. Reading back the
information, this is what it has in the database:
time.struct_time(tm_year=2009, tm_mon=5, tm_mday=19, tm_hour=14,
tm_min=0, tm_sec=8, tm_wday=1,
On May30, 11:33pm, annet.verm...@gmail.com wrote:
Iceberg,
I had a look at the content of the sqlhtml.py file.
Given the following table:
db.define_table('provincie',
db.Field('provincie',label='Provincie *
',length=18,default='',notnull=True,unique=True),
migrate=False)
In my model I have the following table:
db.define_table('adres',
db.Field('bedrijf',db.bedrijf,label='Bedrijf *
',default='',notnull=True),
db.Field('adressoort',label='Adressoort *
',length=30,default='',notnull=True),
db.Field(...),
migrate=False)
Iceberg,
I took the province table as an example to get an idea of
instantiating the OptionsWidget. I need several drop boxes based on a
widget because complex field validation cancels the drop down
generation.
Furthermore, I need a MultipleOptionsWidget combined with an IN
operator (something
You may want to take a look at:
Pandoc converter:
http://johnmacfarlane.net/pandoc/
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
web2py Web Framework group.
To post to this group, send email to
Have you made any progress in the last few days?
Sorry, no progress on this so far.
My development has stalled a bit as I am now in a decision making
process involving many parties...
But let's not forget about this!
--~--~-~--~~~---~--~~
You received this
On May 30, 4:29 am, suiato homm...@gmail.com wrote:
I'm translating an appliance eStore as an example in learning how to
localize web2py appliances, and found web2py2po/po2web2py programs
useful because I usually work on po format in traslation. Has anyone
here worked on these?
I know the
On May 30, 11:13 am, annet annet.verm...@gmail.com wrote:
Just to make sure I do not overlook anything ...
I have a table definition:
db.define_table('postcoderegio',
db.Field('regio',label='Regio *
',length=2,default='',notnull=True,unique=True),
...
migrate=False)
Massimo --
I really don't want to deliver an I told you so but somebody needs
to say this.
It's been several months ago when we got some shared community
excitement behind documenting web2py. It is widely recognized that
the ONLY thing holding web2py back from users is the disheveled and
Hi Denes,
I have another validator about which I am not sure ...
db.adres.plaats.requires=[IS_IN_DB(db,db.plaats.plaats,'%(plaats)s')]
db.adres.plaats.widget=lambda self,value:INPUT
(_type='text',_id='place',_class='ac_input',_name='plaats',value=str
(value),requires=self.requires)
The
Hi Joe,
I appreciate the criticism. I agree the wiki has lagged behind. Is
this really because of the technology behind it? I think the problem
is that people (including myself) have not really been posting on the
wiki, except for a few weeks after it was created. This is probably my
fault. I
24 matches
Mail list logo