[web2py] installing appliance.

2013-08-20 Thread אבי אברמוביץ
Hi, I tried to install the car app and I got to: invalid function (default/Cars) on both urls: http://localhost:8000/Cars http://localhost:8000/Cars/appadmin I was using the admin ui to "upload and install packed application" It happened to me with other apps I tried as well. Thanks, Avi. -- --

[web2py] Re: installing appliance.

2013-08-21 Thread אבי אברמוביץ
Right, there are no views. Thanks. On Wednesday, August 21, 2013 1:31:55 AM UTC+3, אבי אברמוביץ wrote: > > Hi, > I tried to install the car app and I got to: > invalid function (default/Cars) > on both urls: > http://localhost:8000/Cars > http://localhost:8000/Cars/appad

[web2py] Data of 'reference db on select

2013-08-31 Thread אבי אברמוביץ
Hi, I do this query: items = db.executesql('SELECT * FROM project;') For the field below, which is a field in the db.project: Field('company_name', 'reference company', notnull=True). On the view, "{{=item[3]}}" renders only '1'.(instead of the company name). What should I do? Thanks. -- --- Yo

[web2py] Re: Data of 'reference db on select

2013-08-31 Thread אבי אברמוביץ
IS_DATE(format=T('%m-%d-%Y'), error_message='Must be MM-DD-!') db.project.due_date.requires = IS_DATE(format=T('%m-%d-%Y'), error_message='Must be MM-DD-!') On Sunday, September 1, 2013 2:56:47 AM UTC+3, Massimo Di Pierro wrote: > > I n

[web2py] Re: Data of 'reference db on select

2013-08-31 Thread אבי אברמוביץ
On Sunday, September 1, 2013 12:25:32 AM UTC+3, אבי אברמוביץ wrote: > > Hi, > I do this query: > items = db.executesql('SELECT * FROM project;') > For the field below, which is a field in the db.project: > Field('company_name', 'reference company

[web2py] link to item on list.

2013-08-31 Thread אבי אברמוביץ
Hi, I understand the url structure: app/function/view but assuming I have a list of items on the view, How do I get to a view page for each one of them and where can I build that page template? Thanks. -- --- You received this message because you are subscribed to the Google Groups "web2py-u

[web2py] Re: Data of 'reference db on select

2013-09-01 Thread אבי אברמוביץ
Hi Anthony, Thanks for that tutorial :). I also tried the other method ( In a bit different syntax though: "projects = db(db.project).select()") , this is a better method (than the sql one)? On Sunday, September 1, 2013 12:25:32 AM UTC+3, אבי אברמוביץ wrote: > > Hi, > I do

[web2py] Re: link to item on list.

2013-09-01 Thread אבי אברמוביץ
Great, thanks. On Sunday, September 1, 2013 9:40:25 AM UTC+3, אבי אברמוביץ wrote: > > Hi, > I understand the url structure: app/function/view > but assuming I have a list of items on the view, How do I get to a view > page for each one of them and where can I build that page temp

[web2py] Re: Data of 'reference db on select

2013-09-01 Thread אבי אברמוביץ
+3, אבי אברמוביץ wrote: > > Hi, > I do this query: > items = db.executesql('SELECT * FROM project;') > For the field below, which is a field in the db.project: > Field('company_name', 'reference company', notnull=True). > On the view, "{{=

[web2py] wizard issue? (db.define_table settings for the "db.auth_user is missing)

2013-09-05 Thread אבי אברמוביץ
Hi, I created a new app using the wizard. All looks good except for one thing: On the models/db.wizard, I don't see the db.define_table settings for the " db.auth_user. Should it be somewhere else or should I add it? Thanks. -- --- You received this message because you are subscribed to the Go

[web2py] Re: wizard issue? (db.define_table settings for the "db.auth_user is missing)

2013-09-05 Thread אבי אברמוביץ
ser_name', type='string', notnull=True, label=T('User Name' etc")) ? On Thursday, September 5, 2013 2:18:28 PM UTC+3, אבי אברמוביץ wrote: > > Hi, > I created a new app using the wizard. > All looks good except for one thing: > On the models

[web2py] Re: wizard issue? (db.define_table settings for the "db.auth_user is missing)

2013-09-06 Thread אבי אברמוביץ
Yes, thanks. On Friday, September 6, 2013 2:40:38 AM UTC+3, Massimo Di Pierro wrote: > > I think you want this: > http://www.web2py.com/books/default/chapter/29/09/access-control?search=extra_fields > > On Thursday, 5 September 2013 07:44:02 UTC-5, אבי אברמוביץ wrote: >> &g

[web2py] Authorization and CRUD

2013-09-06 Thread אבי אברמוביץ
Hi, Is there an example in one of the web2py appliances for an app using the "Authorization and crud" method? And that line of code "crud.settings.auth = auth" should be added at top of the functions file? Thanks. -- --- You received this message because you are subscribed to the Google Gro

[web2py] Re: link to item on list.

2013-09-09 Thread אבי אברמוביץ
tem_description}} {{=item.f_item_price}} {{else:}} {{for item in items:}} {{=item.f_item_name}} {{=item.f_item_description}} {{=item.f_item_price}} {{pass}} {{pass}} On Sunday, September 1, 2013 8:56:16 PM UTC+3, אבי אברמוביץ wrote: > > Great, thanks. > > On Sunday, September 1, 2

[web2py] Re: link to item on list.

2013-09-09 Thread אבי אברמוביץ
dex of the item in the returned Rows object (e.g., as > you delete records, the id values in the database will be non-consecutive > integers). > > Anthony > > On Monday, September 9, 2013 7:11:14 AM UTC-4, אבי אברמוביץ wrote: >> >> After some tries I got to this, which

[web2py] Re: link to item on list.

2013-09-09 Thread אבי אברמוביץ
, September 9, 2013 6:25:54 PM UTC+3, Anthony wrote: > > On Monday, September 9, 2013 11:20:02 AM UTC-4, אבי אברמוביץ wrote: > >> Thanks, yes, I know of the item.id problem for next and previous, I just >> used it for now I'll try to do something with the >>

[web2py] Re: Data of 'reference db on select

2013-09-14 Thread אבי אברמוביץ
ory == 14) error: ('Query' object has no attribute 'type') items =db().select(db.t_items.id==4) error: ('Query' object has no attribute 'type') So what is the right format? Thanks. On Sunday, September 1, 2013 12:25:32 AM UTC+3, אבי אברמוביץ wrote: > >

[web2py] Re: Data of 'reference db on select

2013-09-14 Thread אבי אברמוביץ
Great, thanks , that works. Putting the conditions in the db(), probably the only option i didn't try... :). On Sunday, September 1, 2013 12:25:32 AM UTC+3, אבי אברמוביץ wrote: > > Hi, > I do this query: > items = db.executesql('SELECT * FROM project;') > For the fi

Re: [web2py] Re: update via ajax getting error.

2014-01-29 Thread אבי אברמוביץ
Ooops. Great thanks. On Jan 30, 2014 1:04 AM, "Anthony" wrote: > Should be .update(api_key=uuid.uuid4()). > > Anthony > > On Wednesday, January 29, 2014 5:09:40 PM UTC-5, Avi A wrote: >> >> Hi, >> I am trying something like that: (render current api key and update it if >> clicking) >> >> on the