Hello:
I was following the internationalization video tutorial and stumbled
upon an issue that has left me confused.
In the tutorial, a variable called _language=en is appended to the URL
such as,
127.0.0.1/default/index?_language=test
However, when I do this, request.get_vars is empty but
requ
You would have to write your own migration. There are pretty good
snipptets and modules around for getting data out of Drupal; but you
are going to have to create your own table structure to handle nodes
and comments. Users should go pretty smoothly; depending on how much
'profile' information yo
http://web2py.com/book/default/chapter/06#Indexes
Here is an example of how to create an index using SQL in SQLite:
1.
2.
3.
>>> db = DAL('sqlite://storage.db')
>>> db.define_table('person', Field('name'))
>>> db.executesql('CREATE INDEX IF NOT EXISTS myidx ON person name;)
Other database dialec
http://web2py.com/book/default/chapter/06#Indexes
The example appears to be missing a quote.
Adding the missing single-quote I am still getting a syntax
error:
Error traceback
File "/web2py/web2py/gluon/restricted.py", line 186, in
In your controller you could check for the # and strip it?
Alternatively, I believe you can have your onclick return false which
will avoid the #
On Sat, 2010-09-04 at 14:45 -0700, weheh wrote:
> I have a controller that takes an argument, which is the id of a row
> in mytable. If the arg is pres
This works for me now. Indeed it was the formatting. Probably on my
end.
Of course this does not really solve an 'address' issue if an address is
more than one field, which is the case for both myself and the original
poster.
In any case, that is a wonderful widget!
Best,
Geoff
This breaks, I believe formatting is the culprit. I was not able to fix
it right away.
On Wed, 2010-09-08 at 13:27 -0700, mdipierro wrote:
> A little better:
>
>
> def ListStringWidget(field,value,**attributes):
> _id = '%s_%s' % (field._tablename, field.name)
> _name = field.name
>
this particular problem.
Thanks
Geoff
On Wed, 2010-09-08 at 12:46 -0700, mdipierro wrote:
> How about this?
>
> def ListStringWidget(field,value,**attributes):
> _id = '%s_%s' % (field._tablename, field.name)
> _class = isinstance(field.type,str) and fie
similar functionality to Portly, and don't really want to go the
iframe route.
Specifically I need to show the 'children' of a table in the same input
form as the parent.
Thanks
Geoff
On Fri, 2010-09-03 at 05:28 -0700, Dominic wrote:
> We (Sahana-Eden) use to do such things with web2
ll likely be an iterative process with
some amount of wiping the db and going again.
Looking for any tips here. Also, is it appropriate to send code for
review into this list from time to time?
Thanks a lot
Geoff
10 matches
Mail list logo