Re: [web2py] Web2py Rocks ... Again :)

2014-07-03 Thread Adnan Smajlovic
+1 On Thu, Jul 3, 2014 at 7:40 AM, Carlos Costa wrote: > +1 > > > -- 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 this message because yo

Re: [web2py] Re: one more web2py e-commerce app :)

2014-06-18 Thread Adnan Smajlovic
Hi Sarbjit, The owner decided for her maintenance reasons to switch to wordpress and woocommerce... Here is a version of the same website in web2py: http://recruit55.com/nammu. You don't need really woocommerce if you'll build your own e-commerce system. On Sun, Jun 15, 2014 at 10:34 PM, Sarbjit

Re: [web2py] Re: Web2py Hosting

2014-05-22 Thread Adnan Smajlovic
I switched to Digital Ocean based Anthony's previous suggestion, and have only words of praise (price/speed/support)!!! Got nginx+ubuntu and just needed to run the web2py installation script to set everything up. That was it, and all worked perfect. On Thu, May 22, 2014 at 1:17 PM, Annet wrote:

Re: [web2py] web2py logo - need immediate help

2014-04-01 Thread Adnan Smajlovic
Atar, my partner will do it. She'll send it as soon as it's ready... On Tue, Apr 1, 2014 at 10:31 AM, Massimo Di Pierro < massimo.dipie...@gmail.com> wrote: > Any good designer on the list? > I need a web2py logo similar to this one > >http://web2py.com/init/static/images/web2py_logo.png > >

Re: [web2py] janrain and web2py

2014-03-27 Thread Adnan Smajlovic
I posted couple weeks ago that it stopped working, but then deleted a post thinking it's my fault as usual :) They replaced Google with Google+. Had to fiddle around, and switched to paid version, so got it to work again. Sample: http://recruit55.com/bmbusiness On Tue, Mar 25, 2014 at 1:30 PM,

Re: [web2py] form in hebrew

2014-02-02 Thread Adnan Smajlovic
The browser does it automatically, since I don't remember doing anything special for this website, other than string translations, and enforcing the language. There is a selection on the menu: English/Hebrew, which demonstrate an automatic right/left align of text, but as you said custom-form woul

Re: [web2py] form in hebrew

2014-02-01 Thread Adnan Smajlovic
Hi Danny, Use/Create a translation file en-he, and all will be done for you. After that, use all your text with a T() tag. Field('message', 'text', label=*T*('Inquiry Message'), default='') There will be no issues: http://beauty-spots.com/inquire (Just spotted that first field wasn't translated,

Re: [web2py] Important New Year News: Edison Award

2014-01-04 Thread Adnan Smajlovic
Good luck Massimo!!! -- 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 this message because you are subscribed to the Google Groups "web2py-us

Re: [web2py] Re: Happy New Year everybody!

2014-01-02 Thread Adnan Smajlovic
Thank you Massimo, and also wishing everyone happy and prosperous 2014! Adnan On Thu, Jan 2, 2014 at 9:27 AM, Michele Comitini wrote: > Thank you Massimo! Happy 2014 to web2py and all web2py users! > > mic > > > 2014/1/2 weheh > >> Thank you, Massimo and web2py group. Happy New Year everybod

Re: [web2py] Online classes

2013-12-03 Thread Adnan Smajlovic
This is great! Thanks. On Dec 3, 2013 1:34 AM, "Massimo Di Pierro" wrote: > Hello everybody, > > As you know I teach a certification program about web development with > Python and I use web2py. > I posted my most recent classes online: > > https://vimeo.com/75499986 > https://vimeo.com/76047107

Re: [web2py] Please help: issue sending SMS as e-mail

2013-11-24 Thread Adnan Smajlovic
If it's a new test gmail account, did you login into it, and verify with your phone? Sometimes they hold up the new accounts, until you verify and confirm it is ok to be used from within an application. I had a similar issue for a new app dedicated gmail account. On Sun, Nov 24, 2013 at 6:58 PM

Re: [web2py] Re: mysql file as model

2013-10-19 Thread Adnan Smajlovic
Thanks for this link Massimo, very handy! On Fri, Oct 18, 2013 at 1:01 PM, Massimo Di Pierro < massimo.dipie...@gmail.com> wrote: > Does this help? https://code.google.com/p/csvstudio/ > > > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/w

Re: [web2py] Re: sqlform.grid boolean field search doesn't return any rows

2013-10-13 Thread Adnan Smajlovic
opened: http://code.google.com/p/web2py/issues/detail?id=1718 On Sun, Oct 13, 2013 at 8:39 AM, Massimo Di Pierro < massimo.dipie...@gmail.com> wrote: > I understand and it is a bug. Could you please open a ticket about this? > -- Resources: - http://web2py.com - http://web2py.com/book (Document

Re: [web2py] Re: sqlform.grid boolean field search doesn't return any rows

2013-10-12 Thread Adnan Smajlovic
done: http://code.google.com/p/web2py/issues/detail?id=1718 On Sat, Oct 12, 2013 at 2:33 PM, Massimo Di Pierro < massimo.dipie...@gmail.com> wrote: > Can you please open a ticket about this? > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/

Re: [web2py] Re: sqlform.grid boolean field search doesn't return any rows

2013-10-12 Thread Adnan Smajlovic
Thanks Massimo. I'm talking about the automatic search query above smartgrid that gets created when boolean field is selected as a filter. It gets created as table.field = "on". So that one works, but != "on" doesn't seem to work. On 2013-10-11 11:25 PM, "Massimo Di Pierro" wrote: > there are th

Re: [web2py] Re: one more web2py e-commerce app :)

2013-10-09 Thread Adnan Smajlovic
:) There are only few hats left in this color, so they are just on small special now, but we also send absolutely free hat to anyone who's going through chemotherapy treatment. On Wed, Oct 9, 2013 at 6:26 PM, Derek wrote: > Why is a light pur

Re: [web2py] Re: one more web2py e-commerce app :)

2013-10-08 Thread Adnan Smajlovic
hmm... it's a broad question, so please ask anything more specific and i'll be glad to answer. Here are some of my observations... What was important to me, were speed, mobile readiness (bootstrap responsive design), sending scheduled notification e-mails through scheduler, rather than real-time,

Re: [web2py] Re: Example of web2py integration with an AJAX grid (preferably jquery based) which updates backend db ?

2013-10-07 Thread Adnan Smajlovic
Simon, Thank you for this. Very helpful, and just implemented it in one of my grids! Also checked Kendoui. Looks very nice. On Mon, Oct 7, 2013 at 10:50 AM, Py Dev wrote: > Hi Simon, > > I just found the problem: > > The line: > > > > has to be inserted after(!) > > {{include 'web2py_ajax.ht

Re: [web2py] Re: How to make smartgrid redirect to edit after creating new record?

2013-09-14 Thread Adnan Smajlovic
Alex, Can you please clarify what model do you need? I can post the sample code but not sure what exactly do you need. On Fri, Sep 13, 2013 at 8:13 PM, Alex Glaros wrote: > Adi, > > can you post the model for this? > > thanks, > > Alex Glaros > > > On Friday, December 23, 2011 9:44:17 AM UTC-8,

Re: [web2py] web2py 2.6.1 is OUT - IMPORTANT READ

2013-09-14 Thread Adnan Smajlovic
Thank you Massimo, and all contributors for a constant improvement of the most amazing framework! On Thu, Sep 12, 2013 at 6:27 PM, Massimo Di Pierro < massimo.dipie...@gmail.com> wrote: > Web2py 2.6.1 is finally OUT. It needs some more testing. > > READ BELOW BEFORE UPGRADING > > Attention

Re: [web2py] Re: web2py 2.4.2 is OUT

2013-03-06 Thread Adnan Smajlovic
Thanks for a new version. Will upgrade production tonight or tomorrow morning :) On Sunday, March 3, 2013 8:38:19 PM UTC-7, Massimo Di Pierro wrote: The book will be out shortly describing this version. I am sure there are some corners to iron but I could not wait any longer.

Re: [web2py] Deploy nginx + uwsgi

2013-01-01 Thread Adnan Smajlovic
Hi Fernando, I can send you my conf files, if you want to compare, but also you need to check if your firewall port is open in /etc/iptables.firewall.rules, and that all files and folders are owned by www-data. If you just installed, you should also restart uwsgi and nginx. I installed from source,

Re: [web2py] Re: fall back for memcached to db caching

2012-12-25 Thread Adnan Smajlovic
What I wanted to do is when there is no memcache installed, or something happens to it while running, the application should switch automatically to db sessions, rather than just throw an error. The code I got bellow re-creates the problem, but if I add an extra if notsession : session.connect(req

Re: [web2py] raspberry pi

2012-12-15 Thread Adnan Smajlovic
brings fantastic memories of early days with zx80 sinclair spectrum, changing eprom for it, building cb radio stations, mono block amplifiers, and so on :) hopefully kids jump on this, and spend some good times programming... On Sat, Dec 15, 2012 at 11:01 AM, Andrew W wrote: > I just bought one

Re: [web2py] web2py 2.3.1?

2012-12-04 Thread Adnan Smajlovic
Just tested all four applications with nightly build and all works as expected. If we upgrade production, break it and start losing orders, it will be brutal here, but I'll scream for help... ;) On Tue, Dec 4, 2012 at 2:26 AM, Nico Zanferrari wrote: > I've notice yesterday that the DEBUG button

Re: [web2py] Re: nginx+uwsgi and ubuntu 12.10

2012-11-29 Thread Adnan Smajlovic
linode/uwsgi/nginx/mariadb/ubuntu 12.04 works great for me... actually very happy with linode thanks to Bruno's review and Niphlod's advise. Next week will start switching the traffic... On Thu, Nov 29, 2012 at 3:33 AM, Johann Spies wrote: > > > On 28 November 2012 22:16, Richard Vézina wrote: >

Re: [web2py] Re: we should support this in DAL

2012-11-19 Thread Adnan Smajlovic
Hi Simon, i didn't go too far with DAL and mongo. Managed to get the grid, but as mentioned before had a problem retrieving individual record (document) for view and update. Then I included pymongo, and got needed functionality outside of grid, but didn't have time then to continue working on it.

Re: [web2py] Re: scheduler and mongodb

2012-10-29 Thread Adnan Smajlovic
yes, i had it for mysql and that worked fine, but my understanding is that mongodb doesn't have commit... but i'll look in that direction to see if there is something similar... Mind you, when I insert task from my local machine, document gets inserted into mongodb properly through scheduler. On

Re: [web2py] how to loop through tables with > 1M records?

2012-10-21 Thread Adnan Smajlovic
nightly or stable build? On Sun, Oct 21, 2012 at 2:07 PM, Adnan Smajlovic wrote: > will do it right now :) > > > On Sun, Oct 21, 2012 at 10:30 AM, Niphlod wrote: > >> a subtle bug appearead on the last patch, please re-download >> scheduler.py, should all be o

Re: [web2py] how to loop through tables with > 1M records?

2012-10-21 Thread Adnan Smajlovic
omething >> more specific to figure out what is going on? >> >> >> On Sat, Oct 20, 2012 at 9:05 PM, Adnan Smajlovic wrote: >> >>> will try to replacing scheduler.py in production and load some serious >>> data again, since all is setup there for the

Re: [web2py] how to loop through tables with > 1M records?

2012-10-20 Thread Adnan Smajlovic
no tasks are being executed at this point. restarted apache, stopped and started scheduler several times. that's the situation at this point... not sure if i could test something more specific to figure out what is going on? On Sat, Oct 20, 2012 at 9:05 PM, Adnan Smajlovic wrote: > wil

Re: [web2py] how to loop through tables with > 1M records?

2012-10-20 Thread Adnan Smajlovic
will try to replacing scheduler.py in production and load some serious data again, since all is setup there for the full process, so we can have a real test :) I understand the concept with main being the default group, but wasn't sure if I was doing something wrong. All clear now :) Thanks for fi

Re: [web2py] how to loop through tables with > 1M records?

2012-10-20 Thread Adnan Smajlovic
lots of records which will be processed in a back-end process, while fast-track works in it's own (faster) pace... On Sat, Oct 20, 2012 at 12:03 PM, Adnan Smajlovic wrote: > couple things happened... > > The main group worker got created even though I didn't call it... Not

Re: [web2py] how to loop through tables with > 1M records?

2012-10-20 Thread Adnan Smajlovic
eb2py/web2py.py -K crm:fast_track,crm:slow_track &> /var/log/web2py-scheduler.log On Sat, Oct 20, 2012 at 11:13 AM, Adnan Smajlovic wrote: > all clear :) in process of implementing. > > Is new api defined in scheduler.py, since i don't see it in there (2.1.1 > (2012-10-1

Re: [web2py] how to loop through tables with > 1M records?

2012-10-20 Thread Adnan Smajlovic
all clear :) in process of implementing. Is new api defined in scheduler.py, since i don't see it in there (2.1.1 (2012-10-17 17:00:46) dev), but I'm modifying the existing code to employ fast_track, since order confirmations are getting behind. This will be really good :) Thanks again, and again.

Re: [web2py] how to loop through tables with > 1M records?

2012-10-19 Thread Adnan Smajlovic
Does work. Thank you both very much! Now that I have thousands of queued/backlogged tasks in a scheduler, I noticed that my regular tasks, which are of higher priority will be on hold until everything else gets processed. Maybe, it would be a good idea to have a field for a priority of a task? (ju

Re: [web2py] how to loop through tables with > 1M records?

2012-10-19 Thread Adnan Smajlovic
i put it exactly as it is, but it stopped working after 1000 records... will double check again. On Fri, Oct 19, 2012 at 3:47 PM, Vasile Ermicioi wrote: > _last_id = 0 >> _items_per_page=1000 >> for row in db(db.table.id>_last_id).select(limitby=(0,_items_per_page), >> orderby=db.table.id): >>

Re: [web2py] how to loop through tables with > 1M records?

2012-10-19 Thread Adnan Smajlovic
Yes Vasile, I tried, and understand the logic... May change it slightly and use it as subquery with an offset. The problem is that I'm dealing with legacy tables that go up to 3 million rows, and have lot of columns that need to be checked, so your solution will work, and I will be loading data in

Re: [web2py] how to loop through tables with > 1M records?

2012-10-19 Thread Adnan Smajlovic
I'm afraid, limitby will not work, since it returns limited set, and I guess it's not possible to dynamically change the limit, so I'll have to sort of loop through some kind of subqueries, or use the original query with limited set of fields (takes 60secs for 700k records, not ready to test on 2-3

Re: [web2py] Re: is commit necessary for update_or_insert() in scheduler

2012-10-19 Thread Adnan Smajlovic
Thank you Niphlod! Every day I thank you, Massimo and everyone who contribute, for a scheduler, and web2py in general :) The scheduler is now on autopilot, simulating a workflow and works like a charm... Just loading large data through it, and will see how will app behave once all is in... We'll a

Re: [web2py] easy way to validate a list of emails?

2012-10-17 Thread Adnan Smajlovic
thank you villas. that one is good too! On Wed, Oct 17, 2012 at 3:13 PM, villas wrote: > For more unstructured addresses, I also find this useful: > http://docs.python.org/library/email.util.html > I use parseaddr. > > -- > > --

Re: [web2py] Re: help me test sessions in cookies

2012-10-16 Thread Adnan Smajlovic
All worked fine for me... Name: session_data_dev_tmobile Content: "afccd...8B60" Host: 127.0.0.1 Path: / Send for: Any type of connection Expires: At end of session Name: session_id_dev_tmobile Content: None Path: / Send for: Any type of connection Expires: At end of session On Tue, Oct 16, 20

Re: [web2py] Re: Adding extra links to smartgird

2012-10-12 Thread Adnan Smajlovic
Hi Simon, It didn't work because I put there "table_a", referring to a table where you need your button displayed. In your case, you could put there productdatafiles (without db in front). Since smartgrid drills into related tables, some buttons will not be applicable to those tables, like in my c

Re: [web2py] Adding extra links to smartgird

2012-10-12 Thread Adnan Smajlovic
here is a quick code sample: in a smartgrid: ... links=dict(table_a=[ lambda row: A('Duplicate', _class='button', _onclick='return confirm("Duplicate %s?")' %

Re: [web2py] Email notification for new subscribers

2012-10-12 Thread Adnan Smajlovic
For admin notifications you can place this code in your db.py: auth.settings.register_onaccept.append(lambda form: mail.send(to='ad...@emai.com',subject='New user registered for %s application' % (request.application), message="new user email is %s" % (form.vars.email))) auth.

Re: [web2py] restful api post works great localy, but getting login redirect on a remote server

2012-10-11 Thread Adnan Smajlovic
Thanks Massimo for looking into this. ticket opened: http://code.google.com/p/web2py/issues/detail?id=1080&thanks=1080&ts=1349992678 On Thu, Oct 11, 2012 at 5:05 PM, Massimo Di Pierro < massimo.dipie...@gmail.com> wrote: > Please open a ticket about this and I will look in detail asap. > > > On

Re: [web2py] restful api post works great localy, but getting login redirect on a remote server

2012-10-11 Thread Adnan Smajlovic
Tried 2.09 nightly build on a completely different (redhat) server and still getting redirect, while post works as expected on a local rocket. Any hint where to look for a problem please? using: curl --user webserv...@domain.com:pass -d "FirstName=Tim5&LastName=Json"http ://crm.domain.com/api/cus

Re: [web2py] Re: scheduler: Cannot duplicate a Singleton

2012-10-07 Thread Adnan Smajlovic
Oh Niphlod :) No, I wasn't aware of that... In that case it works as expected :) I created a new db, and introduced a return value, which caused a record into into scheduler_run with status "COMPLETED", and additional details in "result" field. This is perfect... Thank you very much for scheduler

Re: [web2py] Re: scheduler: Cannot duplicate a Singleton

2012-10-07 Thread Adnan Smajlovic
The task executed properly, marked status "COMPLETED" in scheduler_task table, but didn't insert a record into scheduler_run table. I will create a new mysql database and let you know if the problem is there... On Sun, Oct 7, 2012 at 2:12 AM, Massimo Di Pierro < massimo.dipie...@gmail.com> wrote

Re: [web2py] Re: option to move smartgrid buttons to the left side

2012-10-05 Thread Adnan Smajlovic
thanks Mark for this. will save and use it... On Fri, Oct 5, 2012 at 5:02 PM, Mark wrote: > I met the same problem and found a solution. I changed the id field into a > button, and actually, any fields can be buttons or links in the grid. > > For example: > db.person.id.represent=lambda id,r: >

Re: [web2py] Re: scheduler: Cannot duplicate a Singleton

2012-10-04 Thread Adnan Smajlovic
Will run more tests in the morning on a brand new application, since I can't see anything wrong (connection string duplication) in code right now. Unfortunately, can't roll back this functionality now, so will have to figure it out quickly. Thanks for help Massimo and Niphlod. On Thu, Oct 4, 2012

Re: [web2py] Re: scheduler: Cannot duplicate a Singleton

2012-10-04 Thread Adnan Smajlovic
I'm using 6 connections at the same time, 3 go to different databases on the same server, and 3 to totally different servers. Each connection has a different name db = DAL('mysql://crm:password@localhost:3307/CRM',migrate_enabled=True) db_us = DAL('mysql://web_US:password@localhost:3307/DataUS',m

Re: [web2py] Re: scheduler: Cannot duplicate a Singleton

2012-10-04 Thread Adnan Smajlovic
Still the same problem: Traceback (most recent call last): File "/opt/web-apps/web2py/gluon/scheduler.py", line 203, in executor _env = env(a=a,c=c,import_models=True) File "/opt/web-apps/web2py/gluon/shell.py", line 134, in env sys.exit(1) SystemExit: 1 Is there any line of code that

Re: [web2py] Re: Problems with a validation procedure ? - a Canadian postal code !

2012-09-27 Thread Adnan Smajlovic
replaced mine with this one now :) thanks small typos: from gluon.validators import Validator def __init__(self,error_message='invalid!'): On Wed, Sep 26, 2012 at 3:25 PM, Massimo Di Pierro < massimo.dipie...@gmail.com> wrote: > Yes. > > you can do: > > import re > from gluon.validator import V

Re: [web2py] Smartgrid linked table issue.

2012-09-25 Thread Adnan Smajlovic
I think you need to flip it around, and use facilities instead of servers, and then you will get the link to servers: facilities = SQLFORM.smartgrid(db.facility, linked_tables={}, user_signature=False, links_in_grid=True, editable=False, deletable=False) return dict(facilities=facilities) On Tue

Re: [web2py] Problems with a validation procedure ? - a Canadian postal code !

2012-09-24 Thread Adnan Smajlovic
i use this one: Order.PC.requires = IS_MATCH('^([A-Za-z][0-9][A-Za-z]\s*[0-9][A-Za-z][0-9])$', error_message=T('Not a valid Postal Code')), IS_NOT_EMPTY() you can also try some of these others that I have, but the one above works fine... # validate Canadian Postal Codes # CA: ^(

Re: [web2py] Re: smartgrid: linked_tables=dict(parent=['child'], child=[''])

2012-09-23 Thread Adnan Smajlovic
Works perfect. Thank you Massimo. On Sun, Sep 23, 2012 at 8:16 PM, Massimo Di Pierro < massimo.dipie...@gmail.com> wrote: > Can you please try again? > > > On Sunday, 23 September 2012 18:03:48 UTC-5, Adi wrote: > >> Thanks Massimo! >> >> I'm trying to test it, but got this error bellow: >> >>

Re: [web2py] Re: smartgrid: linked_tables=dict(parent=['child'], child=[''])

2012-09-23 Thread Adnan Smajlovic
Thanks Massimo! I'm trying to test it, but got this error bellow: File "/Users/adnan/web2py-trunk/gluon/sqlhtml.py", line 2280, in smartgrid linked_tables = linked_tables.get(tablename,[]) UnboundLocalError: local variable 'tablename' referenced before assignment On Sun, Sep 23, 2012 at

Re: [web2py] Re: 2.02 Table name in smartgrid changed...

2012-09-05 Thread Adnan Smajlovic
thanks Paolo... worked perfectly. On Wed, Sep 5, 2012 at 1:59 PM, Paolo Caruccio wrote: > to display all breadcrumbs in the same line please try to append to > web2py.css following rule > > li.w2p_grid_breadcrumb_elem { > display:inline-block; > } > > in versions >= 2.0.2 web2py.css file has

Re: [web2py] Re: 2.02 Table name in smartgrid changed...

2012-09-05 Thread Adnan Smajlovic
Massimo, Any chance to leave only table_plural on line 2248 in sqlhtml.py: #header = table._plural + (field and ' for '+field.name or '') header = table._plural I would also leave all in one line if possible, e.g: table_level_1 > id > table_level_2, etc... Thanks, Adnan

Re: [web2py] Re: 2.02 can't edit examples - no languages folder

2012-08-31 Thread Adnan Smajlovic
Nico, I noticed you use yesterday's build... I took today's from github, and all works fine.. On Aug 31, 2012 2:37 PM, "Massimo Di Pierro" wrote: > Where did you get the code from (web2py_src.zip, github, googlecode)? > > On Friday, 31 August 2012 12:03:11 UTC-5, Nico Zanferrari wrote: >> >> I'm

Re: [web2py] Re: Web-page freezes on db.define_table

2011-12-21 Thread Adnan Smajlovic
Can they be recreated if they get lost/corrupted through fake_migrate=True? On Wed, Dec 21, 2011 at 8:16 AM, Johann Spies wrote: > On 21 December 2011 15:04, Axel wrote: > >> It must have been the files in web2py/applications//database/. I >> will >> remember to try this if the problem occurs ag

Re: [web2py] Re: Overriding Grid/Smartgrid's 'Edit/Delete/View'

2011-12-21 Thread Adnan Smajlovic
Great. works perfect! Thanks a lot. On Tue, Dec 20, 2011 at 10:14 PM, Cliff wrote: > You can learn more here: > > > http://web2py.com/books/default/chapter/29/7#SQLFORM.grid-and-SQLFORM.smartgrid-(experimental) > > On Dec 20, 8:57 pm, Jim Steil wrote: > > Yes, you can pass a list of the tables

Re: [web2py] Re: generating PDF invoices

2011-12-21 Thread Adnan Smajlovic
Thanks Cliff. Will look into PDF creation. On Tue, Dec 20, 2011 at 10:18 PM, Cliff wrote: > The browser controls the content of those headers and footers, > according to user settings. > > I don't think there is a way to override it. > > If you want total control you need to present a pdf. > > O

[web2py] Re: smartgrid - onblur

2011-12-15 Thread Adnan Smajlovic
anyone plz? i tried searching and looking through online documentation for smartgrid, but can't figure out how to attach onblur to a dropdown field, and then to insert value into another field based on dropdown selection. I'm newbie to web2py but I really love it... and have to make this app

[web2py] smartgrid - onblur

2011-12-14 Thread Adnan Smajlovic
Could someone please advise how to implement onblur in smartgrid, e.g. after selecting sku.id from a dropdown (on an insert/edit form), to populate the sku.cost into another field?

[web2py] Re: 500 internal server error after deployment of app and upgrade to latest version

2011-12-12 Thread Adnan Smajlovic
Thanks Anthony and Massimo. I contacted the hosting company and they suggested to install the additional python instance. Can you please advise, how would I go about auto-starting web2py with a proper version of python then? Thanks, Adnan ### Reference email from hosting company: ... there

[web2py] 500 internal server error after deployment of app and upgrade to latest version

2011-12-11 Thread Adnan Smajlovic
I switched several times between the old and the latest version of web2py, and the old version works fine in my environment, but the new one is giving the internal server error. The old version is Version 1.94.3 (2011-03-17 20:22:37) I know my version of Python is 2.4.3, but Host Gator was not

[web2py] Re: video about new RESTful APIs

2011-03-17 Thread Adnan Smajlovic
My apology. Tested again after seeing the patterns, and all works perfect, and as expected...

[web2py] Re: video about new RESTful APIs

2011-03-17 Thread Adnan Smajlovic
downloaded the version 1.94.3, and included the api in the controller. it responds well, but returns only the field names. when i include the field name, then it returns: record not found as far as I checked, the record with the same id is in the database...

Re: [web2py] Re: Another jerk!

2011-03-16 Thread Adnan Smajlovic
Lean web framework for robust, portable and scalable apps On Tue, Mar 15, 2011 at 10:03 PM, Massimo Di Pierro < massimo.dipie...@gmail.com> wrote: > For pragmatists who get things done > > On Mar 15, 6:48 pm, b00m_chef wrote: > > Web2py: the framework for everyone! > > > > or > > > > Web2py: for

Re: [web2py] Re: NameError: global name \'db\' is not defined\n

2011-03-14 Thread Adnan Smajlovic
I think I deleted the model files, or the ones in database folder on purpose (to disable the app temporarily), but then returned them back. Only once I deleted the cache files, everything started working again properly. On Mon, Mar 14, 2011 at 6:57 PM, Massimo Di Pierro < massimo.dipie...@gmail.c

Re: [web2py] Re: Custom form for auth profile

2010-01-20 Thread Adnan Smajlovic
unning on HostGator? > > Richard > > > On Jan 2, 12:38 pm, Adnan Smajlovic wrote: > > I am trying to workout the installation problem with HostGator, who > > unfortunately only supports Python 2.4 at the moment. I understand that I > > should go with 2.5 and need to take the

Re: [web2py:38240] Re: web2py with python 2.4

2010-01-02 Thread Adnan Smajlovic
Thank you Massimo, that did it. On Sat, Jan 2, 2010 at 10:28 PM, mdipierro wrote: > Please upgrade to 1.74.5. It will not require functools. > > On Jan 2, 9:04 pm, Adnan Smajlovic wrote: > > I apologize for beating this one, but any help would be appreciated since > > I

[web2py:38238] web2py with python 2.4

2010-01-02 Thread Adnan Smajlovic
I apologize for beating this one, but any help would be appreciated since I'm not in position to upgrade to python 2.5 at the moment, and really want to try using web2py. I installed the hashlib on CENTOS 5.4 x86_64, then got the error that UUID is missing. I used easy_install to install UUID and

Re: [web2py:38183] Re: Custom form for auth profile

2010-01-01 Thread Adnan Smajlovic
I am trying to workout the installation problem with HostGator, who unfortunately only supports Python 2.4 at the moment. I understand that I should go with 2.5 and need to take the risk to do it myself on just purchased VPS from them. Are there somewhere good instructions how to install version 2