Re: [web2py] Re: export-table timeout?

2013-03-15 Thread Martín Mulone
In my experience recently I had many problems with pymysql, so I switch to mysqldb using dal. El 15/03/2013 13:18, "Jonathan Lundell" escribió: > On 15 Mar 2013, at 8:15 AM, Niphlod wrote: > > you could set some filters and with the frid it should export only the > records shown, not the whole t

Re: [web2py] Merry Christmas everybody!

2012-12-25 Thread Martín Mulone
Merry Christmast! 2012/12/25 ゴー・ニコライ > Happy Festivus! > > > On Tuesday, December 25, 2012, Massimo Di Pierro wrote: > >> Merry Christmas everybody! >> >> -- >> >> >> >> > -- > > > > -- http://martinmulone.com.ar --

Re: [web2py] Happy Programmers' Day

2012-09-12 Thread Martín Mulone
+1 2012/9/12 Massimo Di Pierro > https://en.wikipedia.org/wiki/Programmers'_Day > > -- > > > > -- http://martinmulone.com.ar --

Re: [web2py] Re: static blog

2012-09-07 Thread Martín Mulone
book app and this are static generation of the content, focus on lightweight aproach. Auth.wiki is all included is a cms, auth, edit create, delete system grid, etc. I think you can render a pdf with no problem from markmin. 2012/9/7 Andrew W > Good work Martin, > I was thinking of looking at th

Re: [web2py] Re: static blog

2012-09-07 Thread Martín Mulone
gt; Brasil > > > > > 2012/9/7 Martín Mulone > >> Yes is based on the book app. I made some changes, in the index I made a >> change that read "extract.markmin" because abstract in info.txt is to short >> in lenght, but I have to r

Re: [web2py] Re: static blog

2012-09-07 Thread Martín Mulone
Yes is based on the book app. I made some changes, in the index I made a change that read "extract.markmin" because abstract in info.txt is to short in lenght, but I have to render to a file like "chapters" because is to slow to read it all the time to make an index of posts. Ok I'm going to change

[web2py] static blog

2012-09-07 Thread Martín Mulone
http://blog.martinmulone.com.ar/post/996-static-blog-in-web2py -- http://martinmulone.com.ar --

Re: [web2py] Re: web2py book on github

2012-09-03 Thread Martín Mulone
progress > > On Mon, Sep 3, 2012 at 4:27 PM, Martín Mulone wrote: > >> I know but it's not in markmin, and make changes and sync is a hell pain. >> Google translation is funny, is not serious. >> >> 2012/9/3 Massimo Di Pierro >> >>> Mind that

Re: [web2py] Re: web2py book on github

2012-09-03 Thread Martín Mulone
I know but it's not in markmin, and make changes and sync is a hell pain. Google translation is funny, is not serious. 2012/9/3 Massimo Di Pierro > Mind that I believe there is already around a spanish translation of the > 3rd edition. > > There is also this version translated by google: > >

Re: [web2py] Re: web2py book on github

2012-09-03 Thread Martín Mulone
Thanks massimo, this is a huge advance!, and the app is also very cool. I started translation to spanish based on fork (29-english), here https://github.com/mulonemartin/web2py-book. 2012/9/3 Massimo Di Pierro > Planning to add that by the end of the week. > > > On Monday, 3 September 2012 11:41

Re: [web2py] Re: web2py 2.0.2 is out

2012-08-30 Thread Martín Mulone
+1 2012/8/30 Anthony > Congratulations to all! And special thanks to Massimo for all his hard > work, diligence, and patience. > > Anthony > > > On Wednesday, August 29, 2012 11:41:34 PM UTC-4, Massimo Di Pierro wrote: >> >> After 5 months. It is done. This is the most waited and the most >> fea

Re: [web2py] Re: Twitter Bootstrap scatfolding application *updated.

2012-08-24 Thread Martín Mulone
It's just an application, it's just my way of doing thing what I'm sharing, I'm not proposing like a replacement to welcome. Perhaps I have to warn to not use it, because is different and I think most of people working on web2py have to have your owns scatfolding app or already have it. Today is b

[web2py] Twitter Bootstrap scatfolding application *updated.

2012-08-23 Thread Martín Mulone
Twitter Bootstrap scatfolding application *updated. Now is awesome :-P * Now based on version 2.1.0 (sync) * Menu based on twitter bootstrap navbar (support multilevel menu) * Plugin highlight. * Many fixes to layout now support responsive. * Very clean layout. * Started to document (getting) * S

Re: [web2py] Re: Best way to insert 200k records?

2012-08-19 Thread Martín Mulone
bulk insert is a way faster than regular insert when you have many rows. If you are under mysql you can use load data infile, this is incredible fast, but you need special privileges under mysql. 2012/8/19 Andrew > Is it possible that we add a "native bulk insert" function which is coded > up in

Re: [web2py] Major speed improvement need testers

2012-08-19 Thread Martín Mulone
nice to hear this, I'm going to test it. 2012/8/18 Massimo Di Pierro > There are two major speed improvements in trunk and I am not sure whether > they should go in web2py 2.0 next week. > > 1) Lazy table (based on ideas from Bruno). > > db = DAL(, lazy_tables=True) > db.define_table('person

Re: [web2py] Re: Congratulations to Bruno and Mariano

2012-08-19 Thread Martín Mulone
Congrats! both are great pythonistas and web2pyistas!. 2012/8/18 samuel bonilla > def index(): > good = ''Congratulations to Bruno Rocha and Mariano Reingart" > return dic(good = good) > > -- > > > > -- http://www.tecnodoc.com.ar --

Re: [web2py] Killer Web Development #7

2012-08-10 Thread Martín Mulone
+1 2012/8/10 Massimo Di Pierro > http://killer-web-development.com/section/7/0 > > Thanks Marco! Really nice. > > -- > > > > -- http://www.tecnodoc.com.ar --

Re: [web2py] Announcement: Open-source meetup.com alternative released

2012-08-02 Thread Martín Mulone
wow 2012/8/2 Samuel Marks > With meetup.com, groupspaces and even facebook groups rising in > popularity; it is only fitting that an open-source alternative be developed > at the same time. > > Currently *GiantPicnic* supports: > >- CRUD groups >- CRUD group events >- Join/leave grou

Re: [web2py] Re: bootstrap and user panel

2012-07-26 Thread Martín Mulone
It's a bug I think, but it's related to windows perhaps. have to be: from gluon.sqlhtml import SQLFORM the strange that this is working in linux: from sqlhtml import SQLFORM fixed in trunk. 2012/7/26 Nomad > > > On Monday, July 23, 2012 7:02:47 PM UTC-5, Martin.Mulone wrote: > >> I want to

Re: [web2py] Re: bootstrap and user panel

2012-07-24 Thread Martín Mulone
Edit model/00main.py and change migrate=False to use the current sqlite db. Or delete the content in dabase then add a user and make membership of the "Admin" group with appadmin. define_tables() got an unexpected keyword argument 'signature' > What am I doing wrong ? > mmh perhaps because I mad

Re: [web2py] Unit Testing Database Best Practices

2012-07-23 Thread Martín Mulone
> > I'm following http://www.web2py.com/AlterEgo/default/show/260 > that guide is too old, have execfile() :S. Search in the group on how to use modules in your app. 2012/7/22 Mark Li > I'm fairly new to test-driven development and have decided it is the best > way to go for my new webapp. Whil

Re: [web2py] Re: A Web2py CMS like Joomla ?

2012-07-20 Thread Martín Mulone
Yes I was a bit disappear cause personal problems, I know there are some bugs reported, I'm a little busy at the moment but I have in mind to make changes to instant press. As bruno said I didn't get any contribution from the project, but is open source feel free to merge /fork or whatever. 2012/7

Re: [web2py] Re: Apache wsgi virtualhost configuration for multiple web2py sites

2012-07-12 Thread Martín Mulone
perhaps this can help you http://martin.tecnodoc.com.ar/post/2012/02/08/14_setup-virtual-hosting-with-web2py-and-apache2-mod-wsgi-on-ubuntu-server-1110 2010/12/13 Vincent > I am interested in a little different setup, I would like > *.example.com to go to the web2py app/folder but be able to sp

Re: [web2py] Need a little help in code review (a function eating up all memory)

2012-05-10 Thread Martín Mulone
The problem is fetchall(), is getting all the records to memory. If you want to iterate a large dataset or not so heavy, but have a table with many fields, perhaps you can do it by blocks. For example using raw sql with dal: example: this fetch by 1000 records queryraw = "select * from mytable %(

Re: [web2py] Re: Limit SQLFORM.grid results

2012-04-23 Thread Martín Mulone
perhaps we can make some lambda to count, but make sure that is the count() thing, run some benchmark. 2012/4/23 Niphlod > unfortunately counting on postgres is a heavy operation, and it's pretty > "famous" for this http://wiki.postgresql.org/wiki/Slow_Counting. > maybe you can try limit

Re: [web2py] Re: Limit SQLFORM.grid results

2012-04-22 Thread Martín Mulone
Perhaps the slowdown comes, counting such amount of records. 2012/4/22 Massimo Di Pierro > This is the logic in sqlhtml.py SQLFORM.grid > > if paginate and paginate > limitby = (paginate*page,paginate*(page+1)) > rows = > dbset.select(left=left,orderby=orderb

Re: [web2py] Re: grid without delete botton

2012-04-02 Thread Martín Mulone
use the parameter deletable=False SQLFORM.grid(...deletable=False ... ) 2012/4/2 Manuele Pesenti > excuse me I forgot to complete the object... > > Il 02/04/2012 10:46, Manuele Pesenti ha scritto: > >> Hi, >> is there an easy way to use grid and smartgrid without the delete botton? >> I mean I

Re: [web2py] Re: web2py ported to bottle, flask, pyramid, tornado, wsgiref

2012-03-15 Thread Martín Mulone
Yes sorry I delete some old thread in my blog the last month. But yes I worked integrating web2py dal in bottle some months ago, here https://bitbucket.org/mulonemartin/bottle-web2pydal/overview now I think is obsolete, go into gluino instead. Perhaps need a lot of test, some time ago, I remember I

Re: [web2py] add classes to individual menu items

2012-03-12 Thread Martín Mulone
I think you can do: (T('my item'), True, A('My item', _href=URL('default', 'index'), _class = 'my_item_class', id = 'my_item_id'), []), 2012/3/12 monotasker > I want each of my app menu items to have a distinct class to ease theming > (I'm using background images to provide icons in place of te

Re: [web2py] using form in same page?

2012-03-12 Thread Martín Mulone
The easy way is to add another controller "edit_image" and add a link to this in each image. (controller/default.py) def edit_image(): row_id = request.args[0] form = SQLFORM(db.ref, row_id) if form.process().accepted: response.flash = "Image uploaded" else:

Re: [web2py] using form in same page?

2012-03-12 Thread Martín Mulone
To edit an image you need to pass the id of the row to SQLFORM. Ex.: row_id = 1 form = SQLFORM(db.ref, row_id) 2012/3/11 juvi1 > thanks, but now form create always new image in database, and i want > update image. > how it can be done?? > > sunnuntaina 11. maaliskuuta 2012 13.37.36 UTC+2 Martin

Re: [web2py] custom css

2012-03-11 Thread Martín Mulone
What is not working?, you change views/layout.html? 2012/3/11 frasse > Hi > > I like to use my custom css and add it to my application base.css mess > my application. I have remove base.css and move classes .flash > and .error to my custom css file. when I do that it is not working in > FireFox

Re: [web2py] using form in same page?

2012-03-11 Thread Martín Mulone
I don't know why you have two {{pass}} in your view. I think you can do: def jobs(): images=db().select(db.ref.id,db.ref.file) form = SQLFORM(db.ref) if form.process().accepted: response.flash = "Image uploaded" return dict(form=form, images=images) in views: {{for img in

Re: [web2py] response.menu with bootstrap dropdown menu

2012-03-08 Thread Martín Mulone
The menu helper (web2py) is not compatible with twitter bootstrap menu. 2012/3/7 Paolo > Hi all, > I have a simple problem that I haven't solved yet. Using the twitter > bootstrap theme I am not able to create a dropdown menu playing with the > MENU helper. According to [1], an anchor to create

Re: [web2py] The Winners! Web2py Application Exhibition Version 3.0

2012-03-07 Thread Martín Mulone
Congrats to the winners! 2012/3/7 NetAdmin > > 1st Place Prize $100 > > Brian Cottingham from the U.S. was the First Place Winner. > His entry of MobleBlur is a mobile-friendly interface > to the Newsblur RSS reading website. > > A working demo can be viewed at http://mobileblur.spiffyte.ch

Re: [web2py] Scheduler json string for vars parm

2012-02-11 Thread Martín Mulone
-Jim > > > On 2/6/2012 4:18 PM, Martín Mulone wrote: > > Yes I think the json format is strict to " instead of ' > > change with this and try again: > > > vars='{"fromDate":"2012-01-01","toDate":"2012-01-31",&qu

[web2py] Setup virtual hosting with Web2py and apache2 mod wsgi on Ubuntu server 11.10

2012-02-08 Thread Martín Mulone
New blog entry http://bit.ly/xqB508 Setup virtual hosting with Web2py and apache2 mod wsgi on Ubuntu server 11.10

Re: [web2py] web2py long term projects: experiences ?

2012-02-07 Thread Martín Mulone
I can tell my experience, I'm working for 2 years with web2py or more I think. I work in different projects, one I currently developing I think is quite big, work with millons of records, and is very complex and has many lines of code and many tables, is an internal application for a national compa

Re: [web2py] web2py performance

2012-02-07 Thread Martín Mulone
You can use bulkinsert to insert huge amount of records, yes is fast. Also if you are doing long time task, you can use "scheduler", to schedule your task, if you need to inform to the client browser you can use tornado , there are an example using with web2py out there, or reload the page after 5

Re: [web2py] Scheduler json string for vars parm

2012-02-06 Thread Martín Mulone
Yes I think the json format is strict to " instead of ' change with this and try again: vars='{"fromDate":"2012-01-01","toDate":"2012-01-31","districtNumber":0}', 2012/2/6 Jim Steil > Hi > > I'm having trouble getting my vars json string right on my call to add a > job to my scheduler. If I r

[web2py] Book v4.0 translate to spanish

2012-02-03 Thread Martín Mulone
I want to start the translation to spanish of the book, 4th edition. What's are the way to be syncronize with english version?. Any help?.

Re: [web2py] Webfaction account with multiple apps under 1 web2py install

2012-02-02 Thread Martín Mulone
Read: http://web2py.com/books/default/chapter/29/4#URL-rewrite Take a look to the router.py in web2py root folder, to use it you have to rename it to routes.py 1. 2. 3. 4. 5. 6. 7. 8. routers = dict( BASE = dict( domains = { 'domain1.com' : 'app1', 'domain2.com' : 'a

Re: [web2py] bootstrap 2

2012-02-01 Thread Martín Mulone
tell me if you need help 2012/2/1 Bruno Rocha > I am working to port web2py grid layout to use it. > > and a I have a new feature to grid (sub grids/details forms) experimental > > I hope to contribute with it very soon > > > On Wed, Feb 1, 2012 at 4:18 PM, Martín Mulo

Re: [web2py] bootstrap 2

2012-02-01 Thread Martín Mulone
jquery ui bootstrap is very nice! 2012/2/1 Bruno Rocha > Bootstrap 2 released, full responsible layout! > > I am working on porting scaffold app to bootstrap with jquery ui support! > > http://twitter.github.com/bootstrap/download.html > > http://addyosmani.github.com/jquery-ui-bootstrap/ > > >

Re: [web2py] Re: Mixing/supporting CMS with Web2py

2012-01-26 Thread Martín Mulone
I switched the editor of instant press to cleditor. A lightweight and simple WYSIWYG editor. http://premiumsoftware.net/cleditor/ 2012/1/25 Bruno Rocha > For those who are looking for inspiration on how to develop a good > traditional-cms with web2py, take a look in to http://www.fork-cms.com/be

Re: [web2py] Change the case in auth.navbar?

2012-01-26 Thread Martín Mulone
Remember you can do it with css: .auth_navbar a { text-transform:capitalize; } Now I prefer to do my own bar because I think is too long now. I'm using something like this: Unlogged user: Log in | Register. Logged User: Profile | Logout The other things I move it into user.html. So

Re: [web2py] Re: Movuca - The Social CMS - Need Testers and Contributors

2012-01-05 Thread Martín Mulone
nice bruno, what does it mean movuca? 2012/1/5 Bruno Rocha > On Thu, Jan 5, 2012 at 9:27 AM, Massimo Di Pierro < > massimo.dipie...@gmail.com> wrote: > >> Looks really slick > > > > This is the "basic" theme, I am working on two more themes. One based in > Foundation and another in twitter boots

Re: [web2py] Happy new year

2012-01-02 Thread Martín Mulone
late but happy new year! 2012/1/1 Massimo Di Pierro > Happy new year everybody! -- http://martin.tecnodoc.com.ar

Re: [web2py] Re: Strikethrough with MARKMIN

2011-12-28 Thread Martín Mulone
I forget how to use it in content :P `my text`:strike 2011/12/28 Martín Mulone > I think is not there, perhaps you can propose or pass extra argument. > > Warning: I didn't test it. > > extra = {'strike':lambda text: SPAN(text, > style='color:red;text-deco

Re: [web2py] Re: Strikethrough with MARKMIN

2011-12-28 Thread Martín Mulone
I think is not there, perhaps you can propose or pass extra argument. Warning: I didn't test it. extra = {'strike':lambda text: SPAN(text, style='color:red;text-decoration:line-through').xml()} MARKMIN(text, extra) 2011/12/28 lyn2py > Appreciate answers / urls instead. > I found the strikethr

Re: [web2py] Re: Instant press 2.1.0 holiday edition (?)

2011-12-26 Thread Martín Mulone
ccode in environment > File "/home/web2py/applications/ipress/models/00main.py", line 18, > in >from appsettings import app_settings > ImportError: No module named appsettings > > Regards > > On 26 dic, 22:43, Martín Mulone wrote: > > Any hint or traceback?. &g

Re: [web2py] Re: Instant press 2.1.0 holiday edition (?)

2011-12-26 Thread Martín Mulone
t.br > > 83 8826 9088 - Oi > >83 9334 0266 - Claro > > Brasil > > > > Apóio > > > > 2011/12/26 Martín Mulone > > > > > ckeditor, tinyMCE, etc all WYSIWYG web editor ar

Re: [web2py] Instant press 2.1.0 holiday edition (?)

2011-12-26 Thread Martín Mulone
> Brasil > > Apóio > > > > 2011/12/26 Martín Mulone > >> ckeditor, tinyMCE, etc all WYSIWYG web editor are xhtml output. None of >> the them support markup languages. >> >> 2011/12/26 Ovidio Marinho >

Re: [web2py] Instant press 2.1.0 holiday edition (?)

2011-12-26 Thread Martín Mulone
t; Apóio > > > > 2011/12/26 Martín Mulone > >> The "Admin" password is only showed the first time, when the user is >> created (because is random generated). Delete all the content inside >> "databases" folder. And point a

Re: [web2py] Re: Instant press 2.1.0 holiday edition (?)

2011-12-26 Thread Martín Mulone
No, why?. 2011/12/26 Joseph Jude > Looks nice Martin. Isn't routes.py needed to run this? > > Joseph > -- http://martin.tecnodoc.com.ar

Re: [web2py] Instant press 2.1.0 holiday edition (?)

2011-12-26 Thread Martín Mulone
fixed. Sorry, try again. 2011/12/26 Marin Pranjić > > > On Mon, Dec 26, 2011 at 3:21 PM, Martín Mulone wrote: > >> Instant press is not dead, I update it to vesion 2.1.0 holiday edition >> (?). >> >> *What's new?.* >> Hierarchy pages to menu, now

[web2py] Instant press 2.1.0 holiday edition (?)

2011-12-26 Thread Martín Mulone
Instant press is not dead, I update it to vesion 2.1.0 holiday edition (?). *What's new?.* Hierarchy pages to menu, now working. Now layout is based in getskeleton. New design. New panel. Fix bugs. Added edit link to page, and articles. Compatibility with new version of web2py. *Info and screensh

Re: [web2py] Re: Merry christmas

2011-12-26 Thread Martín Mulone
Merry Christmas 2011/12/25 Stefaan Himpe > Vrolijk kerstfeest en gelukkig nieuwjaar! > > -- http://martin.tecnodoc.com.ar

Re: [web2py] Web Development Introduction Based On Web2py

2011-12-21 Thread Martín Mulone
good job marco. 2011/12/21 Khalil KHAMLICHI > Looks nice to the eyes, looks interesting to the mind. > Keep going. > -- http://martin.tecnodoc.com.ar

Re: [web2py] Re: SQLForm.grid - How do I use it properly?

2011-12-21 Thread Martín Mulone
I'm not sure what you want but you can pass args to grid. Like: row_id = request.args[0] query = (db.mytable.id == row_id) table = SQLFORM.grid(query, ... args=request.args, ... ) 2011/12/21 Rahul >

Re: [web2py] Re: height of selects is narrower than inputs in the new layout

2011-12-19 Thread Martín Mulone
I have a different style but is something like this: After this https://github.com/dhgamache/Skeleton/blob/master/stylesheets/base.css#L327 add: form select, form input[type="file"] { height: 30px; } Also think, you have to make a fix for multiple select: select[multiple="multiple"] { heig

Re: [web2py] Is this a in custom imports?

2011-12-05 Thread Martín Mulone
Interesting I have this working without passing the self parameter, anyways this is an old code I update this code a lot. And yes is not need to use a defined auth you can remove it. 2011/12/5 Anthony > Why do you do: > > self.auth_def = lambda: self.define_auth > > Anyway, that won't work as ex

Re: [web2py] Is this a in custom imports?

2011-12-05 Thread Martín Mulone
Interesting, there is some trouble but I coudn't see it. 2011/12/4 Constantine Vasil > I managed to transfer a very big app initially developed for > Django+GAE+JQuery Mobile to web2py. Managed to set > up my Eclipse environment to work with web2py and now > I can debug my web2py + GAE hybrid ap

Re: [web2py] Re: date and sum

2011-12-05 Thread Martín Mulone
Use http://tohtml.com/ to highlight the code you want to show 2011/12/4 Rick > I tried to apply the solution to my code, but it still doesn't work. > Here is the code: > >prerecords = db().select(db.day.ALL, orderby=db.day.thedate)for > prerecord in prerecords:if > pr

Re: [web2py] Re: Registration Using Auth

2011-12-03 Thread Martín Mulone
yes but be aware with this code anyone can register as an admin. 2011/12/2 Massimo Di Pierro > def register_in_group(): >group_id = request.args(0) >auth.settings.register_onaccept=lambda form: > auth.add_membership(group_id,form.vars.id) >form = auth.register() >return dict(form

Re: [web2py] Re: web2py logo and layout has changed one year ago...

2011-12-01 Thread Martín Mulone
Another logo contest is comming?... :) 2011/12/1 Massimo Di Pierro > I do not like names that have google search conflicts. Others like > that because their search results go up. > We had a different name and I was threatened to be sued. I spend $500 > to trademark web2py. > > Can anybody find a

Re: [web2py] Say hello to i-Track

2011-12-01 Thread Martín Mulone
Very nice julio. Is the trac in web2py. 2011/12/1 Julio Schwarzbeck > Folks, > > I've just released i-Trac > > i-Track is a simple issue/bug tracking system developed in web2py, it > is Open Source Software released under the Simplified BSD License, the > site is "live" at: > > http://www.i-trac

Re: [web2py] Relative path in css for @font-face embedding

2011-11-30 Thread Martín Mulone
I'm not sure, what do you want to do?, or why do you need to include app path?. But you can also make it this in the view to make use of URL() in the view or layout include the tag style simil to this: ... @font-face { src: url('{{=URL('static','myfont.eot')}}'); } 2011/11/30 monotasker > I'l

Re: [web2py] Relative path in css for @font-face embedding

2011-11-30 Thread Martín Mulone
relative url in css have to work, have nothing to do with web2py. My files are: static/css/myfont.eot static/css/layout.css My def: src: url('myfont.eot'); My files are: static/css/fonts/myfont.eot static/css/layout.css My def: src: url('fonts/myfont.eot'); 2011/11/30 monotasker > I'm tryi

Re: [web2py] Error in custom_import and Pyforum

2011-11-28 Thread Martín Mulone
I think you need json module installed on your system. You are under windows, linux, ?. In ubuntu linux you can install it from console doing: apt-get install python-simplejson 2011/11/27 mikech > Hi: I downloaded Pyforums in order to study some code in what looks like > a very well done applic

Re: [web2py] Error using LOAD in custom module

2011-11-25 Thread Martín Mulone
try something like this from gluon.compileapp import LoadFactory def renderimages(self, page=1, postid=0): """ Render Images """ curvars = {} curvars['page']=page curvars['postid']=postid environment = {} environment['request'] = current.request

Re: [web2py] problem with scheduler

2011-11-21 Thread Martín Mulone
I think repeats=0 is not working, try with another value like 999, 99 2011/11/21 Manuele > ** > Hi, > I'm using web2py version 1.99.2 with the new scheduler. I have a scheduled > function that is run once a day at the same time with this parameters: > > Start Time: 2011-11-10 01:30:00 >

Re: [web2py] Re: sqlform.grid

2011-11-09 Thread Martín Mulone
You can't pass vars, you have to use args instead. I think we need to find a solution to this. 2011/11/8 JmiXIII > Sorry I open a new discussion > -- http://martin.tecnodoc.com.ar

Re: [web2py] NInja IDE 2.0b and Plugin contest

2011-10-26 Thread Martín Mulone
I'm using too and is great. 2011/10/26 Bruno Rocha > NInja IDE released 2.0b and it is awesome! (http://www.ninja-ide.org/) > > They are running a plugin contest http://www.ninja-ide.org/plugins/ > > Any taker to create a web2py plugin? > > What features do people think a web2py plugin for Ninja

Re: [web2py] Re: Specifying Fields in Grid

2011-10-21 Thread Martín Mulone
which version of web2py?. was a bug .. update to last from trunk or pass like string: columns = ['products.description'] 2011/10/21 horridohobbyist > I tried columns, but it just seems to be ignored. > > Richard > > On Oct 21, 1:48 pm, Martín Mulone wrote: > &g

Re: [web2py] Re: Specifying Fields in Grid

2011-10-21 Thread Martín Mulone
yes, but you can use columns instead of fields. 2011/10/21 horridohobbyist > No, but I don't want to display the id. Is this mandatory? > > Richard > > On Oct 21, 1:35 pm, Nate Atkinson wrote: > > Have you tried including db.products.id in the fields? > > > > On Oct 21, 1:30 pm, horridohobbyist

Re: [web2py] Re: SOLVED join and sum - display in view

2011-10-21 Thread Martín Mulone
I think is row['sum'] 2011/10/21 andrej burja > with > row[sum] > it doesn't work > ('') > > "Actually, the above will only work if the controller returns 'sum' in the > dictionary -- otherwise it will be undefined in the view." > what shoul i change in the controller? > -- http://martin.te

Re: [web2py] Re: join and sum - display in view

2011-10-20 Thread Martín Mulone
FROM THE BOOK Previously, you have used the count operator to count records. Similarly, you can use the sum operator to add (sum) the values of a specific field from a group of records. As in the case of count, the result of a sum is retrieved via the store object: 1. 2. 3. >>> sum = db.log.seve

Re: [web2py] grid usage

2011-10-19 Thread Martín Mulone
at the moment you can't pass vars to grid, instead use args. 2011/10/19 Manuele > On 19/10/2011 13:49, brushek wrote: > >> Hello, >> >> I want to use SQLFORM.grid in one controller like this: >> >> def klienci(): >> if request.vars.a == 'adresacje': >> grid=SQLFORM.grid(db.**adresacj

Re: [web2py] _href and user signature

2011-10-19 Thread Martín Mulone
Why do you need to pass a signature?. If it's in another controller put the authorization decorator and link as normal. If its in the same controller you only can pass args. 2011/10/19 Nik Go > In a smartgrid, I'm trying to generate a clickable link to view another > records. How do I pass the s

Re: [web2py] Re: table, grid, smartgrid, getting better

2011-10-19 Thread Martín Mulone
I think buttons are under T(), fill a ticket perhaps some are missing 2011/10/18 Tito Garrido > Is there a way to translate the buttons and etc? Is there any documentation > about smartgrid? This thread is so big... it complicated to follow it... > > Regards, > > Tito > > > On Mon, Oct 3, 2011 a

Re: [web2py] Re: grid custom button icons

2011-10-19 Thread Martín Mulone
ui = dict(widget='ui-widget', header='ui-widget-header', content='ui-widget-content', default='ui-state-default', cornerall='ui-corner-all', cornertop='ui-corner-top',

Re: [web2py] new scheduler options quest

2011-10-18 Thread Martín Mulone
take a look to this app: https://bitbucket.org/mulonemartin/scheduler/src 2011/10/18 Manuele > I would try to use the new scheduler so I've seen the video how to by mdp, > now I want to apply the scheduler on my needs but the options are not so > clear, I expected they more reflect the crontab s

Re: [web2py] Some say local_import is deprecated. Is it?

2011-10-14 Thread Martín Mulone
http://www.slideshare.net/martinpm/web2py-pensando-en-grande-9448110 slides from 13 to 20. 2011/10/14 Bruno Rocha > the custom_importer is implemented in a transpatent way. > > you only have to use normal imports. > > from module import object > > this has adittional feature to track changes in

Re: [web2py] Re: Tag handling suggestions

2011-10-11 Thread Martín Mulone
In my opinion I'll discard option number 1 if you are not running on GAE. Because is not a true SQL, is quite awfull indeed, bring it by nosql gae. But it's all depends on the amount of records. 2011/10/10 Bruno Rocha > I like this, and it is really smarter than list:string option, but, imagine

Re: [web2py] mailing list and web2py apps

2011-10-07 Thread Martín Mulone
I'm considering number eleven :P 2011/9/23 Bruno Rocha > I Guess there is no list policy, but I recommend this order. > > 0. Perform a search on group trying to find people running same issue > 1. Try to contact the Author of the app directly > 2. Try to find some contact, forum, blog, discussio

Re: [web2py] Re: smartgrid: can we add field type class on th, td in web2py_table ?

2011-09-28 Thread Martín Mulone
I'm not sure if this work cause I didn't test it, but did you tried with represent?. something like this: db.mytable.price.represent = lambda price, row: XML(DIV(price,_style='text-align: right;')) 2011/9/28 Willoughby > The first thing my boss said when I demonstrated the new SMARTGRID was

Re: [web2py] Re: Changing header picture

2011-09-27 Thread Martín Mulone
perhaps also: {{if request.function in ['page','post']:}} {{pass}} 2011/9/27 annet > Hi Kenneth, > > I had a similar problem to solve, and finally chose to create a table > imagefile based on: > > > http://www.web2py.com/book/default/chapter/07?search=upload#SQLFORM-and-Uploads > > and

Re: [web2py] Re: web2py with twitter bootstrap - very clean interface ...

2011-09-27 Thread Martín Mulone
it looks amazing. talk is cheap show me the code :P 2011/9/26 Bruno Rocha > We are planning to include it in the next web2py version. > > I will share the actual w2p after a clean up. > > http://zerp.ly/rochacbruno > Em 26/09/2011 17:36, "Matt Gorecki" escreveu: > > > This is excellent. W

Re: [web2py] Re: web2py slides from pycon argentina (spanish)

2011-09-26 Thread Martín Mulone
Try to use the example from this slide, I work every day with modules using the slide method, The post is too old, and I have re read. 2011/9/24 pbreit > Martin, > > I'm curious about structuring a new app using the new importing and > modules. I read your blog post: > > http://martin.tecnodoc.c

Re: [web2py] instant press: pingback support?

2011-09-22 Thread Martín Mulone
At the moment, no. 2011/9/22 Gour-Gadadhara Dasa > Hello! > > Does Instant Press have support for pingback? > > > Sincerely, > Gour > > -- > > “In the material world, conceptions of good and bad are > all mental speculations…” (Sri Caitanya Mahaprabhu) > > http://atmarama.net | Hlapicina (Croati

Re: [web2py] Re: Applications sharing auth tables - problem

2011-09-21 Thread Martín Mulone
Please if it's a bug: Open a ticket. 2011/9/21 Anthony > Yes, the loop seems to happen when you have a custom auth_user table (even > if it's exactly the same as the standard auth_user table definition). > > Anthony > > On Wednesday, September 21, 2011 7:20:54 PM UTC-4, rochacbruno wrote: > >> O

Re: [web2py] Re: Smartgrid/grid anomaly

2011-09-21 Thread Martín Mulone
this is wrong is not the same as field notation: columns = [db.akb_doccenter.title, db.akb_doccenter.author, db.akb_doccenter.publication_date, db.akb_doccenter.doc_nr, db.akb_doccenter.location, db.akb_doccenter.id] must be: columns = ['akb_doccenter.title', 'akb_doccenter.author

Re: [web2py] I did not know one could do this with css

2011-09-20 Thread Martín Mulone
Massimo to add fonts support we have to think how to resolve the problem to add css to files that not have the .css extension. 2011/9/19 Massimo Di Pierro > http://use.fontorie.com/ > > How about an app? -- http://martin.tecnodoc.com.ar

Re: [web2py] what about web2py 2.0?

2011-09-20 Thread Martín Mulone
Yes 2.0 we have to make it big. 2011/9/20 Sebastian E. Ovide > +1 for breaking compatibility (in a major version) a remove obsolete > features,,, > > > On Tue, Sep 20, 2011 at 9:26 AM, Mengu wrote: > >> anything special coming up? >> >> will it broke backward compatibility? nobody needs backwar

Re: [web2py] Instant Press 2.0

2011-09-14 Thread Martín Mulone
> > I notice that the old editor had image upload feature, this will not be > included in this version? take a look to: http://www.youtube.com/watch?v=vGkR246URRk&feature=player_detailpage#t=200s Yes only in content (post/ page) 2011/9/14 Bruno Rocha > I notice that the old editor had image

Re: [web2py] SQLFORM grid and smartgrid

2011-09-14 Thread Martín Mulone
> > 2. Can I override the default links for Add and Edit? links = [lambda row: A('Edit',_href=URL("default","edit",args=[row.id])), lambda row: A('Delete',_href=URL("default","delete",args=[row.id]))] table = SQLFORM.grid(query, links=links, deletable=F

Re: [web2py] Re: If you have not followed recent changes .....

2011-09-14 Thread Martín Mulone
> > Boolean values are also given in numbers instead of checkboxes, or simply > 'Yes' / 'No': please open a ticket. 2011/9/14 Ross Peoples > I have tried this using a new app, no jQuery UI or anything yet, just stock > welcome app. I have a couple of issues. First in the list, it only shows th

Re: [web2py] Re: SQLFORM.grid representation

2011-09-14 Thread Martín Mulone
Perhaps you want to use columns instead of fields. replace your controller with this: def index(): columns = ['dog.name', 'dog.owner'] table = SQLFORM.grid(db.dog, columns=columns) return dict(table=table) columns affect the grid column displaying only. Pass to column the field you

Re: [web2py] Re: Instant Press 2.0

2011-09-14 Thread Martín Mulone
> > Isn't the one of them obsolete/redundant? Yes I know, perhaps... but, what I want is to have in content, an space to edit the text, without extra fields noising the enviroment. 2011/9/14 Gour-Gadadhara Dasa > On Wed, 14 Sep 2011 07:33:35 -0300 > Martín Mulone > wrot

  1   2   3   4   >