The user function remains as-is - No modifications done.
def user():
"""
exposes:
http:///[app]/default/user/login
http:///[app]/default/user/logout
http:///[app]/default/user/register
http:///[app]/default/user/profile
http:///[app]/default/user/re
Did you remember to db.commit() or db.rollback() in your tasks?
In the scheduler web2py automatically starts the transaction, but you have
to manually COMMIT or ROLLBACK before returning.
On Tuesday, October 23, 2018 at 12:15:35 AM UTC-5, Ruben Quintana wrote:
>
> I have a lot of errore in the po
On Monday, October 22, 2018 at 10:15:35 PM UTC-7, Ruben Quintana wrote:
>
> I have a lot of errore in the postgres 9.6 log
>
> < 2018-10-13 17:01:51.039 CST > ERROR: deadlock detected
>
Deadlock on scheduler workers isn't a common problem. What are your
workers doing, and how are you schedul
On Tuesday, October 23, 2018 at 11:44:41 AM UTC-7, mostwanted wrote:
>
> I have a folder in my desktop that contains a CSV file that backs up
> information everytime something gets saved into the database. What i wanna
> know is how can I instead have this folder and CSV backup file saved in th
Not sure I fully understand your requirements, but maybe:
requires=IS_IN_SET(..., multiple=(0, MAX_SIZE_OF_SET))
The "multiple" arguments indicates multiple items can be selected, and it
can either be a boolean or a list/tuple specifying a minimum and maximum
number of values. In the latter cas
On Monday, October 22, 2018 at 10:15:35 PM UTC-7, ronald Baruelo wrote:
>
> Hi my admin interface in my localhost disabled because of wrong password
> attempt can anybody help me with this thanks alot
>
appadmin (via the admin app) uses a hosts.deny file. It should also time
out the denial af
On Tuesday, October 23, 2018 at 12:44:30 PM UTC-7, Dave S wrote:
>
>
>
> On Monday, October 22, 2018 at 10:15:35 PM UTC-7, jajk...@ucsc.edu wrote:
>
If that's Santa Cruz, you may be able to catch Massimo in person ... every
once in a while he travels to California, and may make a presentation
On Monday, October 22, 2018 at 10:15:35 PM UTC-7, jajk...@ucsc.edu wrote:
>
> Hello!
> When I say "python web2py.py" it starts up the server
> so how do I start up my own application that uses web2py
>
[I think you posted a gluon question using your other email; if so, you say
you've seen the
It's not quite clear what you are looking for. Note that "format" does not
apply to the db.entry_type table but to reference fields in other tables
that reference this table.
You can access the "format" attribute via db.entry_type._format, so, you
could do:
formatted_record = db.entry_type._fo
I have a folder in my desktop that contains a CSV file that backs up
information everytime something gets saved into the database. What i wanna
know is how can I instead have this folder and CSV backup file saved in the
app somewhere so that even if i relocate the application or take it online
Here's an example from my site:
Field("sender", "reference auth_user",
default=lambda: current.auth.user.id,
represent=db.auth_user._format,
requires=IS_NULL_OR(IS_IN_DB(db,'auth_user.id'))),
As you can see, it can be accessed as the attribute
Oh gotcha thank you!
I posted this before I looked at the videos, and I saw him talk about what
the gluon scripts did.
On Mon, Oct 22, 2018 at 11:54 PM Nico de Groot wrote:
> Gluon *is* Web2py. More specific, in the Web2py system its a directory
> which contains the core system. Its called by th
Did you modify the user() function in default.py? Or, are you using your
own custom login functions?
-Jim
On Tuesday, October 23, 2018 at 7:59:21 AM UTC-5, Rahul wrote:
>
> Hi Jim, All,
> Okay I tried this - And I also decorated index() function in
> controller like below as I want to
Hi Jim, All,
Okay I tried this - And I also decorated index() function in
controller like below as I want to redirect the user to login page rather
than directly jumping to index.html
# example index page
@auth.requires_login()
def index():
response.flash= T("Hello World"
Hi, I have this minimal example:
db.define_table('entry_type',
Field('label'),
format='%(label)s'
)
how can I get the row represented by format?
record = db['entry_type'](id)
gives me requested row and I need to get it's representation set by format.
Thank you in advance!
--
Resourc
Hmm I appear to have solved this problem by reinstalling the Web2Py
Framework and creating a new Oracle account. My issue now is with the
AUTH_GROUP and AUTH_EVENT tables. It gives me the strangest error whenever
I try to create a new user there.
On Tue, Oct 23, 2018 at 7:15 AM Michael Buchler
think you can restart your web2py server and set the password again
*e.g. (change password with your desire password)*
python path_to_web2py/web2py.py --nogui --no-banner -a password -i 0.0.0.0
-p 8000
best regards,
stifan
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentatio
17 matches
Mail list logo