That is the example. You should add those lines after auth is defined in
models. That should be all. What problem do you experince?
On Wednesday, 27 January 2016 17:24:00 UTC-6, Charles tenorio wrote:
>
> I do not know that. After I read your message, I tried to use but can not.
> you can pass a
Actually, maybe this is a bug. (or maybe just something that is not
supposed to work the way I am trying to use it...)
If I turn off lazy_table support, everything works. I get a multi-select
box with the file_name populated (text area that I can multi-select).
Is there a reason it works wit
Thanks Anthony. I looked for the issue number from the original poster, but the
ticket that came up wasn't related to list: reference... There doesn't seem to
be any other context in the post. Any idea what else I can search on? I spent a
good couple hours searching through not only the ticket l
need a hint on web2py built-in autocomplete widget.
in controller: db.otc_products.counterparty.widget =
SQLFORM.widgets.autocomplete(request, db.counterparty.Long_Name,
limitby=(0,10), min_length=2)
in model:
db.define_table('otc_products', Field('counterparty','reference
counterparty', w
Hello everyone,
I've developed an application that uses postgresql as its backend and I
want to make a copy of the application on the same server (running on the
same instance of web2py) to be used as the deployed version while I
continue work on the development version. I used web2py to package
On Thursday, January 28, 2016 at 3:40:17 PM UTC-5, Brendan Barnwell wrote:
>
> On Thursday, January 28, 2016 at 10:21:54 AM UTC-8, Anthony wrote:
>>
>> On Thursday, January 28, 2016 at 2:37:47 AM UTC-5, Brendan Barnwell wrote:
>>>
>>> Yes, I realize I can do that. The problem is that (if I underst
Hi, I was trying to find a way to use the autocomplete widget with
internationalization, I tryed to use a virtual field that returns
T(row.my_table.my_field) (silly me) but the autocomplete widget don't
work with virtual fields.
Some ideas?
Greetings.
--
Este mensaje le ha llegado mediante e
On Thursday, January 28, 2016 at 10:21:54 AM UTC-8, Anthony wrote:
>
> On Thursday, January 28, 2016 at 2:37:47 AM UTC-5, Brendan Barnwell wrote:
>>
>> Yes, I realize I can do that. The problem is that (if I understand
>> right) unless I put it in the web2py folder, web2py won't know about it.
>
Massimo,
Thanks for your response. You asked what I mean when I refer to
appliances. I refer to this link: http://www.web2py.com/appliances
Suppose I want to learn more about the CustomerRelationshipManagement
appliance. I am taken
here:
https://github.com/mdipierro/web2py-appliances/t
auth.register() both creates the form and processes it (i.e., running the
validations), so anything you add to the form later will not be part of the
validation. You can instead handle the validation manually by checking
request.post_vars.f_zipcode. Alternatively, you could create your own
regi
The tickets were migrated to Github, but you'll have to search for it.
Anthony
On Thursday, January 28, 2016 at 12:24:32 AM UTC-5, Dave wrote:
>
> I am having an issue like what is described below. There was apparently a
> solution posted in the ticket, but I can't seem to find old tickets now
On Thursday, January 28, 2016 at 2:37:47 AM UTC-5, Brendan Barnwell wrote:
>
> Yes, I realize I can do that. The problem is that (if I understand right)
> unless I put it in the web2py folder, web2py won't know about it.
>
I'm not sure I follow. If you realize you can leave your application fol
I think that the overwriting feature is fine just as it's right now... I
have one application on production server and I can update it merging the
update with the old version without troubling my self with backups for
upload files, for example.
In my models definition modules - with is the way i p
I just uploaded and installed a packed application overwriting an
installed app. The problem is that this procedure does not
remove the files form the old app that are not in the new app.
I had a model file named 76_resume.py which I renamed 78_resume.py
this resulted in an error ticket about alre
On Thursday, January 28, 2016 at 12:56:15 AM UTC-5, mweissen wrote:
>
> I had the same problem: I want an extra field in the login form without an
> additional field in auth_user. Some months ago I wrote a proposal how to
> implement it, but I did not get any response. Here is the proposal again:
I will make sure not to delete this post. lol. Cool. glad to help.
On Thursday, January 28, 2016 at 11:38:48 AM UTC-5, peter wrote:
>
> Oh Ron, I see this might be a way of avoiding the lock problem without
> resorting to WAL. Thanks.
> Peter
>
> On Thursday, 28 January 2016 15:47:54 UTC, peter w
Oh Ron, I see this might be a way of avoiding the lock problem without
resorting to WAL. Thanks.
Peter
On Thursday, 28 January 2016 15:47:54 UTC, peter wrote:
>
> I have a version of sqlite3 that is 3.7...
>
> I have been having problems with the database being locked.
>
> So I tried
> db.exe
Hi,
ist there a way to change the column of the record in an SQLFORM?
For example, my code looks like this:
module
dba.define_table('test_table',
Field('field_1', 'integer'),
Field('field_2', 'integer'))
controller
def index():
record = 1
form=SQLFORM(dba.test_table, record, submit_button='te
I have looked into it further, and two new files are created in my
databases directory.
storage.sqlite-wal
and
storage.sqlite-shm
They need their group write permissions to be set. However, they seem to
keep on getting deleted and recreated. Each time they are created their
group write permis
It a broad question... What have you try so far...
On ExtJS, it should only be a matter of including CDN (
https://cdnjs.com/libraries/extjs) or the proper JS file if it you use
local build in your views... And about Oracle, you need to write the
proper connection string
*Oracle* oracle://usernam
Have you tried db.commit()?
On Thursday, January 28, 2016 at 10:47:54 AM UTC-5, peter wrote:
>
> I have a version of sqlite3 that is 3.7...
>
> I have been having problems with the database being locked.
>
> So I tried
> db.executesql("PRAGMA journal_mode=WAL;")
>
> (just once)
>
> I then ca
I have a version of sqlite3 that is 3.7...
I have been having problems with the database being locked.
So I tried
db.executesql("PRAGMA journal_mode=WAL;")
(just once)
I then cannot access the application without getting a
OperationalError: unable to open database file
Any ideas how I c
I am currently working on the same believe it or not and looked at
appointment manager. My idea was to create a meeting or appointment between
two or more people and each of them will have their calendar updated based
on acceptance of those meeting request. But appointment manager failts on
cru
I found the trick on the internet :
db.table.drop()
what a beautiful day today
conclusion: destruction can only be 'cured' by destruction :)
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/w
Hi,
am looking for an alternative to the 'automat-destructor':
ondelete='CASCADE'
even with ondelete='SET NULL' applied to a reference field it is ignored
and does the CASCADE instead ? tested with sqlite
very strange ??Is it a bug ?
--
Resources:
- http://web2py.com
- http://web2py
On Thursday, January 28, 2016 at 12:19:41 AM UTC-8, Dave S wrote:
>
>
>
> On Wednesday, January 27, 2016 at 11:37:47 PM UTC-8, Brendan Barnwell
> wrote:
>
> Yes, I realize I can do that. The problem is that (if I understand right)
>> unless I put it in the web2py folder, web2py won't know abou
On Wednesday, January 27, 2016 at 11:37:47 PM UTC-8, Brendan Barnwell wrote:
Yes, I realize I can do that. The problem is that (if I understand right)
> unless I put it in the web2py folder, web2py won't know about it. I can
> symlink it (or directory-junction it, in windows), but that still
On Wednesday, January 27, 2016 at 6:50:58 PM UTC-8, Laurent Lc wrote:
>
> Managing ressources (rooms,equipment and so on)
>
Conference room scheduling (time scale of hours)? Classroom scheduling
(time scale of weeks)? Hotel room scheduling (time scale of days)?
I haven't really changed my ans
28 matches
Mail list logo