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
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
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
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
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
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
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
})
})
--~--~-~--~~~--
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 "/
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
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...@
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/
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
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
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
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
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
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
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
> 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.
--~--~-~--~~---
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
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'
> 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
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
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.
--~--~-~-
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
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
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"))
--~--~
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"))
--~--~---
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
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
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
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
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
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
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...@
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
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
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
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
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
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.
-
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
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
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
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
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
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
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
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.
--~--~---
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
--~--~-~--~~--
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
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
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
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
54 matches
Mail list logo