Fran,
No, the version in trunk that fixed my problem was r1016.
> I have pages which have a List at the top of the page (created by
> crud.select) & underneath a create form (created by crud.create).
> With r896 & earlier, submitting a new record would refresh the List.
> r897 & later need a ma
In web2py I have 5 applications which make use of the same static
files, at the moment each application has its own static files folder
containing these files. I wonder whether it is possible to remove the
static files the applications have in common from all applications but
one and reference the
In web2py I have 5 applications which make use of the same static
files, at the moment each application has its own static files folder
containing these files. I wonder whether it is possible to remove the
static files the applications have in common from all applications but
one and reference the
Massimo,
In Safari, the web inspector displays warning messages like these:
Resource interpreted as stylesheet but transferred with MIME type text/
html
Resource interpreted as script but transferred with MIME type text/
html
Resource interpreted as image but transferred with MIME type text/html
Not at all.
The cache.ram in log.py is to make sure the logger is inited only
once, otherwise we will see more and more duplicate log appearing in
the log file as Hans mentioned in his earlier posts. The only downside
is that you need to restart web2py if you change (but usually you
don't need to
I have a similar problem:
I cannot get
to work on IE 8 or Opera.
IT DOES WORK on Chrome 2.0
I spent the last 3 days on this problem. Finally I had to cut and
paste all of my .js files
to be in place in the .html file which needs them. Now I finally have
my web2py app working on 3 browsers.
O
subject=str(T('Lazy subjects')) did it.
what's useful is that I can use subject=str(T(subject)) and bury this
statement inside my email() wrapper so that different calling code can
use (or not use) T appropriately.
This was an awkward gotcha for me. Any place that this could be
documented? Happy
I do not know if it is a copy and paste error, but did not you forget
the closing tag.
Kind regards,
Annet.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To post to this group,
There was thread a few weeks ago where a developer said he was
working to update the Appliances to work on GAE.
For example, I know that TonyBlog needs a few lines changed to handle
the blob on GAE.
What is the status of the GAE patches? Are the Appliances here
http://mdp.cti.depaul.edu/applian
While testing my application in Firefox I encountered the following
problem:
I have a master-detail view: the master displays a table, when the
user clicks the following link:
{{=A(club.bedrijf.bedrijfsnaam,_href="javascript:clublocatordetails
('%s')"\%URL(r=request,f='details',args=
[club.bed
On Jun 11, 8:00 am, annet wrote:
> No, the version in trunk that fixed my problem was r1016.
I suspect this is an SVN revno?
Bzr is currently on 909
Since Bzr is the master repo, I think it's best to quote those
revno's.
> I have something similar, just the other way around first the form
> th
On Jun 11, 7:41 am, Joe Barnhart wrote:
> I don't think it is something you need to add to web2py. This is
> really a workaround for sqlite because it doesn't respect the normal
> keywords of ON DELETE RESTRICT or CASCADE. It's a simple enough work-
> around that is added to the model file for
Hi
On 9 Giu, 16:19, mdipierro wrote:
> I will post keynote and ppt versions tonight.
>
Great.
Where?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
To post to this group, send email
Almost perfect. Line 705 in tools.py should be:
if not self in self.settings.login_methods:
instead of
if not self in login_methods:
All of the combinations work as advertised with the change above.
Thanks!!! I will have a much easier time pushing web2py at work if we
can use our existing AD us
On Jun 11, 7:49 am, annet wrote:
> notnull=True, unique=True
I see that these provide DB-level protection of fields so always take
effect, but trigger tickets if violated
Validators provide nice user-friendly warnings instead of tickets, but
are only used if the application calls them (i.e. cust
Fran,
> I suspect this is an SVN revno?
> Bzr is currently on 909
>
> Since Bzr is the master repo, I think it's best to quote those
> revno's.
You are right, but ...
At this page: http://bazaar.launchpad.net/%7Emdipierro/web2py/devel/revision/897
How do I download the modified files and updat
I am changing "form.begin" ot just "begin" as below:
{{=form.custom.begin}}
{{=form.custom.widget.field1}}
{{=form.custom.widget.field2}}
{{=form.custom.widget.field3}}
{{=form.custom.submit}}
{{=form.custom.end}}
On Jun 11, 12:29 am, Hans Donner wrote:
> Nice,
>
> >
>
> can be done with
> {{=
this is fine
On Jun 11, 2:37 am, annet wrote:
> In web2py I have 5 applications which make use of the same static
> files, at the moment each application has its own static files folder
> containing these files. I wonder whether it is possible to remove the
> static files the applications have i
I strongly suggest postgresql over mysql. They both work file mysql
has lots of quirks: max size of text fields, migrations need to be in
their own transaction, ... once in a while I find a new one.
Postgresql always does what one expect.
Massimo
On Jun 11, 1:30 am, Fran wrote:
> On Jun 11, 6:4
Correction. {{=form.custom.labels[fieldname]}} did work in the trunk,
but the proper syntax is "label", not "labels".
Sorry for the misinformation.
On Jun 10, 9:58 pm, Gary wrote:
> Massimo,
>
> Thank you. You mentioned before that widget worked in the trunk - you
> are, of course correct, but
fixing!
On Jun 11, 6:58 am, "mr.freeze" wrote:
> Almost perfect. Line 705 in tools.py should be:
> if not self in self.settings.login_methods:
> instead of
> if not self in login_methods:
>
> All of the combinations work as advertised with the change above.
> Thanks!!! I will have a much easie
Fran,
> > notnull=True, unique=True
>
> I see that these provide DB-level protection of fields so always take
> effect, but trigger tickets if violated
That is what I thought, furthermore, I thought that by adding the
following validators:
db.provincie.provincie.requires=[IS_NOT_EMPTY(),IS_NOT_
LDAP could be used to verify group membership too. It would be cool
if we could do something similar to login_methods:
auth.settings.membership_providers = [ldap_membership(...), auth]
Not sure how tricky the implementation would be though...
On Jun 11, 7:37 am, mdipierro wrote:
> fixing!
>
>
I was wondering of a possibility of speeding up models (especially if
you have several different datasources), while keeping backward
compatibility and also a convention over configuration approach. We do
everything as before, however, if there IS a model with the same base
name as a controller, u
On Jun 11, 1:47 pm, annet wrote:
> I thought that by adding the
> following validators:
> db.provincie.provincie.requires=[IS_NOT_EMPTY(),IS_NOT_IN_DB
> (db,'provincie.provincie',error_message=T('provincie already in
> database'))]
> ... the notnull=True would be covered at web2py form level by t
change clubdetailswindow -> var clubdetailswindow unless you really
are looking for a global clubdetailswindow.
in order --
try your caller without the _target="_blank".
have you tried using _onclick=" " rather than _href to trigger
clublocatordetails()?
last you might put a alert(url); as th
Hello.
It is more proper to use 401 status code than 400 for 'not authorized' case.
http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html#sec10.4.2
--
Sincerely yours
Alexey Nezhdanov
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
:( I had to read code closer. There are actually three different keys so three
different codes required. Modified patch attached.
On Thursday 11 June 2009 17:15:23 Alexey Nezhdanov wrote:
> Hello.
>
> It is more proper to use 401 status code than 400 for 'not authorized'
> case.
>
> http://www.w3
keynote is available
ppt returns 'invalid request'
ACC
On Wed, Jun 10, 2009 at 5:57 PM, Fran wrote:
>
> On Jun 10, 8:12 pm, mdipierro wrote:
>> I posted the slides in Keynote format
>> http://www.web2py.com/examples/static/cookbook2.key.zip
>
> Works, but I don't have a Mac
>
>> and PowerPoint
please try again
On Jun 11, 8:20 am, "A. C. Censi" wrote:
> keynote is available
>
> ppt returns 'invalid request'
>
> ACC
>
>
>
> On Wed, Jun 10, 2009 at 5:57 PM, Fran wrote:
>
> > On Jun 10, 8:12 pm, mdipierro wrote:
> >> I posted the slides in Keynote format
> >>http://www.web2py.com/example
You can add "if" statememts in models
On Jun 11, 8:03 am, AchipA wrote:
> I was wondering of a possibility of speeding up models (especially if
> you have several different datasources), while keeping backward
> compatibility and also a convention over configuration approach. We do
> everything
Not sure the web2py groups should be the same as the ldap groups.
On Jun 11, 7:50 am, "mr.freeze" wrote:
> LDAP could be used to verify group membership too. It would be cool
> if we could do something similar to login_methods:
> auth.settings.membership_providers = [ldap_membership(...), auth]
Thanks for your reply.
I changed the view to read like:
{{=A
(club.bedrijf.bedrijfsnaam,_href="javascript:clublocatordetails('%s')"
%URL(r=request,f='details',args=[club.bedrijf.id]))}}
... so, the caller without _target='blank'.
I changed the function in _ajax.html to read like:
Fran,
You are right, I had a look at my code, in a custom form I have:
form=form_factory(SQLField('plaats',requires=IS_NOT_EMPTY(),\
widget=lambda self, value:INPUT
(_type='text',_id='clubbyplace',_class='ac_input',_name='plaats',requires=self.requires)))
This prevents the field from bein
Downloading now!
Thanks
ACC
On Thu, Jun 11, 2009 at 10:25 AM, mdipierro wrote:
>
> please try again
>
> On Jun 11, 8:20 am, "A. C. Censi" wrote:
>> keynote is available
>>
>> ppt returns 'invalid request'
>>
>> ACC
>>
>>
>>
>> On Wed, Jun 10, 2009 at 5:57 PM, Fran wrote:
>>
>> > On Jun 10, 8:1
Fran,
> I suspect this is an SVN revno?
> Bzr is currently on 909
> Since Bzr is the master repo, I think it's best to quote those
> revno's.
You are right, but ...
At this page: http://bazaar.launchpad.net/%7Emdipierro/web2py/devel/revision/897
How do I download the modified files and update
Annet,
Don't discount the need for the 'return false;' If you ever get a
complaint from an IE6 customer, that !...@##$!@ browser does not handle
javascript closures as it should. That statement was the work around.
question is, does it work now?
On Jun 11, 8:29 am, annet wrote:
> Thanks for yo
Hi
> >> > On Jun 10, 8:12 pm, mdipierro wrote:
> >> >> I posted the slides in Keynote format
> >> >>http://www.web2py.com/examples/static/cookbook2.key.zip
>
Great.
Really thanks
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the
John,
It does work in Safari 4 and Firefox, I have not yet been able to test
it in IE or Opera.
> Don't discount the need for the 'return false;' If you ever get a
> complaint from an IE6 customer, that !...@##$!@ browser does not handle
> javascript closures as it should. That statement was th
I could say the same for views (why are we bothering to define views
by filename/convention then ?). Littering the models with if-s won't
make them pretty, newbie friendly nor as quick as they could be.
On Jun 11, 3:28 pm, mdipierro wrote:
> You can add "if" statememts in models
>
> On Jun 11, 8
Might want to keep our eyes on this DB --
http://askmonty.org/wiki/index.php/MariaDB.
They have not provided a stable release yet. But with the merger of
Oracle and Sun you never know what might happen to the MySQL DB.
On Jun 11, 7:33 am, mdipierro wrote:
> I strongly suggest postgresql over my
It would be surprising if mysql would manage to keep it's position -
from what most blogs/news said, it seems most of the core mysql
developers have jumped ship.
On Jun 11, 4:23 pm, JohnMc wrote:
> Might want to keep our eyes on this DB
> --http://askmonty.org/wiki/index.php/MariaDB.
> They hav
Hello,
is there any app or controller out there that lets me edit text files
saved in the static direcory?
I am looking for a functionality just like we have in admin.
I want to achieve:
1) user logs in
2) sees a list of files in a pre-defined directory from static
3) user selects the file and
Hi, Mdipierro and all
I have a application run as a daemon, which provides remote controll
function via socket, I use web2py as web app frame work, and I want to
define a Session/Request/Respose like global object in web2py, call it
MyManager, then I can access it's method to controll my real
app
Thanks Alexey, in trunk!
On Jun 11, 8:18 am, Alexey Nezhdanov wrote:
> :( I had to read code closer. There are actually three different keys so three
> different codes required. Modified patch attached.
>
> On Thursday 11 June 2009 17:15:23 Alexey Nezhdanov wrote:
>
> > Hello.
>
> > It is more p
On 6月11日, 下午10时58分, YangHong wrote:
> Hi, Mdipierro and all
>
> I have a application run as a daemon, which provides remote controll
> function via socket, I use web2py as web app frame work, and I want to
> define a Session/Request/Respose like global object in web2py, call it
> MyManager, the
If you need code that is only executed for a specific controller, why
not put it directly in the controller?
Massimo
On Jun 11, 9:19 am, AchipA wrote:
> I could say the same for views (why are we bothering to define views
> by filename/convention then ?). Littering the models with if-s won't
>
You can copy the controller from admin/controllers/edit
On Jun 11, 9:44 am, Tim Michelsen wrote:
> Hello,
> is there any app or controller out there that lets me edit text files
> saved in the static direcory?
>
> I am looking for a functionality just like we have in admin.
>
> I want to achieve
Yes but how very much depends on what you want to do. You deamon can
have an xmlrpc server (general way) or you can implement a database
based queue of tasks.
You should also look into cron.
Massimo
On Jun 11, 10:06 am, YangHong wrote:
> On 6月11日, 下午10时58分, YangHong wrote:
>
> > Hi, Mdipierro
Please check it out!
- Models are much faster ~ 2.5x times (thanks Alexey)
- fully works on Jython without tweaks (sqlite and postgresql with
zxjdbc)
- custom forms and better error codes (thanks Hans)
- better LDAP support (thanks Fran and Mr. Freeze)
Massimo
--~--~-~--~~---
+1 on the Jython support! That will open a lot of doors at my work.
Thanks!
Regards,
Jason Brower
On Thu, 2009-06-11 at 08:27 -0700, mdipierro wrote:
> Please check it out!
>
> - Models are much faster ~ 2.5x times (thanks Alexey)
> - fully works on Jython without tweaks (sqlite and postgresql
jason, I made a war file. Can you run some tests?
Massimo
On Jun 11, 10:32 am, Jason Brower wrote:
> +1 on the Jython support! That will open a lot of doors at my work.
> Thanks!
> Regards,
> Jason Brower
>
> On Thu, 2009-06-11 at 08:27 -0700, mdipierro wrote:
> > Please check it out!
>
> > -
Error codes are from our performance man!
On Thu, Jun 11, 2009 at 5:27 PM, mdipierro wrote:
>
> Please check it out!
>
> - Models are much faster ~ 2.5x times (thanks Alexey)
> - fully works on Jython without tweaks (sqlite and postgresql with
> zxjdbc)
> - custom forms and better error codes (th
Even after a user's email is verified and they get the 'Email
Verified' in response.flash, I get 'Registration needs verification'
when trying to log in as that user. What am I doing wrong? Here's my
auth settings in db.py:
from gluon.tools import *
auth=Auth(globals(),db)# authenti
Hello,
wanted to try GAE deployment as shown in
http://www.screencast.com/users/mdipierro/folders/Jing/media/b3de44de-814b-48fa-ba91-edd283597d8b
I found a number of glitches:
1) not really documented how to do this quickly!
2) I found out that I need to have appcfg.py. Unfortunately, it's
absol
Ouch! I apologize to Alexey.
On Jun 11, 10:48 am, Hans Donner wrote:
> Error codes are from our performance man!
>
> On Thu, Jun 11, 2009 at 5:27 PM, mdipierro wrote:
>
> > Please check it out!
>
> > - Models are much faster ~ 2.5x times (thanks Alexey)
> > - fully works on Jython without tweaks
Could you try uncommenting.
auth.settings.registration_requires_approval = False
On Jun 11, 11:07 am, "mr.freeze" wrote:
> Even after a user's email is verified and they get the 'Email
> Verified' in response.flash, I get 'Registration needs verification'
> when trying to log in as that user.
admin is an app. apps can have configuration. It is possible there is
a bug, that is an experimentail feature. I will check it.
On Jun 11, 11:10 am, Tim Michelsen
wrote:
> Hello,
> wanted to try GAE deployment as shown
> inhttp://www.screencast.com/users/mdipierro/folders/Jing/media/b3de44de...
> admin is an app. apps can have configuration.
OK.
> It is possible there is
> a bug, that is an experimentail feature. I will check it.
Thanks for the fast response.
Please drop a mail when finished
I am thinking of creating a online editor for the docstrings...
--~--~-~--~~-
Same result. What is supposed to happen in the auth_user table when
email is verified?
On Jun 11, 11:18 am, mdipierro wrote:
> Could you try uncommenting.
>
> auth.settings.registration_requires_approval = False
>
> On Jun 11, 11:07 am, "mr.freeze" wrote:
>
> > Even after a user's email is ver
I have been approached to develop a program to manage .BIN files for
network routers. The table would be simple. But the one requirement
they want is the data set has to be portable.
I am considering using SQLite for the storage. From a high level a
master DB/table would be used for the system an
On Thursday 11 June 2009 20:16:54 mdipierro wrote:
> Ouch! I apologize to Alexey.
NP. I saw that mistake but decided to be modest :)
> On Jun 11, 10:48 am, Hans Donner wrote:
> > Error codes are from our performance man!
> >
> > On Thu, Jun 11, 2009 at 5:27 PM, mdipierro wrote:
> > > Please chec
Finally I solved it with HAVING which I didn't know was supported
Thank you all anyways
Marcos
On Jun 10, 6:05 pm, mdipierro wrote:
> I do not think that is possible but I may be wrong. If you teach how
> to do it in SQL I will tell you how to translate in web2pyese.
>
> Massimo
>
> On Jun 10,
It is supposed to delete everything in registration_key
On Jun 11, 11:38 am, "mr.freeze" wrote:
> Same result. What is supposed to happen in the auth_user table when
> email is verified?
>
> On Jun 11, 11:18 am, mdipierro wrote:
>
> > Could you try uncommenting.
>
> > auth.settings.registratio
If I understand you want something like this
import os
files=os.listdir(os.path.join(request.folder,'databases'))
# choose a file, for example
file=files[1]
db=SQLDB('sqlite://%s'+file)
db.define_table()
It should go in the model, but nothing prevents you from putting this
code somewhere els
There does not seem a way to edit the commit string. I will be more
careful next time.
Anyway, the who.html page is what counts.
Massimo
On Jun 11, 1:03 pm, Alexey Nezhdanov wrote:
> On Thursday 11 June 2009 20:16:54 mdipierro wrote:> Ouch! I apologize to
> Alexey.
>
> NP. I saw that mistake b
Massimo,
Did the information I sent via email about "More Web2Py InformixDb
testing" help with the code corrections needed to better support
Informix with Web2Py?
Please let me know how I can help in this area to make Informix a
success with Web2Py.
Thank you,
Christopher
--~--~-~--~---
Then I think it is a bug in tools.py/verify_email line 864. The
registration_key is not updated when registration_requires_approval is
false:
def verify_email(
self,
next=DEFAULT,
onaccept=DEFAULT,
log=DEFAULT,
):
"""
action user to verify t
Using the common code in the controller as a model substitute?
There goes the MVC separation.
And the other models still get executed.
I think AchipA means execute one model only.
The problem is that models are executed before controllers (aren't
they?), but then this points back to using ifs in
Thanks for the info. I still cannot figure out what the problem is.
there seem to be a problem with starting a transaction.
Working on it.
Massimo
On Jun 11, 2:44 pm, cesmiga wrote:
> Massimo,
>
> Did the information I sent via email about "More Web2Py InformixDb
> testing" help with the code c
oops. You are right. Somehow I deleted that line.
Massimo
On Jun 11, 2:59 pm, "mr.freeze" wrote:
> Then I think it is a bug in tools.py/verify_email line 864. The
> registration_key is not updated when registration_requires_approval is
> false:
>
> def verify_email(
> self,
> ne
Uploading fix to trunk 1031. please let me know if this works for you.
On Jun 11, 3:22 pm, mdipierro wrote:
> oops. You are right. Somehow I deleted that line.
>
> Massimo
>
> On Jun 11, 2:59 pm, "mr.freeze" wrote:
>
> > Then I think it is a bug in tools.py/verify_email line 864. The
> > regist
Looks like MySQL users need not to worry:
"The MariaDB project is the brainchild of Michael "Monty" Widenius,
the founder of MySQL..."
"MariaDB 5.1 is based on MySQL 5.1."
"MariaDB will be kept up to date with the latest MySQL release from
the same branch."
And if:
"In most respects MariaDB wil
there is one convention in web2py that I am not happy with. The fact
that models are executed alphabetically. Originally I thought each
model would correspond to one database connection and so they would
independent and thus the order of execution would not matter. I was
wrong, most people write d
Massimo,
Very good. Concise too. But it is what I am looking for. I would keep
the code in models and develop some error checking for file existence,
etc.
Thanks this saved me a great deal of time.
I'll post it back once I have added error checking.
On Jun 11, 2:34 pm, mdipierro wrote:
> If
Annet, that does not prove Frank's statement.
IS_NOT_EMPTY does not prevent duplicates.
Frank, what do you mean by:
> However they won't work for some custom forms/functions.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google
On Jun 11, 3:42 pm, mdipierro wrote:
> conditional execution fits in this discussion. Perhaps model files
> could have names like if_controller_db.py so that it would be executed
> only if the it_[controller] matches the current controller.
>
> ideas? comments?
>
I like this idea.. and it wou
I do not understand. The order cannot change if there are dependencies
and the it would not affect performance.
On http://www.web2py.com/appliances there is a log analyser applicance
that checks how other actions are executed.
On Jun 11, 3:54 pm, JorgeR wrote:
> On Jun 11, 3:42 pm, mdipierro wr
hmm.. ok..
forget it.
On Jun 11, 3:58 pm, mdipierro wrote:
> I do not understand. The order cannot change if there are dependencies
> and the it would not affect performance.
> Onhttp://www.web2py.com/appliancesthere is a log analyser applicance
> that checks how other actions are executed.
>
>
On Jun 11, 4:42 pm, mdipierro wrote:
> there is one convention in web2py that I am not happy with. The fact
> that models are executed alphabetically. Originally I thought each
> model would correspond to one database connection and so they would
> independent and thus the order of execution woul
On Jun 11, 10:08 pm, DenesL wrote:
> Using the common code in the controller as a model substitute?
> There goes the MVC separation.
> And the other models still get executed.
>
> I think AchipA means execute one model only.
> The problem is that models are executed before controllers (aren't
> t
fixed in trunk. please give it a try.
On Jun 11, 11:10 am, Tim Michelsen
wrote:
> Hello,
> wanted to try GAE deployment as shown
> inhttp://www.screencast.com/users/mdipierro/folders/Jing/media/b3de44de...
>
> I found a number of glitches:
> 1) not really documented how to do this quickly!
> 2)
On Jun 11, 9:50 pm, DenesL wrote:
> Fran, what do you mean by:
> > However they won't work for some custom forms/functions.
If I define in my model:
db.define_table('test',
db.Field('test', requires=IS_NOT_EMPTY()))
Then do:
db.test.insert(test='')
It works fine - record is ins
Works for me. Thanks!
On Jun 11, 3:25 pm, mdipierro wrote:
> Uploading fix to trunk 1031. please let me know if this works for you.
>
> On Jun 11, 3:22 pm, mdipierro wrote:
>
> > oops. You are right. Somehow I deleted that line.
>
> > Massimo
>
> > On Jun 11, 2:59 pm, "mr.freeze" wrote:
>
> >
On Jun 11, 9:50 pm, DenesL wrote:
> Annet, that does not prove Frank's statement.
> IS_NOT_EMPTY does not prevent duplicates.
> Frank, what do you mean by:
> > However they won't work for some custom forms/functions.
NB This is discussed in the manual - pg 139.
F
--~--~-~--~~---
What is we have folders like
models/__init__.py
models/default/__init__.py
models/default/index.py
and __init__ is executed for every action and controller
and default/__init__ is executed for every action in controller
default.py
and default/index only for the index action, etc etc.
if there i
Thanks Massimo. Quick question, how do I get this patch? (url address)
Also, can I update this patch into my current version of web2py
(1.56.4) or do I need to do a full upgrade?
-Sebastian
On Jun 10, 10:31 pm, mdipierro wrote:
> You are correct. I fixed it and I am uploading to trunk now (lau
On Jun 11, 10:39 pm, AchipA wrote:
> Now, for the kicker - in the model we could do an equivalent of
> {{extend 'layout.html'}} (=sort of import ?) to include any
> dependencies. This would also pull in any 'common' models (just like
> we do with layout.html). Note the subtle difference - I don'
On Jun 11, 11:33 pm, DJ wrote:
> Thanks Massimo. Quick question, how do I get this patch? (url address)
http://bazaar.launchpad.net/~mdipierro/web2py/devel/revision/904
But also see:
http://bazaar.launchpad.net/~mdipierro/web2py/devel/revision/905
http://bazaar.launchpad.net/~mdipierro/web2py/d
Does anyone already have a validator built that has options for
enforcing various password complexity requirements? Just wondering
before I make one.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py Web Framew
> fixed in trunk. please give it a try.
Massimo,
I am very sad to say, but I will never ever fix a coding bug in web2py
core by myself.
The same applies as your refusal to use bugtrackers:
By the time I have figured who the thing works you have already fixed
the issue... ;-)
Well, couldn't test
Thanks Francis.
On Jun 11, 6:58 pm, Fran wrote:
> On Jun 11, 11:33 pm, DJ wrote:
>
> > Thanks Massimo. Quick question, how do I get this patch? (url address)
>
> http://bazaar.launchpad.net/~mdipierro/web2py/devel/revision/904
>
> But also
> see:http://bazaar.launchpad.net/~mdipierro/web2py/de
do not make one. add the feature to crypt. client side there are
jquery libraries that do what you need.
On Jun 11, 6:29 pm, "mr.freeze" wrote:
> Does anyone already have a validator built that has options for
> enforcing various password complexity requirements? Just wondering
> before I make
You still have the option of sending me the patch "before" reporting
the bug. ;-)
On Jun 11, 6:12 pm, Tim Michelsen wrote:
> > fixed in trunk. please give it a try.
>
> Massimo,
> I am very sad to say, but I will never ever fix a coding bug in web2py
> core by myself.
> The same applies as your
Massimo,
With respect to the new file upload remembering the file name. Are
there accompanying methods to get and set the filename after upload of
the file?
In my example, my app is running on GAE, therefore uploaded files are
being stored in the DB. I require the ability for the user to see a
l
On Jun 11, 4:52 pm, mdipierro wrote:
> What if we have folders like
>
> models/__init__.py
> models/default/__init__.py
> models/default/index.py
>
> and __init__ is executed for every action and controller
> and default/__init__ is executed for every action in controller
> default.py
> and defau
On Jun 11, 4:42 pm, Fran wrote:
> On Jun 11, 9:50 pm, DenesL wrote:
>
> > Fran, what do you mean by:
> > > However they won't work for some custom forms/functions.
>
> If I define in my model:
> db.define_table('test',
> db.Field('test', requires=IS_NOT_EMPTY()))
>
> Then do:
> d
Let me first comment on initial AchipA's proposal.
Splitting models into different files targets same goals as my lazy_tables
approach: it tries to speed up model load time by excluding the things that
are _probably_ not needed in this browser request (read controller/function).
The difference
The more I think about this the more I agree with you and the lazy
table approach seems better.
Imagine a situation with three tables A,B,C and two controllers X, Y
where X needs A,B and Y needs Y,Z. Where should Y be defined? Should
it be imported? modules cannot be imported only executed. what
Currently when you upload a file, the actual file goes in the
filesystem of "uploadfield" in the database. The filename is
b16encoded and stored inside the new "internal" filename. It is
extracted and used by the "download" action to set content
disposition.
There is no easy way to change this me
1 - 100 of 102 matches
Mail list logo