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, Novembe
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
e dict.
>
> 2011/7/20 Chris Baron
>
>
>
>
>
>
>
> > 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
On Jul 20, 9:40 am, Chris Baron wrote:
> Thank you for the prompt responses.
>
> On Jul 19, 4:12 pm, Roberto Perdomo wrote:
>
>
>
>
>
>
>
> > Hello, it's me again.
>
> > Well, I discovered that the problem of loading the table with "load&qu
ry hevy for the group mail.
>
> >> > 2011/7/18 Bruno Rocha
>
> >> > > include ownTable._id = "something" and ownTable._class = "something"
> >> to set
> >> > > different class and id to the tables.
&g
t; different class and id to the tables.
>
> On Mon, Jul 18, 2011 at 12:57 PM, Chris Baron wrote:
>
>
>
>
>
>
>
>
>
> > How do you do it ?
>
> > Here is my controller :
>
> > ownDataSource = db( db.gtree.contributor ==
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
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, and
250
S''
p251
sS'fieldname'
p252
S"'graftedTreeId'"
p253
sS'rtable'
p254
S"}>"
p255
sS'ref'
p256
S"'graftedTree'"
p257
sS'self'
p258
S"}>"
p259
sssS'traceback'
p260
S'Traceback (most recent call last):\n File "/Users/cbaron/Desktop/
web2py/gluon/restricted.py", line 188, in restricted\nexec ccode
in environment\n File "/Users/cbaron/Desktop/web2py/applications/
pluginApp/models/plugin_treeGrafter.py", line 22, in \n
Field( \'affectedNodeId\', db.node ) )\n File "/Users/cbaron/Desktop/
web2py/gluon/dal.py", line 3493, in define_table\n
t._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." wrote:
> I was wondering if anyone on the list has seen an good multi-level
> horizontal tab menu.
>
> I have
>
>
>
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 wrote:
> In my controller:
>
> def default():
> f=open(
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
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 require
Thanks in advance,
Chris Baron
15 matches
Mail list logo