Hello again,
Thank you for your answers.
I had and i still have really spent some time parsing the book and the
web2py google groups.
Thus, i tried something simplier but which doesn't work either as i
would have expected.
def makeMe():
import time
t =
I fill the registration form and shows me the registration form again.
No message.
On Aug 12, 7:49 pm, Lasiaf fai...@altlimit.com wrote:
I actually used rpx first, but I didn't like it much, so I used google
account login but then I didn't like it too much too. hehe so I
decided to use the
I originally misunderstood the issue. I thought the problem was with
Rocket. web2py.com runs on Apache+mod_wsgi.
In this case Apache decides on chunking, not web2py.
It is strange but I do not know what is the Apache policy in this
respect.
Massimo
On Aug 12, 9:59 pm, Jonathan Lundell
I've a table with fields
Field('F1', label='name')
Field('F2', label='data')
Field('F20', label='xxx')
I wish use crud to display 5 random rows of the table, and only
display F1, F2.
So, here is my code:
ids = [x.values()[0] for x in db().select(db.phmap.id).as_list()]
idr =
These people
http://bugs.php.net/bug.php?id=40472
are seeing a similar problem wth apache and php.
On Aug 13, 1:59 am, mdipierro mdipie...@cs.depaul.edu wrote:
I originally misunderstood the issue. I thought the problem was with
Rocket. web2py.com runs on Apache+mod_wsgi.
In this case
because you used hg to deploy and hg does not version control empty
folder. I just fixed it in trunk by adding an empty file in there.
On Aug 12, 8:38 pm, Bruno Rocha rochacbr...@gmail.com wrote:
Hi,
I were playing with Shell mode, to explain some DAL features in a class,
I did:
code
yes. sorry. will be fixed with next upgrade.
On Aug 12, 11:55 pm, Andrew Thompson andre...@aktzero.com wrote:
On 8/13/2010 12:53 AM, Andrew Thompson wrote: The changelog hasn't made it
up to the website.
Hmm... Replying to myself too quickly... 1.83.1 is on the page, but it's
not broken
Hi,
I'm setting up continuous integration for web2py apps. I couldn't find
any recipes for creating deployment packages from command line. Are
there any tools available for this or should I just create my own
using w2p_pack in gluon.fileutils?
words= db(db.phmap.id0).select(limitby=(0,5),order='random')
table =SQLTABLE(words,
headers={'phmap.F1':db.phmap.F1.label,phmap.F2:db.phmap.F2.label'},
columns=['phmap.F1',phmap.F2'],
truncate=32)
On Aug 13, 2:02 am, dlin dlin...@gmail.com wrote:
I've a table with fields
Field('F1',
http://www.lulu.com/product/ebook/official-web2py-manual/12196616
This is the same content as the online book but converted to PDF.
There are significant additions and changes compared to the 2nd
edition.
- new chapter on components, plugins and plugin_wiki example
- many new DAL features
http://web2py.com/book/default/chapter/08#Access-Control-and-Basic-Authentication
### does it mean, that both authentication will work together? The
default form based will remain working and basic_auth will be
available, when client program(some service consumer) will
authenticate via basic_auth?
tks, Massimo, there is a typo order should be orderby in your
sample.
Could I just define the columns, and let headers automatic get from
predefined labels?
Because, in fact, I have more fields instead of two.
On Aug 13, 3:23 pm, mdipierro mdipie...@cs.depaul.edu wrote:
words=
yes
On Aug 13, 3:01 am, David Marko dma...@tiscali.cz wrote:
http://web2py.com/book/default/chapter/08#Access-Control-and-Basic-Au...
### does it mean, that both authentication will work together? The
default form based will remain working and basic_auth will be
available, when client
headers=dict((str(c),c.label) for c in db.phmap)
On Aug 13, 3:05 am, dlin dlin...@gmail.com wrote:
tks, Massimo, there is a typo order should be orderby in your
sample.
Could I just define the columns, and let headers automatic get from
predefined labels?
Because, in fact, I have more
How can I use shell to try it before modify my web site?
./web2py -S myapp will show the prompt of ipython.
But, when I type
words= db(db.phmap.id0).select(limitby=(0,5),order='random')
it will failed, I guess I must import something.
On Aug 13, 4:11 pm, mdipierro mdipie...@cs.depaul.edu
I want to change the layout of the displayed form which is produced by
SQLTABLE and named as mytable.
1 x
2 a
3 b
4 c
5 d
6 e
I wish the odd lines and even lines have different background (in .css
instead of server side operation).
Is there any one here know how to do it?
I wish the
./web2py -S myapp -M -N
words= db(db.phmap.id0).select(limitby=(0,5),orderby='random')
-M = import models
-N = do not run cron
On Aug 13, 3:52 am, dlin dlin...@gmail.com wrote:
How can I use shell to try it before modify my web site?
./web2py -S myapp will show the prompt of ipython.
Add something like this to the view (or the layout):
scriptjQuery(tr:odd).css(background-color, #ff);/script
On Aug 13, 4:05 am, dlin dlin...@gmail.com wrote:
I want to change the layout of the displayed form which is produced by
SQLTABLE and named as mytable.
1 x
2 a
3 b
4 c
5 d
6
Or if the browser supports CSS3:
http://www.w3.org/TR/css3-selectors/#nth-child-pseudo
that works -- but it styles *ALL* tables... be warned :)
-Rob
On Fri, Aug 13, 2010 at 5:09 AM, mdipierro mdipie...@cs.depaul.edu wrote:
Add something like this to the view (or the layout):
Dear Jeremie,
I did not write the memcache code myself but I looked into it (gluon/
contrib/memcache/__init__.py). I found this line
#key =
self.__keyFormat__(key)
And I am puzzled by why it is commented. I think it should not be. Can
you try uncomment it and see if it works as you
@elfuogo1, let us know if the problems are solved.
On Aug 12, 10:36 pm, mr.freeze nat...@freezable.com wrote:
IS_STRONG is failing for a different reason but displaying your error
message. The defaults are:
min=8, max=20, upper=1, lower=1, number=1, special=1
If you remove your error
mytable['_id']='mytable'
scriptjQuery(#mytable tr:odd).css(background-color, #ff);/
script
will only do your table (mytable).
On Aug 13, 4:14 am, Robert O'Connor robby.ocon...@gmail.com wrote:
Or if the browser supports
CSS3:http://www.w3.org/TR/css3-selectors/#nth-child-pseudo
that
Dear Massimo,
Thanks for having a look at my issue.
Unfortunately, even with the modification, i can't manage to have the
get and delete methods working...
i don't know if this is important but i am working locally on the GAE
dev-app server. i don't know if memcache is working on the same way.
i have defined my table as:
db.define_table('songs',Field('name','string'),Field('song_file','upload'))
i need to play these song files using embed.
what can i do?
also how can I create and play playlists... songs of which r also
uploaded in the uploads folder
thanx in advance :)
Tks, but I don't know why it not work on my app.
controllers/default.py
mytable = SQLTABLE(...)
mytable['_id'] = 'mytable'
views/default/index.html
{{extend 'layout.html'}}
scriptjQuery(tr:even).css(background-color, #00);/
script
Robert, tks,
I'm also interesting about the css3 method.
Could you give me a sample css3 code on mytable?
On Aug 13, 5:14 pm, Robert O'Connor robby.ocon...@gmail.com wrote:
Or if the browser supports
CSS3:http://www.w3.org/TR/css3-selectors/#nth-child-pseudo
that works -- but it styles *ALL*
Now I see the problem. There is a little incompatibility between the
way get(), set(),and delete() works in web2py between GAE and non-GAE.
On GAE (gluon/contrib/gae_memcache.py
cache.memcache('time',lambda:time.ctime(),20)
cache.memcache.get(request.application+'/time')
(uses the
Look at the source of this:
http://www.web2py.com/appliances/default/show/63
as an example of uploading audio files and playing them with embed. It
is a relatively recent apps so uses recent web2py features.
On Aug 13, 4:50 am, tiffany vaidehi.3...@gmail.com wrote:
i have defined my table as:
Good day, ALL!
After update in one of old app the error appears:
Traceback (most recent call last):
File D:\a\w2p\gluon\restricted.py, line 186, in restricted
exec ccode in environment
File D:/a/w2p/applications/bioforum/views/manage.html, line 165,
in module
div class=content
File
oops bug. fixed in trunk. I will repost web2py 1.83.2 later today or
tomorrow.
On Aug 13, 5:15 am, sherdim sher...@gmail.com wrote:
Good day, ALL!
After update in one of old app the error appears:
Traceback (most recent call last):
File D:\a\w2p\gluon\restricted.py, line 186, in
line 268: values = re.compile('[\w\-:]+').findall(str(value))
if value contains some Chinease charactors , it failed to parse it.
eg:
value = |eng|汉字|
values = re.compile('[\w\-:]+').findall(str(value))
print values
#the result is ['eng'], but not ['eng','汉字']
| was used to join values, so it can be written as
values = re.compile('[^|]+').findall(str(value))
On 8月13日, 下午6时31分, hywang why00...@163.com wrote:
line 268: values = re.compile('[\w\-:]+').findall(str(value))
if value contains some Chinease charactors , it failed to parse it.
eg:
value
actually, since 1.83.1 the behavior of web2py has changed and both
would be buggy. Can you try web2py 1.83.1 and replace that line with
values = not isinstance(value,(list,tuple)) and [value] or
value
Does it work?
On Aug 13, 5:37 am, hywang why00...@163.com wrote:
| was used to join
I really want to use web2py for my app engine page, but I am not well
versed in python so I need eclipse to work so I can get autocompletion
to work.
It seems eclipse doesn't recognize web2py at all. I though I followed
the directions at:
In order to include scripting in a very dynamic component I'm appending a js
file to the response files of every template that uses the component, such
as:
{{response.files.append(URL(request.application,'static/base_components','view_oppty.js'))}}
{{extend 'layout.html'}}
However, this has the
A few comments/suggestions
1) instead of
response.headers['web2py-component-command']=$
('#show_assoc_contact').click(function(event){...);
you can do
response.js=jQuery('#show_assoc_contact').click(function(event)
{...);
Use jQuery instead of '$' since '$ may conflict with non-jquery js
http://web2pyslices.com/main/slices/take_slice/8
On 13 srp, 13:54, Miguel Lopes mig.e.lo...@gmail.com wrote:
In order to include scripting in a very dynamic component I'm appending a js
file to the response files of every template that uses the component, such
as:
Whats new in Instant Press (now in alpha3)?. Now work in GAE with some
issues, that i have to solve. I highly recommend to see the video, its
show the new features.
http://www.youtube.com/watch?v=_7UpliP6Yko
NOTE: The video has some black screens for 6-8 seconds, i dont know
why but i think it
fantastic.
Would you please post a link on http://web2py.com/appliances ?
The video seems to have some black gaps but it could be just me.
Massimo
On Aug 13, 8:37 am, Martin.Mulone mulone.mar...@gmail.com wrote:
Whats new in Instant Press (now in alpha3)?. Now work in GAE with some
issues,
wow, thanks for that investigation...
it works well for the delete statement (which is what i needed)
just for information, the get statement returns : A server error
occured. Please contact the administrator..
Thank you Massimo for helping me,
regards,
--
Jérémie
On 13 août, 12:11,
could not resist... sorry
http://www.reddit.com/r/Python/comments/d0rz8/instant_press_gae_blogging_system_with_screenshots/
On Aug 13, 8:37 am, Martin.Mulone mulone.mar...@gmail.com wrote:
Whats new in Instant Press (now in alpha3)?. Now work in GAE with some
issues, that i have to solve. I
I want to embed an audio file in my web-page. I am using the following
code :-
mp3_file=URL(r=request,c='static',f='1.mp3')
def test_embed():
embed_mp3=XML('embed src=%s autoplay=false loop=false /'
%mp3_file)
return dict(mp3=embed_mp3)
However this is not working . I can't get the file
I'm trying to run a very simple select query from the built-in web-
based shell, but I keep getting the following error: The cursor's
connection has been closed.
Here is the full traceback:
Traceback (most recent call last):
File input, line 1, in module
File ...\web2py\gluon\sql.py, line
If they are in db you can do
mp3_file=URL('download',args=filename)
def test_embed():
embed_mp3=XML('embed src=%s autoplay=false loop=false /'
%mp3_file)
return dict(mp3=embed_mp3)
On Aug 13, 8:15 am, titan gaurav9maheshw...@gmail.com wrote:
I want to embed an audio file in my web-page.
nothing. this is a known bug which we think is related to timeout in
keeping the sqlite connection open. For now use the normal shell.
On Aug 13, 8:59 am, mwolfe02 michael.joseph.wo...@gmail.com wrote:
I'm trying to run a very simple select query from the built-in web-
based shell, but I keep
Ok. If it helps with the troubleshooting, I am getting the error when
connecting to SQL Server, not SQLite. Not sure if the problem is db
backend-specific, but I thought I'd throw it out there.
Thanks for the quick response.
On Fri, Aug 13, 2010 at 10:03 AM, mdipierro mdipie...@cs.depaul.edu
How can I disable migrations for auth models which are created by
auth.define_tables() ?
David
It may be an error in keeping the transaction open too long. Anyway.
it helps... i will take one more look asap.
On Aug 13, 9:06 am, Michael Wolfe michael.joseph.wo...@gmail.com
wrote:
Ok. If it helps with the troubleshooting, I am getting the error when
connecting to SQL Server, not SQLite.
auth.define_tables(migrate=False)
On Aug 13, 9:07 am, David Marko dma...@tiscali.cz wrote:
How can I disable migrations for auth models which are created by
auth.define_tables() ?
David
On Aug 12, 2010, at 11:59 PM, mdipierro wrote:
I originally misunderstood the issue. I thought the problem was with
Rocket. web2py.com runs on Apache+mod_wsgi.
In this case Apache decides on chunking, not web2py.
It is strange but I do not know what is the Apache policy in this
respect.
The content of the blocks if coming from an included view are
displayed twice.
This is the situation I am in.
- Main_layout.html includes blocks.html.
- Index.html extends main_layout.html, overriding the blocks defined
in blocks.html.
In this cas, the blocks are displayed once as blocks and
On Aug 13, 2010, at 2:19 AM, mdipierro wrote:
@elfuogo1, let us know if the problems are solved.
Following up on Mr Freeze's comment, IS_STRONG is a bit problematical, or at
least it doesn't fit so well into the pattern of the other validators. There's
no good way to translate its messages,
When i log in http://web2py.com/appliances, redirect me to:
http://127.0.0.1:8000/appliances/default/user/login and i cannot log
in
On Aug 13, 10:55 am, mdipierro mdipie...@cs.depaul.edu wrote:
fantastic.
Would you please post a link onhttp://web2py.com/appliances?
The video seems to have some
Yes your explanation makes perfect sense, and that solves my encapsulation
problem. Thank you.
You mention normal web2py controllers and views, what would the other kind
be?
Miguel
On Fri, Aug 13, 2010 at 1:19 PM, mdipierro mdipie...@cs.depaul.edu wrote:
2) You can include a js in a component
maybe when you tried it, the version I uploaded was the one with
invalid routes(maybe development mode).
I can't think of any reason why would it fail. Also can you answer my
first and 3rd questions?
Thanks
On Aug 13, 12:55 am, mdipierro mdipie...@cs.depaul.edu wrote:
I fill the registration
It doesnt work for me or I miss something.
I have added following line into my db.py
auth.settings.allow_basic_login = True
Now I'm trying post data to some API method from my service consumer
code. But it doesnt authenticate but instead the response I'm getting
is html page with login form.
Is
please try again. there was a wrong settings
On Aug 13, 9:59 am, Martin.Mulone mulone.mar...@gmail.com wrote:
When i log inhttp://web2py.com/appliances, redirect me
to:http://127.0.0.1:8000/appliances/default/user/loginand i cannot log
in
On Aug 13, 10:55 am, mdipierro
It would be the use of components in plugin_wiki/page pages
``
name: oppty_contacts
``:widget
in this case you do not need to worry about response.fields.append()
because the plugin is rendered before it is embedded in view.
On Aug 13, 10:01 am, Miguel Lopes mig.e.lo...@gmail.com wrote:
Indeed. This needs some work. I will send a patch soon.
On Aug 13, 2010 10:43 AM, Jonathan Lundell jlund...@pobox.com wrote:
On Aug 13, 2010, at 2:19 AM, mdipierro wrote:
@elfuogo1, let us know if the problems are solved.
...
Following up on Mr Freeze's comment, IS_STRONG is a bit
Hi,
I have a lot of views in my system with the following code at the top
of the view html:
{{import string}}
{{if request.vars and 'printMode' in request.vars:}}
{{printMode=request.vars['printMode']}}
{{else:}}
{{printMode=None}}
{{pass}}
{{if printMode:}}
{{extend 'layoutPrint.html'}}
I wonder if this would also work with block templates - supposing block
templates are integrated before the header is set.
I remember recently reading about block templates. Have this been integrated
in the reference distribution?
Thank you so much for all the great help.
Miguel
On Fri, Aug
Remind me, please, what the function of the -f folder command line option is.
All the other startup method appear to use the location of the startup file (eg
wsgihandler.py).
Deploying on GAE this will run under BigTable db,so I need to register a
new user, how I'll define that the new user is an administrator?
is there any way to specify a master user? or ad...@mail.com is not on db?
2010/8/13 Martin.Mulone mulone.mar...@gmail.com
Whats new in Instant Press (now
Are two Row objects representing the same
row in the db, ie:
row1 = db.table[row_id]
row2 = db.table[row_id]
if row1 is row2:
return 'Always true?'
And is it the same on GAE?
No need a new user. Log in with this user (is created by default):
User: ad...@mail.com
Password: admin123
this is user is in the admin group. In future not implemented yet, you
are going to assign a user as admin. You can change your password in
your profile also. Or if you want you can change
Now working but i am a bit lost, how do i post the app?, i dont see
any menu or link.
On Aug 13, 12:17 pm, mdipierro mdipie...@cs.depaul.edu wrote:
please try again. there was a wrong settings
On Aug 13, 9:59 am, Martin.Mulone mulone.mar...@gmail.com wrote:
When i log
Its a design feature. In the original design talks of the new layout
it was decided blocks should be ignored/not supported for included
templates. Mainly because it is not obvious how the dependencies
between index.html, layout.html and includes.html should be handled,
which block definition gets
Oh yeah! Haven't a clue how to do a patch file, but here is the
change...
Line 33 in the appadmin.html
[ {{=A(str(T('insert
new'))+''+table,_href=URL(r=request,f='insert',args=[db,table]))}} ]
should be:
[ {{=A(str(T('insert new
Odd... it should *technically* extend from the last seen version of
extend regardless of where it is located.
Also, I don't understand how this worked pre 1.80 either.
The templates are parsed before any of the python statements are even
known or executed, this just should have never worked.
I
yes
On Aug 13, 10:33 am, Miguel Lopes mig.e.lo...@gmail.com wrote:
I wonder if this would also work with block templates - supposing block
templates are integrated before the header is set.
I remember recently reading about block templates. Have this been integrated
in the reference
Probably not.
On Aug 13, 11:08 am, szabba isza...@gmail.com wrote:
Are two Row objects representing the same
row in the db, ie:
row1 = db.table[row_id]
row2 = db.table[row_id]
if row1 is row2:
return 'Always true?'
And is it the same on GAE?
http://web2py.com/appliances/default/edit
I need to add a link
On Aug 13, 11:24 am, Martin.Mulone mulone.mar...@gmail.com wrote:
Now working but i am a bit lost, how do i post the app?, i dont see
any menu or link.
On Aug 13, 12:17 pm, mdipierro mdipie...@cs.depaul.edu wrote:
please try
Ignore previous email:
http://web2py.com/appliances/default/edit/0
On Aug 13, 11:24 am, Martin.Mulone mulone.mar...@gmail.com wrote:
Now working but i am a bit lost, how do i post the app?, i dont see
any menu or link.
On Aug 13, 12:17 pm, mdipierro mdipie...@cs.depaul.edu wrote:
please
Sorry. I do not see the difference
On Aug 13, 11:26 am, Jason Brower encomp...@gmail.com wrote:
Oh yeah! Haven't a clue how to do a patch file, but here is the
change...
Line 33 in the appadmin.html
[ {{=A(str(T('insert
I used this script (http://code.google.com/p/web2py/source/browse/
scripts/setup-web2py-ubuntu.sh) to install web2py on a fresh
linode.com VPS with Lucid. I created my postgres user and database as
outlined in the web2py manual (http://web2py.com/book/default/chapter/
11#PostgreSQL). When I try
It was 'insert new' and now it's 'insert new '
Small one, but important for that polished look.
BR,
Jason Brower
On Fri, 2010-08-13 at 09:39 -0700, mdipierro wrote:
Sorry. I do not see the difference
On Aug 13, 11:26 am, Jason Brower encomp...@gmail.com wrote:
Oh yeah! Haven't a clue how
w00t
--
Thadeus
On Fri, Aug 13, 2010 at 11:52 AM, Jason Brower encomp...@gmail.com wrote:
It was 'insert new' and now it's 'insert new '
Small one, but important for that polished look.
BR,
Jason Brower
On Fri, 2010-08-13 at 09:39 -0700, mdipierro wrote:
Sorry. I do not see the
I did as mr.freeze suggested and I added values for all parameters:
db.auth_user.password.requires =
[IS_STRONG(min=8,max=None,upper=None,lower=None,special=None,number=None,error_message='Too
short'),
CRYPT(auth.settings.hmac_key)]
It helped with my first problem. I don't get error_message any
Got Error on GAE (rochacbruno.appspot.com), there is any forum, group or bug
tacking about Instant Press?
1.
1. 08-13 11:15AM 21.583 / 500 6708ms 9277cpu_ms 6691api_cpu_ms
0kb Mozilla/5.0
(Macintosh; U; Intel Mac OS X 10.6; pt-BR; rv:1.9.2.8) Gecko/20100722
Thats opensource?
2010/8/13 Lasiaf fai...@altlimit.com
maybe when you tried it, the version I uploaded was the one with
invalid routes(maybe development mode).
I can't think of any reason why would it fail. Also can you answer my
first and 3rd questions?
Thanks
On Aug 13, 12:55 am,
On Aug 13, 3:21 pm, Bruno Rocha rochacbr...@gmail.com wrote:
Got Error on GAE (rochacbruno.appspot.com), there is any forum, group or bug
tacking about Instant Press?
yes, http://code.google.com/p/instant-press/
I have mine working with no problem in
Is there anyone who succesfully use basic auth for services? can you
share you experience, how did you get things working?
David
On 13 srp, 17:05, David Marko dma...@tiscali.cz wrote:
It doesnt work for me or I miss something.
I have added following line into my db.py
I am using web2py 1.83.1 and InstantPressAlpha3.w2p, deployed with
AppEngineLaucher4Mac, and raises error (rochacbruno.appspot.com).
I have to change something before deploying to GAE?
2010/8/13 Martin.Mulone mulone.mar...@gmail.com
On Aug 13, 3:21 pm, Bruno Rocha rochacbr...@gmail.com wrote:
My steps:
(I am in linux)
I download the last version of appengine in
http://googleappengine.googlecode.com/files/google_appengine_1.3.5.zip
and the last version of web2py.
I exctract appengine and web2py,and then I move web2py to
google_appengine directory, to have google_appengine/web2py
then
I created a layout plugin using the instructions in the live Web2py
book (http://web2py.com/book/default/chapter/05#Page-Layout) and
noticed that the {{include}} no longer functions as well as login
register and other links.
By removing the ((extends }} statement in default/index.html you can
get
Gee wiz I posted the wrong link to the Web2py manual, here is the
correct reference...
http://web2py.com/book/default/chapter/13?search=plugin#Layout-plugins
C
On Aug 13, 4:03 pm, Christopher Steel chris.st...@gmail.com wrote:
I created a layout plugin using the instructions in the live
lol,
splitting views/plugin_layout_themename in two and putting something
like this in views/layout.html works great if you need a quick hack...
{{include 'plugin_layout_voa/top_layout.html'}}
{{include}}
{{include 'plugin_layout_voa/bottom_layout.html'}}
Cheers
Chris
On Aug 13, 4:08 pm,
+1
i have not tried it, but i suspect that the problem that Bruno is
having is that index.yaml is not updated. since index.yaml lives at
the top-level directory of web2py it is not included in the packaged
application. GAE dev server will generate the proper index.yaml file
if you run through all
How this could be related to the error message?
File
/base/data/home/apps/rochacbruno/1.344059879837984861/applications/init/models/main.py,
line 213, in get_last_pages
last_posts =
db(query).select(db.posts.ALL,orderby=~db.posts.published_on,limitby=(limit_inf,
limit_sup))
2010/8/13 howesc
I suspected that I had done something that worked 'by chance' and the
new version caught me out. :)
Thanks for the tip - I'll try it.
Paul G
On Aug 13, 5:30 pm, Thadeus Burgess thade...@thadeusb.com wrote:
Odd... it should *technically* extend from the last seen version of
extend regardless
You restart the webserver after installng psycopg2?
2010/8/13 Dave O oeyonl...@gmail.com
I used this script (http://code.google.com/p/web2py/source/browse/
scripts/setup-web2py-ubuntu.shhttp://code.google.com/p/web2py/source/browse/%0Ascripts/setup-web2py-ubuntu.sh)
to install web2py on a
can you try
print CRYPT(auth.settings.hmac_key)('hello world')
what do you get? Did you set
auth.settings.hmac_key='sha512:somerandompasphrase'
On Aug 13, 12:39 pm, elfuego1 elfue...@gmail.com wrote:
I did as mr.freeze suggested and I added values for all parameters:
Hi!
I am having problems witn Invalid request.
server.port = 81
server.bind = 0.0.0.0
#server.event-handler = freebsd-kqueue
server.modules = (
mod_access,
mod_rewrite,
mod_fastcgi,
mod_accesslog,
The 3rd edition of the book is finally available in paperback.
http://www.lulu.com/product/paperback/web2py-(3rd-edition)/12199578
The 3rd edition has 40% more text and it is 30% cheaper than the 2nd
edition.
Massimo
Requirements for password field in db.py file are as follows:
db.auth_user.password.requires =
[IS_STRONG(min=8,max=None,upper=None,lower=None,special=None,number=None,error_message='Too
short'),
CRYPT(auth.settings.hmac_key)]
there are aslo defined these parameters:
auth.settings.controller =
Awesome work! Keep it up on this, it's getting better fast!
On Aug 13, 8:37 am, Martin.Mulone mulone.mar...@gmail.com wrote:
Whats new in Instant Press (now in alpha3)?. Now work in GAE with some
issues, that i have to solve. I highly recommend to see the video, its
show the new features.
Dear All.
How i can pass parameters between forms with POST or GET?
Regards.
request.post_vars
request.get_vars
request.vars
--
Thadeus
On Fri, Aug 13, 2010 at 10:49 PM, FERNANDO VILLARROEL
fvillarr...@yahoo.com wrote:
Dear All.
How i can pass parameters between forms with POST or GET?
Regards.
Oh man, that was it! Thanks so much.
-Dave
On Aug 13, 3:07 pm, Alexandre Andrade alexandrema...@gmail.com
wrote:
You restart the webserver after installng psycopg2?
2010/8/13 Dave O oeyonl...@gmail.com
I used this script (http://code.google.com/p/web2py/source/browse/
100 matches
Mail list logo