1) download and unzip your favorite drupal theme
2) cut and paste the content of page.php into
http://www.web2py.com/php
3) retrieve the generated web2py code and save it as layout.html (this
is not 100% fool proof but works 90% of the times)
4) move layout.html into yourapp/views/layout.htm
BTW... if you have an image it should also show a preview under the
file input field.
On May 11, 11:28 pm, mdipierro wrote:
> Got it. This is a bug, not a missing feature. I just fixed it in
> trunk.
>
> If your auth_user table contains images you do not need to reload them
> when updating the p
Got it. This is a bug, not a missing feature. I just fixed it in
trunk.
If your auth_user table contains images you do not need to reload them
when updating the profile.
Please give it a try.
Massimo
On May 11, 10:51 pm, Jason Brower wrote:
> When uploading files with the forms, I don't have
When uploading files with the forms, I don't have the previously used
file there, and I have to select a new file if I want my validation to
work. (A file is required in my table model.) This is a major issue, as
all users have to have a copy of their profile picture every time the
change their p
Oh OK I see... Thanks :)
Yannick P.
On May 11, 9:58 pm, mdipierro wrote:
> Yes, sometime later toady or tomorrow.
>
> On May 11, 8:40 pm, Yannick wrote:
>
> > Yes I did understand that part... I was just wondering if the fix will
> > be include the coming version of Auth API in order to have th
Yes, sometime later toady or tomorrow.
On May 11, 8:40 pm, Yannick wrote:
> Yes I did understand that part... I was just wondering if the fix will
> be include the coming version of Auth API in order to have this two
> requirements possible:
> - A simple welcome registration email and password r
In trunk, look at the file
applications/admin/controllers/gae.py
It provides an example of suprocess + ajax to interact with
subprocess.
On May 11, 8:13 pm, Francisco Gama wrote:
> - does that call return anything at all?
> For example, if you try:
> print 'A'
> os.system(...)
> print 'B'
>
>
This is not correct. In web2py datetime is a proper datetime
from datetime import datetime
a=datetime(1800,1,1,12,0,0)
db.define_time('test,SQLField('adatetime','datetime',default=a))
and it works on every architecture including GAE.
Instead float numbers would not have enough precision to repr
Yes I did understand that part... I was just wondering if the fix will
be include the coming version of Auth API in order to have this two
requirements possible:
- A simple welcome registration email and password retrieval.
Because right now since the registration_key is empty in order for me
to
- does that call return anything at all?
For example, if you try:
print 'A'
os.system(...)
print 'B'
do you ever get see 'A' and 'B' ?
- have you tried using subprocess instead of os.system?
For example:
import subprocess
subprocess.call("E:/Python/web2py_src/web2py/applications/
TheReckoning/
p
@Massimo
I have seen that the datetime type is not a fundamental of Python but really
a floating number based on seconds since 1970.
I still don't understand why we could not intercept the method call and pass
the value that will work to the GAE interface layer.
On Mon, May 11, 2009 at 5:11 PM, m
On Mon, May 11, 2009 at 3:50 PM, Tim Michelsen
wrote:
...
> So with reference to my post [1], I present a modified
> welcome application which has the following new
> features:
> 1) A Sphinx template that can be used to document the
> application. I think this a very convenient feature.
>
Great work Tim. It will take some time to digest it.
On May 11, 3:50 pm, Tim Michelsen wrote:
> Dear web2py-community,
> after creating the Sphinx-based documentation
> infrastructure for web2py I though:
> Why not documenting also the applications?
>
> You are all moving fast. I couldn't resist
what do you mean by "upload information"?
On May 11, 3:37 pm, Jason Brower wrote:
> I want to keep my upload information when I use the auth profile page.
> Wasn't there a way to do this recently added to web2py?
> It's a great release btw.
> Regards,
> Jason Brower
--~--~-~--~~-
because no mailer is set by default.
On May 11, 3:20 pm, Yannick wrote:
> Oh ok.. you right the password retrieval don't work anymore... I just
> realized that the new version has been posted 1.62... the Auth Api
> included that clean-up ?
>
> Thanks for all...
> Yannick P.
>
> On May 8, 10:14 p
wow. that is a pleasant surprise!
On May 11, 2:54 pm, Yarko Tymciurak wrote:
> Wow! FrontPage; Top Headline!
> Massimo - this is not doubt because of the Google App Engine deploy in the
> recent video..
>
> Right now you get no "GAE DEPLOY" menus without a valid GAE_APPCFG setting
> in your ap
The following is not the appriate way of dealing with it:
> if T.http_request_language != T.accepted_language:
> flash("Tell your admin to add language %s to this app!"
> % T.http_request_language )
>
> if T.accepted_language==None:
> # try to force some language;
> # if it's still
Hey Gang:
When a user visits a page, I am attempting to run the following lines:
import os
os.system("E:/Python/web2py_src/web2py/applications/TheReckoning/
prod_scripts/dropship_copy_to_opc.bat")
This exact command works fine from a Python interactive session,
BUT when put into a Web2py fu
Dear web2py-community,
after creating the Sphinx-based documentation
infrastructure for web2py I though:
Why not documenting also the applications?
You are all moving fast. I couldn't resist...
So with reference to my post [1], I present a modified
welcome application which has the following new
I want to keep my upload information when I use the auth profile page.
Wasn't there a way to do this recently added to web2py?
It's a great release btw.
Regards,
Jason Brower
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
Oh ok.. you right the password retrieval don't work anymore... I just
realized that the new version has been posted 1.62... the Auth Api
included that clean-up ?
Thanks for all...
Yannick P.
On May 8, 10:14 pm, mdipierro wrote:
> The Auth API need some more cleanup because this solution will no
Wow! FrontPage; Top Headline!
Massimo - this is not doubt because of the Google App Engine deploy in the
recent video..
Right now you get no "GAE DEPLOY" menus without a valid GAE_APPCFG setting
in your app.
I think it would be nice (?) to have a GAE deploy menu regardless, and if
this isn't se
cool!
On May 11, 1:30 pm, Markus Gritsch wrote:
> Yay!
>
> http://googleappengine.blogspot.com/2009/05/web2py-support-new-datast...
>
> LG, Markus
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py Web Framewor
Yay!
http://googleappengine.blogspot.com/2009/05/web2py-support-new-datastore-backend.html
LG, Markus
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To post to this group, send email
On Mon, May 11, 2009 at 1:23 PM, Yarko Tymciurak wrote:
> Is there some discussion needed on this, guruyaya?
> For example, T.__init__ can set T.accepted_language=None for starters...
> Is it additionally necessary to have T.accepted_language = 'Default' ?
>
> For example, if request.env.http_ac
Is there some discussion needed on this, guruyaya?
For example, T.__init__ can set T.accepted_language=None for starters...
Is it additionally necessary to have T.accepted_language = 'Default' ?
For example, if request.env.http_accept_language doesn't have a translation
file in your app, do appli
Annet,
It worked like a champ. thx.
On May 11, 10:28 am, JohnMc wrote:
> Annet,
>
> Had not solved it as yet. Guess I am just slow. :)
>
> I'll give this a go and I bet it will work! thanks for the tip.
>
> JohnMc
>
> On May 11, 6:37 am, annet.verm...@gmail.com wrote:
>
> > I don't know if you'
I will fix this "T.accepted_language is not always defined" and make
sure tis defaults to None if no language has been accepted.
Massimo
On May 11, 12:07 pm, Yarko Tymciurak wrote:
> It seems you are correct from a few perspectives:
>
>- T.accepted_language is not always defined (it's only
db.table.field.represent = lambda value: UL(
LI(A(T('edit'),_href=URL(r=request, c='default',f='data/update/
table', args=str(value,
LI(A(T('remove'),_href=URL(r=request, c='default',f='data/
delete/table', args=str(value)
then make your SQLTABLE, e.g.: SQLTABLE(db().s
It seems you are correct from a few perspectives:
- T.accepted_language is not always defined (it's only reference is in
T.force - where it is set); for this to be useful it would have to be
always set, be something consistent;
- T.http_accept_language is set per request; accepted_l
Hello,
I want to use customised dropdown field in my app,
but dont want to to duplicate the code..
my dropdown has the tree structure in it
like in
http://groups.google.com/group/web2py/browse_thread/thread/7091d1d67e28a914/c7df08450949c0e8
I found I could use
form.components[0].append(myfiel
yes, we should have a party. We could have one of the DePaul Island on
SecondLife.
Massimo
On May 11, 11:01 am, DenesL wrote:
> One goes away for one week and wow! nice... good job guys.
> And we also have over a 1000 members now, did I miss the celebration?.
>
> On May 11, 2:10 am, mdipierro
One goes away for one week and wow! nice... good job guys.
And we also have over a 1000 members now, did I miss the celebration?.
On May 11, 2:10 am, mdipierro wrote:
> Hi everybody I posted web2py 1.62rc2
>
> http://www.web2py.com/examples/static/1.62rc2/web2py_src.ziphttp://www.web2py.com/exa
More than this I would prefer to have
db.define_table('mytable',
> SQLField(...),
> ...
> actual_filename='myapp_mytable',
> field_prefix=None',
> )
The problems are:
- This requires many small changes to sql.py and, if done, needs to
lots of testing.
- This requires introducing
Annet,
Had not solved it as yet. Guess I am just slow. :)
I'll give this a go and I bet it will work! thanks for the tip.
JohnMc
On May 11, 6:37 am, annet.verm...@gmail.com wrote:
> I don't know if you've solved the problem yet, but anyway, I put the
> dataTables images in a folder in static/m
Does the problem occur only with shell?
If so, are you doing db.commit() after that statment?
This may be a quirk of how sqlite handles transactions?
Which OS?
Are you sure the behavior changed from 1.61 to 1.62?
On May 11, 9:32 am, Kuba Kucharski wrote:
> > Can you explain better? Do you think
> Can you explain better? Do you think this bug in web2py or your code?
might it be locks on sqlite that I see such things?
I have to work on (semi)-production environment. should I move to
mysql or pgsql now to avoid problems?
my code seems ok..
if not.. :
could you please do:
db.auth_user[10
Hi,
sometimes we use prefixes to identify tables, like:
myapp_mytable
I use it because I have only one DB per site - and one site can have
multiple apps.
But is very painful to do db.myapp_mytable.somefield.
So, I request a new feature:
db.define_table('myapp_mytable',
shortcut='mytable',
Can you explain better? Do you think this bug in web2py or your code?
On May 11, 8:58 am, Kuba Kucharski wrote:
> > does not change registration key. the value remains the same. it does
> > not throw an error.
>
> i was wrong, it changes, it looks like I am appending every value to
> the end of
> does not change registration key. the value remains the same. it does
> not throw an error.
i was wrong, it changes, it looks like I am appending every value to
the end of the previous key with this update
--
Kuba
--~--~-~--~~~---~--~~
You received this messag
The admin page is almost fully internationalized. we just do have a
chinese translation.
Massimo
On May 11, 7:53 am, "Zoom.Quiet" wrote:
> On Mon, May 11, 2009 at 14:10, mdipierro wrote:
>
> > Hi everybody I posted web2py 1.62rc2
>
> >http://www.web2py.com/examples/static/1.62rc2/web2py_src.zi
from console:
db.auth_user[10]=dict(last_name='ChangedName')
works and changes the last name of a user with id 10.
db.auth_user[10]=dict(registration_key=' ' ) or
db.auth_user[10]=dict(registration_key=' 61348d9e207fdbaab54b90333b4b1edb' )
does not change registration key. the value remains t
i try to use the last version 1.62rc2
and a still with the same problem, now show right what is doing but
still showing none in the record
something like
Record None create
Record None update
i gonna post my model and control maybe im doing something wrong
### Model ##
try:
from gluo
On Mon, May 11, 2009 at 14:10, mdipierro wrote:
>
> Hi everybody I posted web2py 1.62rc2
>
> http://www.web2py.com/examples/static/1.62rc2/web2py_src.zip
> http://www.web2py.com/examples/static/1.62rc2/web2py_win.zip
> http://www.web2py.com/examples/static/1.62rc2/web2py_osx.zip
>
> There are man
Hi,
Looks like the registration process is still broken, you can't have
automatic removal of a registration key (by email verification).
Is it true? I've been asking for help in this matter some time
ago(subject: auth in trunk). It is about
auth.settings.block_registration. Maybe it is only my p
Hi
I'm a total newbie of web2py and I need some help with the GrooverWiki
app
It don't work.
I install it via "upload application" and it's all ok.
I see the "GrooverWiki" app in the list but when I call it it has an
error:
Someone can help me?
Thanks
-
I don't know if you've solved the problem yet, but anyway, I put the
dataTables images in a folder in static/media/datatables and in the
demo.css file changed the following URLs:
.paginate_disabled_previous {
background-image: url('../media/dataTables/back_disabled.jpg');
}
.paginate_en
Well, I had it in mind, but it won't work very well. First of all, I
can't consider this a part of the API, and it can change over time.
One of the reason I like web2py is the API stability. The other
problem I have, is in the case the language does not exist. Say I
created a site with Italian as
48 matches
Mail list logo