When i do all this it gives me error saying table Customer exists!
On Friday, August 31, 2018 at 2:53:18 AM UTC+2, Anthony wrote:
>
> fake_migrate makes pyDAL think the model definition reflects the actual
> schema in the database. Presumably the field in question does not actually
> exist in th
I got the answer here:
https://stackoverflow.com/questions/52976228/accessing-and-importing-data-from-a-private-csv-file-using-os-path-join/52981326#52981326
Regards:
Mostwanted
On Wednesday, October 24, 2018 at 3:01:52 PM UTC+2, mostwanted wrote:
>
> I am able to save some information with the
Yes this is in default.py. Please excuse me for my bad code as I am still
experimenting with Auth and not totally familiar with the implementation.
Is this the right way that I am doing it? or only having user() function is
enough ?
Thanks, Rahul
On Wednesday, October 24, 2018 at 9:45:21 PM U
I'm confused. Is this code in your controller somewhere?
# User functions ---
def login(): return dict(form=auth.login())
def register(): return dict(form=auth.register())
def retrieve_password(): return dict(form=auth.reset_password())
def logout(): return dict(form=auth.logout())
def profi
Thanks Anthony,
Sorry is my fault, i didn't knew how to explain the issue...
I ended up like this:
Field("Grado", default=grados_roca[2], requires=IS_IN_SET([],
multiple=False)),
and works perfect, now I have a empty set that I can populate in the view
Thank you!
☺
Cheers.
Chris.
El mar., 2
I am able to save some information with the code you gave but when i try
read from that file i get back *None *values: Am i missing something???
*CONTROLLER FOR READING THE FILE:*
def viewInfo():
db = DAL('sqlite:memory')
db.define_table('Clients',
Field('Name'),
6 matches
Mail list logo