i am using latest version 1.77.3 (2010-04-20 02:48:54)
On May 12, 8:29 pm, mdipierro wrote:
> This was fixed. What version of web2py are you using?
>
> On May 12, 5:51 am, Rohan wrote:
>
>
>
> > I am using auth.login and auth.register forms on a single page and it
> > is resulting in duplicate
i am using latest version 1.77.3 (2010-04-20 02:48:54)
On May 12, 8:29 pm, mdipierro wrote:
> This was fixed. What version of web2py are you using?
>
> On May 12, 5:51 am, Rohan wrote:
>
>
>
> > I am using auth.login and auth.register forms on a single page and it
> > is resulting in duplicate
Maybe we could inherit in some way, but I need to inherit a bunch.
Hence it does not help.
On May 12, 8:08 pm, Thadeus Burgess wrote:
> VirtualFields?
>
> --
> Thadeus
>
> On Tue, May 11, 2010 at 11:59 PM, vihang wrote:
> > Some of the apps I am working currently are much more easy to build if
>
Cannot inherit virtualfields
On May 12, 8:08 pm, Thadeus Burgess wrote:
> VirtualFields?
>
> --
> Thadeus
>
> On Tue, May 11, 2010 at 11:59 PM, vihang wrote:
> > Some of the apps I am working currently are much more easy to build if
> > the models can be defined as a class with methods that act
Hello,
would anyone know how would one implement GenericForeignKey using
DAL??
Thanks
Vihang
Did you see the example of producer/consumer messaging on GAE? That's
killer.
On May 11, 12:26 am, mdipierro wrote:
> you can already use pyqmf with web2py. I am not sure about rtmp. It is
> not a protocol that should be encouraged. http already provide range
> requests/partial content for stream
Looks like same problem I've been having.
On May 10, 5:23 pm, Chris S wrote:
> Does routes.py work on GAE? I've recently deployed an app which used
> the 5-line routes.py from the book for routing robots.txt and
> favicon.icon. I just wanted to get rid of that 100% error rate on
> those two fil
When in a datepicker cell without opening the calendar you can enter
+ / - to increment or decrement the date. My application is using
slickgrid for data entry, and there will be date columns that on
adding a newrow to the grid will default to previous row, and in some
cases the user may want to si
You can create it in the view in web2py. It is not a good idea. It
would not be visible in the model and controller until reload.
On May 12, 11:20 pm, ionel wrote:
> Yes, you are right! I was creating the session variable in the View,
> not in the Controller.
> Oh, poor me! This is my ASP backgro
Yes, you are right! I was creating the session variable in the View,
not in the Controller.
Oh, poor me! This is my ASP background. There I can create a session
variable anywhere.
Thanks.
ionel
On May 13, 12:02 am, Thadeus Burgess wrote:
> session['fav_color'] = "blue" works just fine.
>
> sess
They and synonymous but IS_EMPTY_OR is the newer syntax, more
coherent.
On May 12, 11:05 pm, weheh wrote:
> OK, I'm seeing IS_EMPTY_OR in the online doc. Sorry, I've been away
> from my desk for a few weeks. Is IS_NULL_OR deprecated? (Or does it
> depend on what the meaning of IS is? ;^)
>
> On M
OK, I'm seeing IS_EMPTY_OR in the online doc. Sorry, I've been away
from my desk for a few weeks. Is IS_NULL_OR deprecated? (Or does it
depend on what the meaning of IS is? ;^)
On May 13, 12:00 am, weheh wrote:
> Jonathan: Is this something new? Isn't this the way to do it?
>
> IS_NULL_OR(IS_URL(
Not sure this should have ever worked. It needs
This:
self.settings.table_user = db.users
should be:
self.settings.table_user_name = 'users'
Honestly I have not tested much what happens if you rename the
auth_user table. Please let us know if you encouter ther problems.
On May 12, 10:19 pm, Jas
session['fav_color'] = "blue" works just fine.
session is just a gluon/storage.Storage() class. which is a subclass
of "dict" and it only provides an extra method to give you the
attribute access to make things easier. Otherwise works exactly like
any other python dictionary.
You can use the sess
Jonathan: Is this something new? Isn't this the way to do it?
IS_NULL_OR(IS_URL())
Ok, I understand. I create a session variable with
session.my_var = "some content"
but not with session['some_id'] = "some content" (web2py will raise an
exception if the session variable does not exists), and I get the
content with
another_var = session.my_var
or
another_var = session['my_var']
As I said at the end of my previous post: "Of course the latter case
should have better approach. Here I am just demostrating when and when
not to use Field(..., compute=...) "
The point here is I wanna figure out the scenario for all those not-so-
obvious parameters of Field(...), such as compute
I have a GAE app that successfully uses routes.py, though it was with
an older version of web2py.
On May 11, 7:23 am, Chris S wrote:
> Does routes.py work on GAE? I've recently deployed an app which used
> the 5-line routes.py from the book for routing robots.txt and
> favicon.icon. I just wan
yeah
bookmarklets are known for like 12 years or so, now.
On May 12, 11:19 am, Adi wrote:
> Its called a bookmarklet and I believe it was popularized by blogs
> like Wordpress and Tumblr - by clicking their bookmarklet you can
> create a new post for example. We faced a lot of challenge in trying
yeah
On May 12, 11:19 am, Adi wrote:
> Its called a bookmarklet and I believe it was popularized by blogs
> like Wordpress and Tumblr - by clicking their bookmarklet you can
> create a new post for example. We faced a lot of challenge in trying
> to extract embedded video from the server side -
Massimo,
yes there are a ton of issues in my example - but it was a run-one-
time upgrade script that i monitored for completionand at the same
time was not overly concerned if a couple of records fell through the
cracks. all valid and correct points though for building something
that runs re
On Tue, May 11, 2010 at 18:39, ciprian wrote:
> i used this script to install web2py:
> http://web2py.googlecode.com/hg/scripts/setup-web2py-ubuntu.sh
>
> so i have everything in www-data
> and everything works fine.
>
> now..what do i have to install to make php work on the same folder? or
> what
anyone please? any tip ?
On May 11, 5:39 pm, ciprian wrote:
> i used this script to install
> web2py:http://web2py.googlecode.com/hg/scripts/setup-web2py-ubuntu.sh
>
> so i have everything in www-data
> and everything works fine.
>
> now..what do i have to install to make php work on the same f
This is the error that Jon Lundell's guys found already. Note that it's
trying to connect to port 8000 as HTTP. Connect as HTTPS and it should
work.
Also try upgrading to trunk, that should issue a "400 Bad Request".
-tim
On 5/12/2010 1:32 PM, mdipierro wrote:
yes please
On May 12, 1:16
On May 12, 1:36 pm, Chris S wrote:
> This only errors on the live. I've been running on the development
> server with no problem.
>
> Do I simply copy trunk over my working copy and deploy?
yes
> Where do I find the extra error information? Does it just show up in
> the error log same as abo
This only errors on the live. I've been running on the development
server with no problem.
Do I simply copy trunk over my working copy and deploy?
Where do I find the extra error information? Does it just show up in
the error log same as above?
I'll try and get this updated in a the next couple
datepicker only depends on jquery base. What features did you add?
On May 12, 1:23 pm, MaxDoesPython wrote:
> I have added a feature to jquery datepicker and need to integrate it
> into the js libraries that are loaded, so need to know what is
> included in jquery-ui.custom. I will be using lates
yes please
On May 12, 1:16 pm, Miguel Lopes wrote:
> On Tue, May 11, 2010 at 9:41 PM, mr.freeze wrote:
> > Do you have the win32 extension for Python installed?
> >http://sourceforge.net/projects/pywin32/
>
> > On May 11, 3:33 pm, Miguel Lopes wrote:
> > > On Tue, May 11, 2010 at 7:54 PM, mdi
I have added a feature to jquery datepicker and need to integrate it
into the js libraries that are loaded, so need to know what is
included in jquery-ui.custom. I will be using latest jquery libs so
can you tell me if I need to also get corresponding libs for rule and
event.drag.custom and any oth
On Tue, May 11, 2010 at 9:41 PM, mr.freeze wrote:
> Do you have the win32 extension for Python installed?
> http://sourceforge.net/projects/pywin32/
>
> On May 11, 3:33 pm, Miguel Lopes wrote:
> > On Tue, May 11, 2010 at 7:54 PM, mdipierro
> wrote:
> > > This is concerns me more:
> >
> > > WAR
A user Shu-I Huang has reported a problem with modpythonhandler.py and
proposed the following fix:
if 'SCRIPT_NAME' in options:
# Override SCRIPT_NAME and PATH_INFO if requested.
env['SCRIPT_NAME'] = options['SCRIPT_NAME']
req.uri = env['SCRIPT_NAME']# <
Hi Alvaro. Thank you for your prompt answer, but I'm still having issues
with it.
I don't have access to any configuration file. So I'm using .htaccess.
.htaccess =
SetHandler python-program
PythonHandler web2py_modpython
PythonDebug Off
PythonPath "['/home/mauricio/public_html/'] + sys.path"
we
On Wed, May 12, 2010 at 13:23, Mauricio wrote:
> Hi Everyone!
>
> First of all, I would like to congratulate Massimo Di Pierro. If you
> can read this, you are the man! I loved web2py.
>
> Unfortunately, I'm a beginner from Brazil and I'm having a hard time
> to set it up in a shared host.
>
> If
Hi Everyone!
First of all, I would like to congratulate Massimo Di Pierro. If you
can read this, you are the man! I loved web2py.
Unfortunately, I'm a beginner from Brazil and I'm having a hard time
to set it up in a shared host.
If someone can help me out, I greatly appreciate.
I made some res
the grooverwiki appliance has been subject of previous discussion. My
install is still not working, although it has improved (allows wiki
pages to be entered under admin) when I applied a change suggested in
the thread.
I think I have isolated the problem to the following section:
try:
Its called a bookmarklet and I believe it was popularized by blogs
like Wordpress and Tumblr - by clicking their bookmarklet you can
create a new post for example. We faced a lot of challenge in trying
to extract embedded video from the server side - because various sites
use very different mechani
I think those are called "bookmarklets"
On May 12, 4:45 pm, mdipierro wrote:
> I did not know that you can put javascript in a bookmark instead of
> simply a URL and when you click on the bookmark the JS code is
> executed on the page you are currently visiting.
>
> On May 12, 10:42 am, Adi wro
I do not think anybody did and here is why:
ToscaWidget example
import tw.forms as twf
movie_form = twf.TableForm('movie_form', action='save_movie',
children=[
twf.HiddenField('id'),
twf.TextField('title'),
twf.TextField('year', size=4),
twf.CalendarDatePicker('release_date'),
ty this is exactly what I need ty very much
I did not know that you can put javascript in a bookmark instead of
simply a URL and when you click on the bookmark the JS code is
executed on the page you are currently visiting.
On May 12, 10:42 am, Adi wrote:
> We don't intend to open source the application. We're flirting with
> the idea of
We don't intend to open source the application. We're flirting with
the idea of putting up some of these features as slices/recipes/
plugins for easy reuse by the community. This might take a while
though. If you need something specific I'll be happy to copy-paste the
code and walk you over the imp
http://vimeo.com/10377947
On May 12, 9:47 am, GoldenTiger wrote:
> Hi Massimo, I am Juan, from Spain.
>
> Some months ago, I read a message from you like that:
>
> "I use vps.net and I cannot be happier. I will make a video on how to
> deploy web2py there"
>
> I am very interested in that video.
We have not tested much with Opera - there may be some issues specific
to the browser. I added the same video to my account (I use Chrome on
Ubuntu 9.10) and I could add it: http://radbox.me/watch/video/502
I'll test it on Opera some time.
Perhaps try in a webkit-based browser (Firefox/Chrome/Safa
Hi Massimo, I am Juan, from Spain.
Some months ago, I read a message from you like that:
"I use vps.net and I cannot be happier. I will make a video on how to
deploy web2py there"
I am very interested in that video.
Did you make that video?
Thanks a lot
(PD: Web2Py is my favourite framework i
> Nobody know Toscawidgets and have try it with web2py ?
Hello Lannick,
Given the lack of answers it is safe to assume that no-one has tried
it with web2py...
Best regards,
Stefaan.
Why would you want web2py to auto-compute a field when you have asked
the user for its value? unless you want the computation BEFORE you
prompt the user for a value. But in this case it cannot depend on
other fields because they have not been insrted yet.
On May 12, 9:30 am, Iceberg wrote:
> So i
On May 12, 8:59 am, Śląski wrote:
> The only thinks I found is:
> For Auth operatons -> set auth.settings.expiration
> For all session -> set response.cookies[response.session_id_name]
> ['expires']=
> For permanently delete session ->
> auth.logout(); os.remove(response.session_filen
This was fixed. What version of web2py are you using?
On May 12, 5:51 am, Rohan wrote:
> I am using auth.login and auth.register forms on a single page and it
> is resulting in duplicate ids for email and password rows.
> similar discussions were going on this
> threadhttp://groups.google.com/g
VirtualFields?
--
Thadeus
On Tue, May 11, 2010 at 11:59 PM, vihang wrote:
> Some of the apps I am working currently are much more easy to build if
> the models can be defined as a class with methods that act on them.
>
>
> On May 12, 5:51 am, Álvaro Justen wrote:
>> On Tue, May 11, 2010 at
We need tutorials, a beginners, intermediate, and expert level on
web2py apps, each going into different details of web2py step by step
line by line.
--
Thadeus
On Wed, May 12, 2010 at 4:17 AM, cjrh wrote:
> On May 12, 6:11 am, Richard wrote:
>> The book was a huge improvement but there i
United States.
They are a 3rd party distribution and logistics company.
On May 11, 8:39 pm, mdipierro wrote:
> Glad to hear about this.
> Can you tell us in which country and in which field your previous
> employer was operating?
>
> On May 11, 7:34 pm, drelyn86 wrote:
>
>
>
> > With my previous
So if I understand it correctly, the Field(..., compute=...) is only
suitable for defining a field which is not supposed to be showed in
SQLFORM(), neither supposed to be filled by human.
For example, this case can use Field(..., compute=...).
db.define_table('circles',
Field('radius
United States
On May 11, 8:39 pm, mdipierro wrote:
> Glad to hear about this.
> Can you tell us in which country and in which field your previous
> employer was operating?
>
> On May 11, 7:34 pm, drelyn86 wrote:
>
>
>
> > With my previous employer, I used web2py to build a few basic
> > applicat
great app! congratulations! Very good work!
You mention a set of features which is often asked in this group. Is
your app open source so that it can help answering them?
If yes, would you please tell us where to find it?
Thank you,
Best Regards
On May 12, 1:25 pm, selecta wrote:
> I cannot get
The only thinks I found is:
For Auth operatons -> set auth.settings.expiration
For all session -> set response.cookies[response.session_id_name]
['expires']=
For permanently delete session ->
auth.logout(); os.remove(response.session_filename);
session=None;
del res
On May 12, 2010, at 6:09 AM, Sverre wrote:
> I have a field in DB to store URLs. But for the user this is optional.
> So the user should put in nothing or a URL. But if I use IS_URL in the
> database specification this field is demands always an URL. Is there a
> solution?
IS_EMPTY_OR(IS_URL())
Yes, you are right. The document is deleted.
Thank you for the answer. My question was a little bit stupid, but I
had my code was not ready.
On 12 Mai, 15:05, mdipierro wrote:
> The old one should be deleted. Please try it and let is know if you
> have any problem with it.
>
> On May 12, 4:25 am
I have a field in DB to store URLs. But for the user this is optional.
So the user should put in nothing or a URL. But if I use IS_URL in the
database specification this field is demands always an URL. Is there a
solution?
Thanks in advance
The old one should be deleted. Please try it and let is know if you
have any problem with it.
On May 12, 4:25 am, Sverre wrote:
> I have an upload field with the attribute autodelete=true. But what
> will happen to a document fiel if I upload a new document instead of
> delete the old one and the
sessions themselves never expires in web2py. Auth does. You can change
the expiration-time in the session cookie and you can change the
auth.expiration time on a per user basis. Let me look more into this
is and repost.
On May 12, 3:30 am, Śląski wrote:
> Hi,
> Is it possible to configure sessi
postgresql
http://www.postgresql.org/docs/8.1/interactive/datatype.html
serial 4 bytes autoincrementing integer1 to 2147483647
We made sure they all start at 1.
On May 12, 1:38 am, Sverre wrote:
> In the database administration a query to select all is (id>0). But
> some databases like
I cannot get I to work
I went to http://vimeo.com/10149605
pressed my bookmarklet, it said saving
but I cannot find any videos on my radbox page?
did I do something wrong?
I am using opera 10.53 Internal on ubuntu 10.04
On May 11, 11:40 am, Adi wrote:
> I saw some discussions flying around about
I am using auth.login and auth.register forms on a single page and it
is resulting in duplicate ids for email and password rows.
similar discussions were going on this thread
http://groups.google.com/group/web2py/browse_frm/thread/e43c1203d8749630
Is there any update on this?
Any update on this? I am using auth.login and auth.register forms on a
single page and it is resulting in duplicate ids for email and
password rows.
Original thread -
http://groups.google.com/group/web2py/browse_thread/thread/e43c1203d8749630?tvc=2
I have an upload field with the attribute autodelete=true. But what
will happen to a document fiel if I upload a new document instead of
delete the old one and then uploading a new document?
On May 12, 6:11 am, Richard wrote:
> The book was a huge improvement but there is certainly more to be
> done. Unfortunately this kind of work is not fun so happens slowly.
I am happy to volunteer help for documentation. I enjoy improving
documentation.
> Would it be worth migrating useful cont
Typo, it should be
cursor:pointer;
use this css style rather and href="#" so the page will not jump when
you click the "link"
On May 12, 10:42 am, selecta wrote:
> or you could do
>
> onclick="web2py_component('{{=URL(request.application,'todo','todo_form')}}',
> 'mytarget');">New form
>
>
or you could do
New form
On May 12, 10:38 am, selecta wrote:
> onclick="web2py_component('{{=URL(request.application,'todo','todo_form')}}',
> 'mytarget');">New todo
>
>
> no need for def new():
>
> On May 11, 10:16 pm, Keith Edmunds wrote:
>
>
>
> > I was to display a form using Ajax in re
New todo
no need for def new():
On May 11, 10:16 pm, Keith Edmunds wrote:
> I was to display a form using Ajax in response to a click on a link on the
> page. I have tried putting this in the view:
>
> New todo
>
>
> with this in the controller:
>
> def new():
>
> return = LOAD('todo','tod
Hi,
Is it possible to configure session in some clear way? Different
than changing some hard coded values.
I just want to customize sessions for different users (for example
user A has 5 min session expiration time, use B 30 min, user C has no
session).
The only solution I see now is to add a fu
70 matches
Mail list logo