Do you mean in auth tables or other tables
In auth tables I do not have, only thing is I added one field
I have in other tables
On Friday, January 2, 2015 8:16:42 PM UTC+1, Alex Glaros wrote:
>
> just guessing
>
> do you have the "requires" clause in your db.py file? E.g.:
>
> db.yourTable.your
Ho Jo,
Do you still have this issue?
Richard D
On Tuesday, October 7, 2014 4:05:08 PM UTC+2, Joe wrote:
>
> I am having a great time using web2py. I am grateful to all of you who
> created and contributed to this amazing framework. I just created my first
> app, I am learning as fast as I can!
Thanks, it works with
total_entries = db(db.test.id > 0).count()
[next_to_last,last] = db().select(db.test.ALL, limitby=(total_entries-3, 2))
But crashes with more than 3 entries:
ValueError: need more than 1 value to unpack
However, it works this way (switched "3" with "total_entries"):
[ne
That's the equivalent of limitby(0,2). See the example in the book:
http://web2py.com/books/default/chapter/29/06/the-database-abstraction-layer#orderby--groupby--limitby--distinct--having-orderby_on_limitby-left-cache
Yes, the example I gave you was crude, and a bit incorrect - the limitby
takes
not auth tables
just in your specific table for the specific field that does not drop down
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received t
Hi Derek,
Thanks for your interest. However unlike you suggested, the redirect did
not change. However I was able to create a new controller action for
request_reset_password. It worked well. Any ways thanks for all your
interests.
Regards,
Ramashish
On Wednesday, January 7, 2015 12:04:21 AM
This works:
last_entry = db().select(db.test.ALL).last()
rows = db().select(db.test.ALL, orderby=~db.test.id)
next_to_last = rows[1]
That way I have both entries which I can work with. Thank you for your
support.
On Thursday, January 8, 2015 1:26:42 PM UTC+1, Kiran Subbaraman wrote:
>
> That'
When a menu-item in the nav-bar is selected on a iPad (both Chrome and
Safari) as mobile menu, the first menu item is always active.
Another menu item is temporarily active, but after selecting that menu
item, the first becomes active again.
The consequence is that all menu items can be used exce
Greetings,
I've been humming along quite nicely until I released a new application
last month which is used by our entire staff rather than our department.
Now I have run into the duplicate user problem, but I looked through the
code and figured out why. I had forgotten that you mentioned it to
I guess any solution si welcome, I didn't have spare time to work on this
and because of the many ldap system to be tested against the change to be
made I have been reluctante to work on this scince could be very long to
finish the refactoring... :(
Richard
On Thu, Jan 8, 2015 at 2:49 PM, Carlos
all working fine in Windows .
On Wednesday, January 7, 2015 at 9:10:26 PM UTC+1, Richard wrote:
>
> Most part of app seems to work... Is there some stuff I should check more
> then other, thing that you made change that you want to make sure it is not
> breaking backward compatibility?
>
> Rich
trivial spelling
errors:
http://web2py.com/books/default/chapter/29/06/the-database-abstraction-layer
One field is special: "request_tenant". This field does not exist but you
can create it and add it to any of your tables (or them all):
I think should be phrased (OR ALL OF THEM)
enhancement,
I definitely like and agree with your idea about using get_or_create_user()
in a login_method that intends to create (or get) a user, but that doesn't
eliminate the duplicate entry problem. Perhaps, my suggestion isn't the
best for eliminating it either, since it would require an update to
ldap
I think we can't restrick using only username because AD may have been
configure to use email address... To me, if I remember, the problem where
coming from ldap_auth contrib that is overly convoluted regarding the way
it manage login of user, transforming it from email to username to email...
In a
Hi Dominic,
I found the simplest way to serve PDF files is to save them in the static
directory, and then pass in the folder and the name of the file you want to
serve as url parameters. See sample code below. I have also had good
success building PDF's on the fly using the pyfpdf module which
You have to options. You can use custom widgets to represent for example
options in integer fields as buttons or images. The problem is that I do
not know where the names of those options (or images) came from.. are they
constants? Are they from a lookup table?
It may be easier to make the fiel
Please upgrade. This should have worked with that version but this is so
old. Hard to day what the problem is.
On Wednesday, 7 January 2015 13:42:52 UTC-6, Ian W. Scott wrote:
>
> 2.8.2-stable+timestamp.2013.11.28.13.54.07
> (Running on Apache/2.2.17 (Unix) mod_wsgi/3.3 Python/2.7.8)
>
> On Wedne
Checking the code again. appadmin.py calls check_credentials to decide if
you have access. On GAE it does (in gluon/fileutils.py/check_credentials):
from google.appengine.api import users
if users.is_current_user_admin():
return True
elif gae_login:
login_h
Please open a ticket. Is this an IPad specific issue?
On Thursday, 8 January 2015 13:07:15 UTC-6, Richard D wrote:
>
> When a menu-item in the nav-bar is selected on a iPad (both Chrome and
> Safari) as mobile menu, the first menu item is always active.
> Another menu item is temporarily active,
I am finding the GTK widget very slow. Is the server also slow?
On Wednesday, 7 January 2015 14:10:26 UTC-6, Richard wrote:
>
> Most part of app seems to work... Is there some stuff I should check more
> then other, thing that you made change that you want to make sure it is not
> breaking backw
Up.
El sábado, 14 de abril de 2012, 9:28:25 (UTC-3), Michele Comitini escribió:
>
> Activate error logging on the postgresql server and read the logs, it
> helps, not always but most of the time.
>
> mic
>
>
> Il 14 aprile 2012 08:59, Bruce Wade > ha
> scritto:
> > How do you trouble shoot this k
> Hello there!
>
I'm also having problem with my cron job.Basically i need to set a
command to let the system auto run every 1 mintue but when i try to place
the code inside the crontab -e it doesn't work.
the command that i need to run is :
pscp root @192.168.7.2:/home/debian/Desktop/Sensor
I swapped that code in and like I suspected it isn't iterating through any
row selections the results were 0 and 0. Could it have anything to do with
the fact that the field referenced references another table and field?
db.define_table('PO',
Field('job_id', db.jobinfo ),
still stumped bu
I'm not talking about forcing username only in all cases. Since I know that
for this application and my LDAP server configuration, usernames are okay,
so I think that having the option to force a particular login methon is
useful.
Then we can say login_with_email=False, or something of that nat
Hi,
can you post a PR with the change you mentioned on
https://github.com/mdipierro/web2py-book
Paolo
On Thursday, January 8, 2015 at 9:49:38 PM UTC+1, Alex Glaros wrote:
>
> trivial spelling errors:
> http://web2py.com/books/default/chapter/29/06/the-database-abstraction-layer
>
> One field is
Ok, thank you Derek.
Is there any way to remove old cache from mem and disk then, that is no
longer in use?
Den tisdag 6 januari 2015 kl. 19:42:58 UTC+1 skrev Derek:
>
> No, there's nothing going on in the background unless something is
> processing. It will check as soon as a new request comes
26 matches
Mail list logo