What happened to this?
/R
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the Google Groups
"we
Can't you try to change the sqlform to use the table name as prefix for the
field names, this should solve the issue?
/T
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Rep
For packaging i sugest using the http://build.opensuse.org.
Its a service where you can package for all mager distros, and have
them all in se same repo.
/T
On 18 Maj, 08:42, José L. wrote:
> On 17 mayo, 17:32, Mark Breedveld wrote:
>
>
>
>
>
> > I've been through the material and it's quite st
I had almost the same problem with flash.
Put this in the db.py to connect the session.
request.cookies[response.session_id_name]=request.vars.mysession_id
session.connect(request,response)
Then just send the session with pagename.html?
mysession_id=178648217648721...
/R
On Aug 13, 12:11 pm,
I think something like this would be fairly simple to modify for this
purpose:
http://en.wikipedia.org/wiki/Kademlia
But i think that making a db back end where the db for the news site
is a distributed hash table is the best approach.
And then just front ends that uses this db in web2py the fron
On Jun 4, 11:51 pm, mdipierro wrote:
>
> > > I have no objection in taking the code out in a function.
> > > But if one overrides it (and this is your intention) web2py will not
> > > be able to identify which table refers to the uploaded file and thus
> > > d
No comments on this ?
/R
On Jun 24, 3:09 pm, Robert Marklund wrote:
> I upgraded to web2py 1.64.3 and then:
>
> crud started to set its own table name
> if request.extension != 'html':
> (_session, _formname) = (None, None)
> else:
> (_session, _formna
Thx it worked like a charm.
/R
On Jun 25, 6:32 pm, johann.scheibelho...@easytouch-edv.com wrote:
> out of my head the following should work
>
> result = db(db.images.id>0).select(\
> left=[db.image_info.on(db.image_info.image_id==db.images.id),\
> db.image_keyword.on(db.image_keyword
that didnt do it.
And i would like to doit with one query if possible.
my db looks like this:
db.define_table('images',
SQLField('posted_on','datetime', default=request.now,
writable=False, readable=False),
SQLField('posted_by', db.auth_user, writable=False,
readable=False),
S
Can this be the same problem as I described in the "web2py 1.64.3"
mail.
/R
On Jun 25, 6:02 am, mdipierro wrote:
> Please email me this (again?) so that I can reproduce the problem.
>
> Massimo
>
> On Jun 24, 10:51 pm, Yannick wrote:
>
> > Hello Massimo,
> > Sorry to bother but was wondering i
Here it comes:
db(db.projects.is_active == True).select
(orderby=~db.projects.due_date)
The info for building this and learning is all on AlterEgo or in
slides.
/R
On Jun 25, 6:23 am, Michael wrote:
> Yea I read over the slides. I'm just having a tough time learning on
> how to write efficient
Out out safety purpose its good to have him validate the new address
with his old address.
Then its harder for some one to change address and then just do a
password recovery.
If the password is not required when doing a e-ail change and its not
by default.
/R
On Jun 25, 2:06 am, mdipierro wrot
Cleaner one:
Just find replace into this:
tel = {"SPQ": "3[1,0-3]", "SPQ": "70(1-3)" }
def get_operator(number):
import re
for key, value in tel:
if re.match(value, number):
return key
pre-compile the re before with re.compile and add then to the "tel"
array in stead to get better preform
e='a'):
> redirect()
> form2=SQLFORM(somedb,_id="b")
> if form2.accepts(request.vars,session,formname='b'):
> redirect()
>
> Massimo
>
> On Jun 24, 1:44 am, Trollkarlen wrote:
>
> > Acually that wont work either because t
Acually that wont work either because that dont change the _formname
variable.
Also all the internal fields and rows get the same names.
I solved it with this fix(without the form_prefix set it should work
as before):
--- web2py.org/gluon/sqlhtml.py 2009-06-11 14:29:55.0 +0200
+++ web2py/
at you are trying to accomplish. I do
> not see why one would ever need to access this.
>
> Massimo
>
> On Jun 21, 3:04 pm, Trollkarlen wrote:
>
> > I just need the info how i can get the session ID from the session
> > object.
> > And then on the other page from the
Oki, as I assumed.
I really liked the generic comments from t2.
But i found some trouble with it when there are multiple comments/
forms on the same page.
I have a list of objects that i want comments for and generate the
comments like this:
def controller:
items = db(db.images.id >0).select(
nse
> session id is in response.session_id. The two should match if the
> requested session is found.
>
> Anyway, why don't you explain what you are trying to accomplish. I do
> not see why one would ever need to access this.
>
> Massimo
>
> On Jun 21, 3:04 pm, Trollkarlen
D)
if not auth.is_logged_in():
raise HTTP(404, "No such page")
# Save files
/R
On Jun 20, 4:29 pm, Trollkarlen wrote:
> Can anyone describe how to set and get the session id and set it as an
> get.data ?
>
> /R
>
> On Jun 19, 3:50 pm,
Hurray :)
/R
On Jun 20, 3:13 am, mdipierro wrote:
> By the end of july there will be auto upgrade. ;-)
>
> On Jun 19, 6:43 pm, Eddie Eyles wrote:
>
> > I like the pace of new releases of web2py, but it is a pain to
> > download each one (the Windows distribution takes an hour on my
> > connect
l and
> > > manually connect to the session somehow?
>
> > > On Jun 19, 7:24 am, mdipierro wrote:
>
> > > > There must be a way to pass the cookie. If you find a solution let us
> > > > know.
>
> > > > On Jun 19, 1:22 am, Trollkarlen w
I think that can be hard because the user is in this case already
logged in.
The upload page requiers login, then it sends the files to a new page.
So in this stage i dont have the login credentials (password).
/R
On Jun 19, 5:28 am, mdipierro wrote:
> you can try using basic authentication.
Fran wrote:
> On Jun 9, 11:42 am, Robert Marklund wrote:
> > Cant auth be changed somhow to it will be easier to extend like this:
> > db.define_table('auth_user2',
> > db.auth_user,
> > SQLField('nickname'),
> > SQLField('image','upload'))
> > Th
I have done the same but with:
http://digitarald.de/project/roar
They have very nice things on that site.
/T
mr.freeze wrote:
> I don't like having to click on response.flash to close it so I
> replaced it with this:
> http://stanlemon.net/projects/jgrowl.html
> Just thought I would share.
--~-
Alexei Vinidiktov wrote:
> On Mon, Jun 8, 2009 at 11:29 AM, mdipierro wrote:
> >
> > Hi Richard,
> >
> > the gmail authentication is not based on open-id (yet). it presents
> > you with a standard login form. It tried to log you in via the normal
> > auth_user table. It it fails, it tried to ver
Strange because i did break out the filename building to a function.
And both the appadmin and the app download works jut fine.
def __db_filename(tablename, fieldname, filename):
import re, uuid, base64
re_extension = re.compile('\.\w{1,5}$')
m = re_extension.search(filename)
e =
26 matches
Mail list logo