Hi Anthony,
I'm not including them. I'm only using with_alias() and the select in
combination with as_list(). I would not expect to get the _extra as a
little bonus when you use with_alias()...
That's why I'm asking :)
Greetings,
Eric
2016-07-20 20:56 GMT+02:00 Anthony :
> The "_extra" dicti
Hi Anthony,
My code is the following:
# -*- coding: utf-8 -*-
from gluon.serializers import json
@auth.requires(lambda: AuthHelper.valid_token(), requires_login=False)
@request.restful()
def search():
session.forget()
def post(*args, **vars):
response.headers["Content-Type"] =
Okay, that's clear reaction and tip, tnx!
I was thinking about the proposed solution, but many times I've found that
Web2Py had build in solutions for my 'problems'. That's my I asked :)
2013/11/28 Niphlod
> nope, there isn't . a PR has been raised for this but has been turned down
> (for good
Hi,
It took me a LONG time to check the update, but I just did. I've updated to
Web2Py 2.9.12 (this version contains the fix), and copied the appadmin.py
to my project.
When I call cacke.disk.clear() I still get an error :( To be exact this one:
Traceback (most recent call last):
File "/home/e
Hi Leonel,
Done that and cleaned the cache folder. When I call /appadmin/ccache the
code breaks here:
try:
disk['ratio'] = disk['hits'] * 100 / value['hit_total']
The first time everything goes great with the from cache.disk.storage[key]:
{'hit_total': 0, 'misses': 0}
The second time it hit
Hi,
The folder itself is under svn control, the data in it isn't.
It the cache folder created 'on demand'? When that's the case we can remove
all svn control on it.
2015-03-03 15:01 GMT+01:00 Leonel Câmara :
> Why is the cache folder under svn control? Files are keys values in the
> current ca
Hi Leonel,
I've removed the cache folder from svn. Everything works fine now with
cache removal :)
Tnx!
2015-03-03 16:21 GMT+01:00 Leonel Câmara :
> Yes, it is created on demand if it isn't there, go ahead and svn delete it.
>
> --
> Resources:
> - http://web2py.com
> - http://web2py.com/book
7 matches
Mail list logo