Hello Antony,
The simplest failing test I run is the one from gluon/tests/test_web.py in
TestWeb.testRegisterAndLogin from commit
e6a3081b42ecd58441419930266baf286561c4c7.
Where the default controller has only a line added to forget session and
reads :
def index():
session.forget(response)
It appear that i've sorted this out in the last crazy test, my problem
where in filter fields, this was my code before:
accion =
self.dbNueva.estatus_contratacion.validate_and_insert(**self.dbNueva.estatus_contratacion._filter_fields(x)).as_dict()
Where x is a dict with all the fields i want t
thanks
Once I added *db.actions._enable_record_versioning*() [in addition to the
global auth.enable_record_versioning(db), ] this seemed to fix it.
On Tuesday, September 6, 2016 at 6:06:00 PM UTC+1, Anthony wrote:
> By default, record versioning creates a "current_record" reference field
> in t
OK, so what does your code look like? Why can't you preserve the id's?
Anthony
On Monday, October 10, 2016 at 9:43:50 AM UTC-4,
luis.vallada...@metamaxzone.com wrote:
>
> I thin that method doesnt work for me, let me explain better what i want
> to do:
>
> 6 months ago i released a production A
If your data are tests ,you could delete databases folder or the migrations
file , and restart server to forget some references to user table.
Em segunda-feira, 10 de outubro de 2016 11:13:22 UTC-3, Fabio Ceccarani
escreveu:
>
> Hi,
> I have this problem: a table have a field that is a referenc
Hi,
I have this problem: a table have a field that is a reference to id of
auth_users.
BEFORE it was:
db.define_table('courses',
Field('id_user',db.users),
...
NOW is:
db.define_table('courses',
Field('id_user',db.auth_user),
...
Now the table 'users' is n more used.
The proble
I thin that method doesnt work for me, let me explain better what i want to
do:
6 months ago i released a production APP, now we will launch the second
version of this app and there are several (big) differences between the
database structure in production and the one i will deploy now, but i d
>
> Honestly I've always thought routes.py was a little mysterious and
> "magical" and I don't like relying on magic for a deployed website.
>
Hmm, I don't see it as any more "magical" than Apache mod_rewrite. Probably
you have just misconfigured something.
> So learning url-rewriting in Ap
8 matches
Mail list logo