I hope this is not too late. I find it unclear what should be done when a new
version of web2py arrives ... What important parts of an application are not
upgraded when a new version of web2py arrives, and how to manually upgrade apps
to new features of the scafold app. It would be good if this
don't know how you handled, but for the sake of others running into this
thread, the simpler way is to have a controller with a function dealing
only with you little embedded form and then include it in the layout with
LOAD()
http://web2py.com/books/default/chapter/29/12#Components
On
Does this mean I should remove these lines of code from db.py:
from gluon.tools import Crud
crud = Crud(db)
What are the equivalents for the settings and messages?
crud.settings.label_separator=''
crud.messages.record_updated=session.record_updated
El jueves, 20 de diciembre de 2012 10:44:42 UTC-3, Aurelijus Useckas
escribió:
yeah.. backup backup backup.. it's just that sometimes you forget to :(
Would it be wise to add some backup module to web2py admin? It could
default to 1 copy per day or smthing simillar. It would especially
Massimo,
Thanks for your reply, problem solved.
Kind regards,
Annet
--
just to conclude this: I inserted the controller code in the view instead
which solved the problem:
h4i class=icon-user/i me (from sidebar.html):/h4
{{query=db.about.id0}}
{{ab=db(query).select()}}
{{dict(ab=ab)}}
{{for pre in ab:}}
{{for pr in pre.presentation.split():}}
dl class=dl
ddi
Should we just extend this recipe:
http://web2py.com/books/default/chapter/29/14#Upgrading
or should we also move it? In your opinion, does it belong somewhere else?
On Sunday, 23 December 2012 03:47:43 UTC-6, Tim Richardson wrote:
I hope this is not too late. I find it unclear what should be
On Sunday, 23 December 2012 03:51:59 UTC-6, Annet wrote:
Does this mean I should remove these lines of code from db.py:
from gluon.tools import Crud
crud = Crud(db)
If you remove these some plugins may break so we will not be doing it in
welcome. Yet, yes, that is what I was suggesting.
I'm thrilled with some of the improvements in web2py in the AJAX area --
esp. LOAD(). But I am a little concerned about architecting my new website
in a way that *requires* Javascript to access the basic navigation and
display of my site's pages.
A lot of computer security experts over the
El domingo, 23 de diciembre de 2012 14:04:21 UTC-3, Joe Barnhart
escribió:I'm thrilled with some of the improvements in web2py
in the AJAX area -- esp. LOAD(). But I am a little concerned about
architecting my new website in a way that *requires* Javascript
to access the basic navigation
Hi Massimo,
the problem happened with 2.1. I have just upgraded to 2.3.2 but I do not
see any change. Below are the request/response headers for the upload form
that results in validation failure. I tried to upload You can see that I
tried to upload an image (file size is 1,127,797 bytes), for
El sábado, 22 de diciembre de 2012 19:30:17 UTC-3, Alan Etkin escribió:
I like crud very much (it's almost tallking english to the server)
crud.read crud.update, ... it's like a web2py classic. For me, sounds like
your preferred pizza delivery is not selling pepperoni anymore
I guess I
You make a valid point about Google and Facebook. I have not tried to use
their online apps with Javascript disabled. I assume it's either
non-functional or a horrible user experience. (Editing a file with no
AJAX? I can't even imagine it.)
Yet my site is going to be a paid site and I
hi all
i'm developing an application based on movuca (
https://github.com/rochacbruno/Movuca) but i get an error I do not
understand
type 'exceptions.TypeError' format requires a mapping
Traceback (most recent call last):
File /home/samuel/web2py/gluon/restricted.py, line 212, in restricted
Looks like both do
function something(){};
instead of
var something=function(){}
and therefore they both put and share functions in the global namespace.
On Sunday, 23 December 2012 00:26:15 UTC-6, Yarin wrote:
Not errors, just incorrect results- fails to parse dates, and returns
10 4 - Submitted issue to
moment.js: https://github.com/timrwood/moment/issues/556
On Sunday, December 23, 2012 4:05:38 PM UTC-5, Massimo Di Pierro wrote:
Looks like both do
function something(){};
instead of
var something=function(){}
and therefore they both put and share
El domingo, 23 de diciembre de 2012 18:01:21 UTC-3, samuel bonilla
escribió:hi all
i'm developing an application based on movuca (
https://github.com/rochacbruno/Movuca) but i get an error I do not
understand
type 'exceptions.TypeError' format requires a mapping
Traceback (most recent call
I have a table, db.define_table('schools', Field('school_name',
'string')). I've been adding data to the table by,
db.schools.update_or_insert(school_name = 'ABC High School').
My question is... Is there anyway I can call my 'schools' table with a
variable?? As an example, when I try:
db[school_table_variable]
On Sunday, 23 December 2012 22:41:52 UTC, Alberto Plata wrote:
I have a table, db.define_table('schools', Field('school_name',
'string')). I've been adding data to the table by,
db.schools.update_or_insert(school_name = 'ABC High School').
My question is...
El domingo, 23 de diciembre de 2012 19:41:52 UTC-3, Alberto Plata
escribió:I have a table, db.define_table('schools', Field('school_name',
'string')). I've been adding data to the table by,
db.schools.update_or_insert(
school_name = 'ABC High School').
My question is... Is there
LOL. I understand. For now this will stay. But if we want to keep it longer
term we need a better reason.
One posibility would be to rewrite crud keeping the current API (which you
like) on top the new DALForm object from web3py (which is faster than form
handling in web2py).
Massimo
On
h4i class=icon-user/i me (from sidebar.html):/h4
{{query=db.about.id0}}
{{ab=db(query).select()}}
{{dict(ab=ab)}}
The dict line above isn't necessary. The controller function returns a dict
so that the dict's keys will be added as global variables in the view
environment, but since
On Monday, 24 December 2012 01:48:29 UTC+11, Massimo Di Pierro wrote:
Should we just extend this recipe:
http://web2py.com/books/default/chapter/29/14#Upgrading
or should we also move it? In your opinion, does it belong somewhere else?
I think the location is good.
Most beginner
Probably the most significant file to replace is web2py.js, and maybe
web2py_ajax.html. There's also the generic views, appadmin.js, and
appadmin.html.
Anthony
On Sunday, December 23, 2012 9:40:12 PM UTC-5, Tim Richardson wrote:
On Monday, 24 December 2012 01:48:29 UTC+11, Massimo Di
Why do all of your messages say Note: The author of this message requested
that it not be archived. This message will be removed from Groups in Dec 30
Or more precisely. How did you set such preference?
On Sunday, 23 December 2012 20:26:21 UTC-6, rh wrote:
On Sun, 23 Dec 2012 09:04:21 -0800
I believe the problem is now fixed. Please check it.
yet the problem you reported is very serious and worse. In fact looks like
calendar.js included in web2py redefines Date.prototype.setFullYear and
this may results in wrong results when setting dates with or without using
moment.js.
This
I think this is now fixed in trunk. Please check it.
On Sunday, 23 December 2012 12:01:28 UTC-6, Andy Salnikov wrote:
Hi Massimo,
the problem happened with 2.1. I have just upgraded to 2.3.2 but I do not
see any change. Below are the request/response headers for the upload form
that
Hello Daniel,
getting back at this. Why use webclient for this instead of using
gluon/contrib/simplejsonrpc.py? its seems to me it does not belong there.
On Monday, 17 December 2012 14:01:18 UTC-6, Daniel Gonzalez wrote:
I have slightly modified the WebClient to support jsonrpc. I am not
28 matches
Mail list logo