I know file extensions are optional... but you do have some nice
functionality in there that allows passing file extensions on to the
view... so if I were to request "app/controller/function.html" I would
get the matching (or generic) .html template... but if I were to
request "app/controller/funct
. Let me give this some thought.
>
> meanshile you can do
>
> outes_in = (
> ('/$c/$f\.$ext', '/init/$c/$f.$ext'),
> )
>
> or
>
> outes_in = (
> ('/$c/$anything', '/init/$c/$anything'),
> )
>
> On 11 Giu, 1
if I have a records collection (of type Rows) from a select() call
through the DAL... why is the output different between these two
versions of json conversion?
>>> records.json()
'[{"description": "my description", "created_by": 1, "id": 1,
"created_on": "2010-06-06 23:21:52", "name": "my name"}
anyone?
On Jun 12, 4:52 pm, NickFranceschina
wrote:
> if I have a records collection (of type Rows) from a select() call
> through the DAL... why is the output different between these two
> versions ofjsonconversion?
>
> >>> records.json()
>
> '[{"descrip
Version 1.79.2 (2010-06-08 22:45:26)
was browsing through the code implementing some custom authentication
and noticed this on line 1809 of tools.py:
user.update_record(password=form.vars.new_password,
registration_key='', reset_password_key='')
where a few lines above you see this:
passfi
I'm not sure what I'm doing wrong... I've built a JSON service on
top of Web2py that uses Auth.login_bare() to authenticate via
AJAX... my auth_user table looked like this (standard):
auth.settings.table_user = db.define_table('auth_user',
Field('first_name', length=512,default='', require
I'm not sure what I'm doing wrong... I've built a JSON service on
top of Web2py that uses Auth.login_bare() to authenticate via
AJAX... my auth_user table looked like this (standard):
auth.settings.table_user = db.define_table('auth_user',
Field('first_name', length=512,default='', require
cords to JSON and
blowing up... have to tell it to skip any 'blob' fields.
working now! thanks!!
On Jun 22, 2:50 am, mdipierro wrote:
> You have something too large in the session and the datastore refuses
> to store the session in the database.
>
> On Jun 21, 11:32 pm, Ni
.. I dunno...
I did run across this Webslices post... but haven't dug into it yet to
see what it solves/provides...
http://www.web2pyslices.com/main/slices/take_slice/63
On Jun 22, 3:27 pm, NickFranceschina
wrote:
> OK... I had uploaded a 900+kb photo by mistake (thought I had uploaded
yes that's what I'm saying... there must be some code in Web2py where
if the field is 'upload' and you're running on GAE, then it triggers
creation of the blob field... but probably shouldn't create the blob
in the same table, since on GAE there is no way to NOT load the blob
(it always loads the e
Massimo,
just realized that GQL does not allow for LOWER() or UPPER()... thus
cannot do case-insensitive searches. the generally suggested solution
is to create another field and store the canonical form of the string
you're trying to search
example:
person.name = "Nick Franceschina"
person.
is it possible during runtime to create new table definitions and have
them executed? so instead of putting my models in db.py, I could
pull the meta-data from a database and build the model on the fly when
the app starts up? (if it is on SQL, it will do the usual maintenance
stuff... if it is o
d be slow in general. The preferred way is to use a hidden
> autocomputed normalized field.
>
> On Jun 25, 10:54 am, NickFranceschina
> wrote:
>
>
>
> > Massimo,
>
> > just realized that GQL does not allow for LOWER() or UPPER()... thus
> > cannot do case-ins
I've been reading and googling and searching... but not sure what the
latest, up-to-date information is on this:
in GAE "parents" and "references" are two different things. when you
create an object in GAE you can, on insert, assign the "parent"... and
this puts the new object into the parents "e
I've been using WingIDE pro for a while... love it... followed advice
to get it setup to work with Web2py and runs fine if I launch debugger
through web2py.py ... but if I launch it through dev_appserver.py then
the server runs and the app works and the breakpoints are hit for all
code except for t
anybody?
On Jun 29, 10:03 pm, NickFranceschina
wrote:
> I've been reading and googling and searching... but not sure what the
> latest, up-to-date information is on this:
>
> in GAE "parents" and "references" are two different things. when you
> cr
anyone running Web2py with Jython on GAE? just wondering...
na
On Jul 2, 12:55 pm, NickFranceschina
wrote:
> I've been using WingIDE pro for a while... love it... followed advice
> to get it setup to work with Web2py and runs fine if I launch debugger
> through web2py.py ... but if I launch it through dev_appserver.py then
>
etions, current version works
> almost all Completions in web2py ).
>
> On Mon, Jul 12, 2010 at 9:48 PM, NickFranceschina <
>
>
>
> nickfrancesch...@gmail.com> wrote:
> > after going back and forth a bit with WING support guys... it appears
> > to be an issue
bump
On Jul 13, 11:20 am, NickFranceschina
wrote:
> thanks but this doesn't help me...
> 1) I'm using Wing
> 2) I'm trying to debug using GAE's dev_appserver.py
>
> Wing debugs fine if I use web2py's web server... but when run on GAE,
> Web2py has t
20 matches
Mail list logo