[web2py] web2py modal forms

2018-02-05 Thread F.C.
I have a question question related to web2py forms. How can I open up a web2py form in modal form to update or create records in a table that I generated from a web2py model. I want to make it easy for a user to add or update records but still use the web2py functionality. If that is not

[web2py] web2py custom form 'TypeError'

2018-02-07 Thread F.C.
I have created a custom web2py form to allow the user to edit a current record. However when the user submit the record update I receive the following error message: list indices must be integers or slices, not str What am I missing? Here is an excerpt from the appliance I am building Model

[web2py] left join (Attribute Error)

2018-02-11 Thread F.C.
I am trying to create a left join query and must be something stupidly wrong as it doesn't work Any suggestions? Thanks for any help! db.define_table('procedures', Field('id',writable=False, readable=False, label='ID'), Field('procedurenumber', unique=True,

[web2py] Custom buttons and standard buttons

2018-02-17 Thread F.C.
Quick question. Can someone point me to any guidance on how to change the style of standard form buttons or custom buttons that i added to a form. I want to format them using bootstrap styles. Any help will be appreciated. Also Web2py rocks!!! -- Resources: - http://web2py.com -

[web2py] authentication fields

2018-02-17 Thread F.C.
I am creating custom forms using the standard authentication sql forms. Where can I get a list of all the relevant fields that come with these forms. For example, for the password, reset I believe that password and password_two can be used to grab the password from the user. What field is

[web2py] Specify default values for custom form

2018-03-19 Thread F.C.
I use a custom form within my application to capture comments for specific records. The user clicks on a record and is directed to another view where they can capture the comments. Is it possible to define a custom value for a specific custom form field, and then hide that field so that the

[web2py] CSS URL Helper

2020-05-23 Thread F.C.
How do I use the URL helper in a CSS stylesheet that I reference in the landing page. The CSS example that I have to add a background is the following: /*header style*/.header{ background-image: url('../images/headerback.jpg'); background-attachment: fixed; background-size: cover;

[web2py] Re: pydal connection string - How to define a different port

2020-11-29 Thread F.C.
Ah I should focus on reading the manual a little bit more closely On Sunday, November 29, 2020 at 1:23:07 PM UTC-6 F.C. wrote: > It is my understanding that a postgresql default port used is 5432 > > Is it possible to define a specify a different port than the default port >

[web2py] pydal connection string - How to define a different port

2020-11-29 Thread F.C.
It is my understanding that a postgresql default port used is 5432 Is it possible to define a specify a different port than the default port in the pydal connection string? -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source

[web2py] Web2py and database integration

2021-05-14 Thread F.C.
I need some help. I have started web2py development with a passion to really master it. I love python and really want to see if I can find some excellent uses for writing online applications. The weird problem I am running into is the following and I need some help. I have an application

Re: [web2py] Web2py and database integration

2021-05-16 Thread F.C.
auth.enable_record_versioning(db) On Friday, May 14, 2021 at 7:35:46 PM UTC-5 chriii...@gmail.com wrote: > Could you share your db.py ? Maybe there are declared 2 connections to db > and one might be overwriting the one who connects to postgresql. > > > Cheers. > Chris. > >