[web2py] How to get url string params in Web2Py?

2013-08-11 Thread Hunt
t right? Or is there some issue with the way I'm passing it in the "action" attribute? Thanks, Hunt -- --- You received this message because you are subscribed to the Google Groups "web2py-users" group. To unsubscribe from this group and stop receiving

[web2py] Re: How to get url string params in Web2Py?

2013-08-11 Thread Hunt
nd request.vars includes both the GET and the POST vars. > > Anthony > > On Sunday, August 11, 2013 5:52:43 PM UTC-4, Hunt wrote: >> >> Really stupid question here... but I can't seem to figure it out. In PHP >> when passing url params for say: www.mysit.com/index?

[web2py] Querying auth.user tables for a user with ____ attribute?

2013-08-11 Thread Hunt
Hello, How would I go about querying the auth.user tables for a user with a certain attribute? For a regular table I would do: comments = db(db.comments.some_attribute == lookingForThis).select() Not sure how to do this with the auth.user tables however. Thanks, Hunt -- --- You received

[web2py] Re: Querying auth.user tables for a user with ____ attribute?

2013-08-11 Thread Hunt
).select(...) > ...or... > db(db.auth_user.username.contains('frog').select(...) > > -- Joe > > > > > On Sunday, August 11, 2013 4:49:25 PM UTC-7, Hunt wrote: >> >> Hello, >> >> How would I go about querying the auth.user tables

[web2py] How to define identical tables at once?

2013-08-13 Thread Hunt
nds to the db.auth_user.id of each user. I know how I'd create a single table like this in /models/db.py, but how would I go about creating a unique table for each entry in db.auth_user? Let men know if my question is unclear. Thanks so much for all the help, Hunt -- --- You received this message

[web2py] Re: How to define identical tables at once?

2013-08-13 Thread Hunt
Did an absolutely atrocious job naming this question. A better title would be: "How to auto-generate an additional table for each auth_user table entry". On Tuesday, August 13, 2013 5:54:03 PM UTC-4, Hunt wrote: > > Hi all, > > I want to add a 'friends'

Re: [web2py] Re: How to define identical tables at once?

2013-08-14 Thread Hunt
ly one new table and put everything there > > Marin (mobile) > > On Aug 14, 2013 7:08 AM, "Hunt" > > wrote: > > Did an absolutely atrocious job naming this question. A better title > would be: "How to auto-generate an additional table for each auth_user &g

Re: [web2py] Re: How to define identical tables at once?

2013-08-14 Thread Hunt
hile writing raw SQL to get an idea of how DBs are structured? Any references to help me get a grip would be much appreciated. Thanks so much again for the help, Hunt On Wednesday, August 14, 2013 2:17:28 PM UTC-4, Richard wrote: > > If you explain better what you want to acheive, we could h

[web2py] How to set the auth.user.id as the default value for a field in a SQLFORM

2013-08-05 Thread hunt graham
t.html'}} Add a new company: {{=company_form.custom.begin}} Company Name{{=company_form.custom.widget.company_name}} Email{{=company_form.custom.widget.email}} Phone{{=company_form.custom.widget.phone}} URL{{=company_form.custom.widget.url}} {{=company_form.custom.submit}} {{=company_form.custom.end}}

Re: [web2py] How to set the auth.user.id as the default value for a field in a SQLFORM

2013-08-05 Thread hunt graham
Worked like a charm thanks! On Monday, August 5, 2013 4:18:45 PM UTC-4, viniciusban wrote: > > You must set writable=False and readable=False in your "user_id" field. > > On Mon, Aug 5, 2013 at 4:20 PM, hunt graham > > > wrote: > > Hello all, > >

[web2py] Passing extra arguments through a SQLFORM submit button?

2013-08-09 Thread hunt graham
Hi all, I have a view that pulls from 2 db tables, 'post' and 'post_commet'. In the db, each comment has a post_id to specify which comment. I display them in the view with a nested loop: {{for post in posts:}} Post: {{=(post.post_content)}} {{_postId = post.id}} {{co

[web2py] Re: Passing extra arguments through a SQLFORM submit button?

2013-08-10 Thread hunt graham
oaded every time you posted a comment of facebook. If you don't mind could you elaborate a little more on doing this in JS Massimo? Thank you much, Hunt On Saturday, August 10, 2013 4:13:34 AM UTC-4, Massimo Di Pierro wrote: > > You can but not advisable. You can for example, in con

[web2py] SQLite lock (using DAL in a module)

2017-02-05 Thread Jesse Hunt
Good afternoon all, I am experiencing issues while trying to perform operations using my DAL from a module. I recently moved code from the default controller to a module for better coding practices. The code was running previous to the move, but now I experience an error ( database is locked

[web2py] appadmin CSV Import / Manual insertion ascii "ordinal out of range" error

2018-01-24 Thread Jesse Hunt
Good afternoon all, I have been coming across errors while trying to work with the built-in appadmin to set up tables by manually inserting entries or importing CSVs (using MSSQL primarily). Put simply, any text with German umlauts (characters with the symbols above them, such as Ä, ö) would ca