[web2py] Re: best jquery plugin ever

2010-03-31 Thread Wiiboy
That's awesome. -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com. For more options, visit this group

[web2py] Re: New Code-Editor

2010-03-04 Thread Wiiboy
On Mar 4, 5:57 pm, Wiiboy wrote: > Anyone you could do a check for browsers Oops, typoed. Make that "Anyway you could do a check for browser" =p -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this g

[web2py] Re: New Code-Editor

2010-03-04 Thread Wiiboy
Anyone you could do a check for browsers (as far as I know, the only browser the wouldn't work with Bespin would be IE, so...) and use Bespin or something if it's not IE, and Editarea if it is? -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To

[web2py:37818] Re: Hosting at Webfaction

2009-12-24 Thread Wiiboy
This worked for me (Massimo even made a few posts on this): http://forum.webfaction.com/viewtopic.php?id=1346 -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web...@googlegroups.com. To unsubscribe from this

[web2py:35418] /user/not_authorized should raise 403

2009-11-15 Thread Wiiboy
Shouldn't /[app]/default/user/not_authorized raise a 403 error? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from th

[web2py:35417] Re: customizing auth_user

2009-11-15 Thread Wiiboy
It looks like it's line 792 in tools.py --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email

[web2py:35416] Re: ajax standard forms

2009-11-15 Thread Wiiboy
I'm not totally sure what you're trying to do, but I don't know why you'd use "input:visible:enabled:first.focus()" to send the request. I'd use $(document).ready(function() { $("form").submit(function() { //Send request, etc. here }) }) --~--~-~--~~~--

[web2py:35415] Re: customizing auth_user

2009-11-15 Thread Wiiboy
Ahh, on trying to DB-Admin the table auth_membership, I get this: Traceback (most recent call last): File "/media/apps/web2py/gluon/restricted.py", line 184, in restricted exec ccode in environment File "/media/apps/web2py/applications/main/controllers/appadmin.py", line 261, in File "/

[web2py:35322] Re: customizing auth_user

2009-11-13 Thread Wiiboy
Ya =) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.c

[web2py:35318] Re: customizing auth_user

2009-11-13 Thread Wiiboy
Oh. Cool. Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@

[web2py:35316] Re: customizing auth_user

2009-11-13 Thread Wiiboy
SVN 1433 -- No first_name or last_name defined anywhere: Traceback (most recent call last): File "/media/apps/web2py/gluon/restricted.py", line 184, in restricted exec ccode in environment File "/media/apps/web2py/applications/main/controllers/default.py", line 54, in File "/media/apps/

[web2py:35244] Re: customizing auth_user

2009-11-13 Thread Wiiboy
How do I fix the KeyErrors then? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py

[web2py:35224] Re: customizing auth_user

2009-11-12 Thread Wiiboy
Ah. Ok. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroup

[web2py:35218] Re: SQLFORM client side checks

2009-11-12 Thread Wiiboy
I would guess that the problem they might have with this is that this wouldn't be a Python thing; it would have to be Javascript. However, Web2py already has a bunch of built-in Javscript, so. --~--~-~--~~~---~--~~ You received this message because you are subs

[web2py:35217] Re: customizing auth_user

2009-11-12 Thread Wiiboy
Did I misunderstand Massimo above, or did he say you didn't? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this

[web2py:35213] Re: customizing auth_user

2009-11-12 Thread Wiiboy
Actually, this doesn't work for me at all. I added a first_name field, and now I get a KeyError: last_name ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to

[web2py:35211] Re: customizing auth_user

2009-11-12 Thread Wiiboy
Did you do the same with first_name as well? I'm getting the following with SVN 1421: Traceback (most recent call last): File "/media/apps/web2py/gluon/restricted.py", line 184, in restricted exec ccode in environment File "/media/apps/web2py/applications/main/controllers/default.py", lin

[web2py:35210] Re: Hide fields or remove first and last name from Auth

2009-11-12 Thread Wiiboy
Found it: http://groups.google.com/group/web2py/browse_thread/thread/9f513eb37e2e5dd2/debf2c77ad73ce54?lnk=gst&q=first_name#debf2c77ad73ce54 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To pos

[web2py:35178] Re: Hide fields or remove first and last name from Auth

2009-11-12 Thread Wiiboy
> Extend the Auth class in your own module. > This means that you redefine the elements you wish to change. > I use AuthS3() for my app & hence instantiate as: auth=AuthS3() I did make my own, but I got a KeyError:"no field named first_name" or something like that. --~--~-~--~~---

[web2py:35162] Hide fields or remove first and last name from Auth

2009-11-11 Thread Wiiboy
Is there a way to not use first_name and last_name in an auth_table? I made an extension auth_table, but don't have a use for first and last_names. If not, is there a way to hide a field with SQLFORM? --~--~-~--~~~---~--~~ You received this message because you are

[web2py:35160] Re: plugin_tagging

2009-11-11 Thread Wiiboy
I'm just messing around with this, and I'm getting: Traceback (most recent call last): File "/media/apps/web2py/gluon/restricted.py", line 184, in restricted exec ccode in environment File "/media/apps/web2py/applications/main/models/ plugin_tagging.py", line 7, in Field ('created_by'

[web2py:35141] Re: Connection to mysql problem

2009-11-11 Thread Wiiboy
> Sorry I confused about error shown at web2py. Now I am able to connect > it. Thank you. > What is the gluon library exactly? Web2py used to be called gluon. The gluon modules etc. is all the Web2py libs, I think. > I am new on web2py even on python programming. I have another question > whic

[web2py:35135] Re: Connection to mysql problem

2009-11-11 Thread Wiiboy
Are there any error messages? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+un

[web2py:35094] Auth Question

2009-11-11 Thread Wiiboy
Is there a way to change the expiration time of a session per-session, as opposed to globally (e.g. a default global expiration time, and some method of the session to change the expiration time). I've found that per-session expiration can work well with things like auto-logout. --~--~-~-

[web2py:35069] Re: Python + C++ = Go

2009-11-10 Thread Wiiboy
Ya, Google created it. See: http://google-opensource.blogspot.com/2009/11/hey-ho-lets-go.html --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web2py@googlegro

[web2py:35064] Re: Plugin Layout

2009-11-10 Thread Wiiboy
I just noticed: if you hit "change layout" and you're not logged in as an Admin, it doesn't redirect you to the "change layout" page after you log in. The isn't a ?_next= in the url. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the

[web2py:35022] Re: Creating Models the Web2Py way

2009-11-10 Thread Wiiboy
Slightly off-topic, what's the difference between the following? In one of the tutorial videos I saw, Massimo used the latter of the two: db.define_table("my_table", Field("other_table", db.other_table)) And db.define_table("my_table", Field("other_table", "reference other_table")) --~--~

[web2py:35021] Re: Creating Models the Web2Py way

2009-11-10 Thread Wiiboy
Slightly off-topic, what's the difference between the following? In one of the tutorial videos I saw, Massimo used the latter of the two: db.define_table("my_table", Field("other_table", db.other_table)) And db.define_table("my_table", Field("other_table", "reference other_table")) --~--~---

[web2py:34838] Re: Plugins again. In trunk response.meta, response.files

2009-11-07 Thread Wiiboy
Oh, ok. Thanks. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@goo

[web2py:34835] Re: Plugins again. In trunk response.meta, response.files

2009-11-07 Thread Wiiboy
Is there something that has to be changed for this to work? Because response.files does absolutely nothing for me. I'm using revision 1392 --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To pos

[web2py:34833] Re: You are going to love this

2009-11-07 Thread Wiiboy
Ah, strike that. Found it by going to my app's homepage. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this gro

[web2py:34831] Re: You are going to love this

2009-11-07 Thread Wiiboy
I'm using revision 1392. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubsc

[web2py:34830] Re: You are going to love this

2009-11-07 Thread Wiiboy
Umm, how exactly do I apply them? Copy and paste? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, sen

[web2py:34462] Re: So to start with web2py and gae.

2009-11-02 Thread Wiiboy
Perhaps more descriptive =) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsu

[web2py:34457] Re: So to start with web2py and gae.

2009-11-02 Thread Wiiboy
What exactly is T3? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@

[web2py:34340] Re: Change DB in production

2009-11-01 Thread Wiiboy
Well, I got Postgres working locally, thanks to https://help.ubuntu.com/community/PostgreSQL Looks I'll be using Postgres now. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this gr

[web2py:34334] Re: Change DB in production

2009-11-01 Thread Wiiboy
On Oct 31, 10:18 pm, Thadeus Burgess wrote: > When dealing with large amounts of data, with mysql you need to do alot of > tweaking to get it just right (database engines, etc etc...), and postgres > works great out of the box. Well then yay Postgres. I'm not the type who does DB configuratio

[web2py:34323] Re: Change DB in production

2009-10-31 Thread Wiiboy
I like using DEV_MODE, so I've got: DEV_MODE = request.env.http_host.startswith("localhost") if DEV_MODE: DAL("sqlite://bla") else: DAL("postgres://bla") I'm debating MySQL vs Postgres, actually. --~--~-~--~~~---~--~~ You received this message because you a

[web2py:34308] Change DB in production

2009-10-31 Thread Wiiboy
Hi guys, I think I've finally decided that Web2py will be the framework I'll be using for my site, because deployment onto my production server worked great. Now, I can't figure out how to setup MySQL on my local computer, so I use sqlite locally. But in production, I use MySQL. What's the best

[web2py:33885] Re: Making a reference to an auth_user

2009-10-27 Thread Wiiboy
Wait. They do have date valuesI'm just accessing them wrong. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe fro

[web2py:33881] Re: Making a reference to an auth_user

2009-10-27 Thread Wiiboy
H I've set db.articles.readable and db.articles.writable to False. I made an onvalidation function that sets the date to request.now. The default is request.now. I even went into the Database Admin an added a new db.articles and provided a value for date. And yet there is no date values. -

[web2py:33869] Re: Making a reference to an auth_user

2009-10-27 Thread Wiiboy
How about a datetime field?: Field("date", "datetime", default=request.now) Right? Mine are ending up blank. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send em

[web2py:33860] Re: Making a reference to an auth_user

2009-10-27 Thread Wiiboy
Awesome. This is exactly how I hoped it would work (and exactly how Django, my ex-framework did it) =) Thanks! --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email

[web2py:33807] Re: Making a reference to an auth_user

2009-10-27 Thread Wiiboy
Cool. Thanks --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@google

[web2py:33789] Re: Making a reference to an auth_user

2009-10-26 Thread Wiiboy
And then how would I get the user's info? db(db.auth_user.id == db.tablename.author) ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web2py@googlegroups.c

[web2py:33781] Making a reference to an auth_user

2009-10-26 Thread Wiiboy
How would I make a field in my DB a reference to a auth_user? Wouldn't it be: Field("author", db.auth_user, default=auth.user) ? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this

[web2py:33780] Re: Versioning with Mercurial

2009-10-26 Thread Wiiboy
Can I use mercurial by itself to do something? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send em

[web2py:33771] Versioning with Mercurial

2009-10-26 Thread Wiiboy
Hey, I'm looking into the versioning feature. What should I use it for? I mean, I know I can commit from the web interface, but what else can I do with it? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py-use

[web2py:33647] Multiple extensions in IS_UPLOAD_FILENAME

2009-10-25 Thread Wiiboy
Hi, I noticed that one can't pass multiple extensions the IS_UPLOAD_FILENAME validator. I think that could be rather useful, especially in my situation, so I don't have to write my own validator. Is there already a way to do this? If not, it should definitely be added if possible. --~--~---

[web2py:33646] Re: Specify subdirectory in SQLFORM uploads

2009-10-25 Thread Wiiboy
Sorry, I wasn't very clear. I meant uploaded files. I need have a file go to a subdirectory of my_app/uploads, e.g. my_app/uploads/ images/FILE. I noticed that you said that it couldn't be done automatically at: http://osdir.com/ml/web2py/2009-09/msg01278.html --~--~-~--~~--

[web2py:33643] Specify subdirectory in SQLFORM uploads

2009-10-25 Thread Wiiboy
Hi, Is there a way to specify what subdirectory of app/uploads a file goes to? --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web2py@googlegroups.com To unsu

[web2py:33540] Extending Auth

2009-10-23 Thread Wiiboy
How does one extend the auth system (e.g. adding more fields, like user avatar, username, etc.)? I've seen a couple things in Wikis and so on, but nothing has been very clear. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google

[web2py:33482] Re: New to Web2py: Routing question

2009-10-22 Thread Wiiboy
Hehe, found it in the Django-to-Web2py tutorial video: request.args --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe fro

[web2py:33480] New to Web2py: Routing question

2009-10-22 Thread Wiiboy
Hey guys, I'm just starting with Web2py, switching from Django. I'm still testing to see if I should, so I might be spamming the group for a few days =). I know in Django one could, in urls.py define a specific url to include additional info (from the tutorial, a poll id), and have that passed t