Ah, I think I understand. Thank you.
On Wednesday, November 19, 2014 10:29:17 AM UTC-6, Leonel Câmara wrote:
No it won't fail, it won't try to recreate auth_user unless you deleted
your .table files, in which case you need to do a fake migration first.
--
Resources:
- http://web2py.com
-
Then you can define your auth.settings.extra_fields['auth_group'], put
your extra columns there, and do a regular migration. -- This is the first
thing I tried to do. Won't that fail because auth_user already exists? I
only want to migrate a single table -- auth_group.
On Wednesday, November
I am trying to add columns to auth_group, but the migration breaks here :
auth.define_tables(username=False, signature=False, migrate=True)
It tries to migrate auth_user first, and fails because it already exists.
How do I migrate only the auth_group table ?
--
Resources:
- http://web2py.com
18, 2011 at 12:57 PM, Chris Baron topher.ba...@gmail.com
wrote:
How do you do it ?
Here is my controller :
ownDataSource = db( db.gtree.contributor == '
'.join( [ auth.user.first_name, auth.user.last_name ] ) ).select()
class ownVirtualFields(object
, 9:40 am, Chris Baron topher.ba...@gmail.com wrote:
Thank you for the prompt responses.
On Jul 19, 4:12 pm, Roberto Perdomo roberto...@gmail.com wrote:
Hello, it's me again.
Well, I discovered that the problem of loading the table with load is in
the event live plugin_powertable.py
on the dict.
2011/7/20 Chris Baron topher.ba...@gmail.com
I'm still having a problem getting two powertables on one page. If I
comment out the code for the second powertable, everything is fine,
but it seems the first powertable can't find its data. Please refer
to code posted above. I
How do you do it ?
Here is my controller :
ownDataSource = db( db.gtree.contributor == '
'.join( [ auth.user.first_name, auth.user.last_name ] ) ).select()
class ownVirtualFields(object):
@virtualsettings(label='Tree')
def tree_url(self):
gtree = self.gtree.id
.
On Mon, Jul 18, 2011 at 12:57 PM, Chris Baron topher.ba...@gmail.comwrote:
How do you do it ?
Here is my controller :
ownDataSource = db( db.gtree.contributor == '
'.join( [ auth.user.first_name, auth.user.last_name ] ) ).select()
class ownVirtualFields(object
Hi web2py users,
I'm using Janrain for login. What's the best way to have a proper
redirect after login? I would like to redirect to be the location
visited before the login page.
When a non logged in user attempts to access a page that requires
login, they are redirected to the login page,
._create_references()\n File /Users/cbaron/Desktop/web2py/gluon/
dal.py, line 3795, in _create_references\nraise SyntaxError,
Table: table \'%s\'does not exist % rtablename\nSyntaxError: Table:
table \'graftedTree\'does not exist\n'
p261
s.
Thanks in advance,
Chris Baron
http://jqueryui.com/demos/tabs/
You could also try writing your own if you're not happy with the way
it works. Use the jquery code as a reference.
On Jan 5, 11:58 pm, David J. da...@styleflare.com wrote:
I was wondering if anyone on the list has seen an good multi-level
horizontal tab menu.
In my controller:
def default():
f=open('/tmp/debug','w')
f.write( str( request.vars.tabs ) )f.write( '\n' )
f.write( response.json(request.vars.tabs) )
return dict( tabs = response.json(request.vars.tabs) )
In /tmp/debug
[{'text': 'Tree List', 'args': {'trees': 'db.tree.id
Its not my day for posting.
request.vars.tabs is a list of strings in python when it gets to the
controller.
The response.json does exactly what its supposed to do. Sorry for the
spam.
On Dec 30, 12:59 pm, Chris Baron topher.ba...@gmail.com wrote:
In my controller:
def default():
f
Hello web2py users,
I've been playing around with components recently and they are helping
me modularize my application. I was hoping someone could explain to
me why they do what they do.
I've noticed that when a controller function that is referenced by a
component returns a dict(), it
in advance,
Chris Baron
15 matches
Mail list logo