Re: [web2py] Re: External database query for authentication (RBAC)

2012-05-10 Thread danto
so, I think they can't use auth.methods without defining auth tables first (kind of obvious?) 2012/5/10 Massimo Di Pierro massimo.dipie...@gmail.com In the scaffolding app there is a file db.py which defines for you everything you need for RBAC. If you do not want to use this built-in

[web2py] Bug in TH() helper?

2012-04-05 Thread danto
Hello everyone, When I try to show a datetime object in a table header using the TH() helper it raises an error as the following (could be something regarding dateutil.relativedelta library): type 'exceptions.TypeError' %d format: a number is required, not datetime.datetimeI can reproduce the

[web2py] Re: Bug in TH() helper?

2012-04-05 Thread danto
seems to be an alarm=False ;) I solved this moving a function that imports dateutil.relativedelta to a module and deleting the same (duplicate) import from the action that called that function, awrf... sorry for the noise

Re: [web2py] Re: Virtual Fields and usual database's Views

2011-11-08 Thread danto
2011/11/8 BrendanC bren...@gmail.com Daniel, Not sure what you are asking, but this might help you: Virtual fields are otherwise known as 'computed columns' in database terms - if that is what you are familiar with. e.g. Sum, Count, Min, Max, etc as these values are derived from underlying

[web2py] web2py.com/book raise an Error

2011-08-01 Thread danto
Internal error and ticket is issued. you know the rest

Re: [web2py] Multiple Domains, Subdomains, and Applications with SSL. Single web2py Instance on Apache

2011-07-13 Thread danto
2011/7/13 Ross Peoples ross.peop...@gmail.com it looks correct, and shouldn't make any difference as long as indentation is correct. Maybe try lowercasing the domain names. Also, do you have any other routing options besides this one? yeah, it is very weird, but suddenly after stoping, wait

Re: [web2py] Multiple Domains, Subdomains, and Applications with SSL. Single web2py Instance on Apache

2011-07-12 Thread danto
I don't know what should be wrong, but I cannot map 2 apps to different subdomains in the same domain, my routes.py is like the follow: #!/usr/bin/python #-*- coding: utf-8 -*- routers = dict( BASE = dict( domains = { 'sub1.AAA.com' : 'app1', 'sub2.AAA.com' : 'app2', }

Re: [web2py] Re: web2py added on PyPy compatibility page

2011-07-07 Thread danto
2011/7/7 cjrh caleb.hatti...@gmail.com On Jul 7, 1:27 pm, cjrh caleb.hatti...@gmail.com wrote: On further examination, it looks like leaking file descriptors is enough to mark a library as incompatible (this happened with mercurial), so I have changed web2py's to incompatible until we

Re: [web2py] Re: get attr value from TAG.element

2011-06-24 Thread danto
2011/6/23 Anthony abasta...@gmail.com Actually, even easier, you can just do mytag['_attr'] and mytag[0]. On Thursday, June 23, 2011 6:21:37 PM UTC-4, Anthony wrote: mytag=TAG.element('xyz', _attr='value') print mytag.attributes['_attr'] value print mytag.components[0] xyz Anthony

Re: [web2py] Re: I created a little app to be able to share some files over the net without authentication

2011-06-24 Thread danto
2011/6/24 szimszon szims...@gmail.com Codes are in github: https://github.com/szimszon/Temporary-storage great work, you really should put a license statement. check [this] for some info about free software licenses _that worry about 'copyleft'_: [ http://www.gnu.org/licenses/]. regards

[web2py] [CDATA] breaks TAG parsing?

2011-06-24 Thread danto
Hi, I'm parsing an XML with TAG helper, but web2py breaks when an [CDATA] appears. Can the TAG helper bypass this? kind regards

[web2py] Re: [CDATA] breaks TAG parsing?

2011-06-24 Thread danto
2011/6/24 danto web2py.n...@gmail.com Hi, I'm parsing an XML with TAG helper, but web2py breaks when an [CDATA] appears. Can the TAG helper bypass this? kind regards ahem... well, Iol, a string.replace('![CDATA[','') before using the helper fix the problem, but is there a way to do

[web2py] get attr value from TAG.element

2011-06-23 Thread danto
Hi web2pyers: the TAG helper is very useful, but, it's any way to get the 'value' of the attribute from an element? Something like: element attr='value' / in that scenario, it is possible to get 'value' using just the TAG helper? I would appreciate your suggestions. Thank you in advance

Re: [web2py] how to use this ajax upload script with web2py?

2011-06-12 Thread danto
2011/6/11 Dr Schmulge dr.schmu...@gmail.com Take a slice ) http://web2pyslices.com/main/slices/take_slice/103 omg, ty! :)

[web2py] how to use this ajax upload script with web2py?

2011-06-10 Thread danto
http://valums.com/ajax-upload/ It's supposed to be a ready-to-use asyncronous upload (could be a widget, later) with load indicator, but I don't know how to integrate with my form. In fact, I get no errors on console (as the author say after set debug: true) but still my upload fails. I can

Re: [web2py] small bug in 1.96.3

2011-06-07 Thread danto
2011/6/7 Gabriele Alberti gabriele.albe...@gmail.com Hello, it seems in latest web2py version, gluon/utils.py, line 93, logging is used with no import .. Regards, G. I think they already know about it. At this moment, solution is just do an 'import logging' in that 'except'

Re: [web2py] web2py 1.96.4 is OUT

2011-06-07 Thread danto
found this in the admin app error log: 1. 2. 3. 4. 5. 6. 7. Traceback (most recent call last): File /home/danto/web2py/gluon/restricted.py, line 184, in restricted passed to RestrictedError to identify where the error occurred. File /home/danto/web2py/applications/admin/models/access.py

Re: [web2py] web2py 1.96.4 is OUT

2011-06-07 Thread danto
2011/6/7 danto web2py.n...@gmail.com 2011/6/7 Massimo Di Pierro massimo.dipie...@gmail.com Many big fixes compared with 1.96.3. In particular: - explicitly closing all open files (should make it work in Pypy), thanks Caleb - even better security in uuid (thanks Jonathan and David

Re: [web2py] Re: still with problems at 1.96.3: is_active column not found

2011-06-06 Thread danto
2011/6/5 danto web2py.n...@gmail.com 2011/6/5 Massimo Di Pierro massimo.dipie...@gmail.com You have migrations set to False. web2py needs to create a field called is_active. Before it was called active and that created problems. but my app is not that old... :3 I developed the application

Re: [web2py] How to start web2py server permanently

2011-06-06 Thread danto
2011/6/6 Pradeesh pradeeshnara...@gmail.com I have installed web2py on a remote opensuse server 10.3 and I am using a Putty to start the web2py server. But when i am closing the Putty session in my machine, the web2py server is also closing. How do I start web2py server permanantly. you

Re: [web2py] 1.96.3 is OUT

2011-06-05 Thread danto
2011/6/4 Pepe Araya pepea...@gmail.com now it works ok! thanks!! it works for me too (also after reinstalling with webfaction's script), but now in tables where I have auth.signature it does not recognize the 'is_active' column

Re: [web2py] 1.96.3 is OUT

2011-06-05 Thread danto
2011/6/5 danto web2py.n...@gmail.com 2011/6/4 Pepe Araya pepea...@gmail.com now it works ok! thanks!! it works for me too (also after reinstalling with webfaction's script), but now in tables where I have auth.signature it does not recognize the 'is_active' column I forgot to say

[web2py] still with problems at 1.96.3: is_active column not found

2011-06-05 Thread danto
I'm still can get up my site after upgrading from 1.95.1. After solving the problem with logging (importing it as J. Lundell said in another message) i'm running with another issue: after reinstalling with webfaction's script and uploading the .w2p, tables where I have auth.signature does not

[web2py] Re: still with problems at 1.96.3: is_active column not found

2011-06-05 Thread danto
2011/6/5 danto web2py.n...@gmail.com I'm still can get up my site after upgrading from 1.95.1. After solving the problem with logging (importing it as J. Lundell said in another message) i'm running with another issue: after reinstalling with webfaction's script and uploading the .w2p, tables

[web2py] Re: still with problems at 1.96.3: is_active column not found

2011-06-05 Thread danto
bump 2011/6/5 danto web2py.n...@gmail.com 2011/6/5 danto web2py.n...@gmail.com I'm still can get up my site after upgrading from 1.95.1. After solving the problem with logging (importing it as J. Lundell said in another message) i'm running with another issue: after reinstalling

Re: [web2py] Re: still with problems at 1.96.3: is_active column not found

2011-06-05 Thread danto
2011/6/5 Massimo Di Pierro massimo.dipie...@gmail.com You have migrations set to False. web2py needs to create a field called is_active. Before it was called active and that created problems. but my app is not that old... :3 I developed the application little time ago (1.94~95) and the

Re: [web2py] Re: Subdomain Duplicates Content

2011-06-04 Thread danto
for the record: to solve the problem with google robots you can set robot.txt to allow/deny other apps.

Re: [web2py] 1.96.3 is OUT

2011-06-04 Thread danto
2011/6/4 Jonathan Lundell jlund...@pobox.com The change treats read-only urandom the same as non-existent urandom, for warning purposes. Is that the intent? Also, I wonder if it wouldn't be a good policy to unconditionally use local randomness (the seeded random) and mix in urandom

Re: [web2py] 1.96.3 is OUT

2011-06-04 Thread danto
I installed 1.96.3 on webfaction and doesn't run (zip downloaded directly from web 1 minute ago): [danto@web184 ~]$ python2.7 web2py/web2py.py Traceback (most recent call last): File web2py/web2py.py, line 16, in module import gluon.widget File /home/danto/web2py/gluon/__init__.py, line

Re: [web2py] 1.96.3 is OUT

2011-06-04 Thread danto
2011/6/4 Pepe Araya pepea...@gmail.com I have the same problem as i mentioned here: https://groups.google.com/d/topic/web2py/e2KcQDYcPD0/discussion (still in webfaction) I installed a fresh copy (no upgrade) and at least I can access again to the scalfolding app but not to admin, now showing:

Re: [web2py] 1.96.3 is OUT

2011-06-04 Thread danto
2011/6/4 Pepe Araya pepea...@gmail.com did you installed it with the webfaction's script? they (webfaction) already installed web2py for me when I first sign on with their service. probably using their script. later I was upgrading from the web interface and then restarting apache from ssh

Re: [web2py] 1.96.3 is OUT

2011-06-04 Thread danto
2011/6/4 pbreit pbreitenb...@gmail.com Do you have a parameters_###.py file in your web2py folder? the was not any parameter_.py file. still, I copied from the old folder and now I can see the login form to appadmin but my password doesn't work

[web2py] error after upgrading to 1.96.1

2011-06-02 Thread danto
[danto@localhost ~]$ python2 web2py/web2py.py -a pass -i 0.0.0.0 Traceback (most recent call last): File web2py/web2py.py, line 16, in module import gluon.widget File /home/danto/web2py/gluon/__init__.py, line 15, in module from globals import current File /home/danto/web2py/gluon

Re: [web2py] Re: how to upgrade Web2py in Webfaction?

2011-06-02 Thread danto
2011/6/2 Vasile Ermicioi elff...@gmail.com http://projects.unbit.it/uwsgi/ http://projects.unbit.it/uwsgi/http://projects.unbit.it/uwsgi/wiki/Doc I use uwsgi without any other server and works fine so far you can limit memory usage setup instructions: you need to create a custom

[web2py] Re: error after upgrading to 1.96.1

2011-06-02 Thread danto
2011/6/2 danto web2py.n...@gmail.com [danto@localhost ~]$ python2 web2py/web2py.py -a pass -i 0.0.0.0 Traceback (most recent call last): File web2py/web2py.py, line 16, in module import gluon.widget File /home/danto/web2py/gluon/__init__.py, line 15, in module from globals

[web2py] new site in web2py

2011-05-31 Thread danto
Hi, to gain experience with python, ajax and my beloved framework I developed an app accesible from http://blogosfera.cl The intention of the site is to give oportunity for anyone to publish it's site on the chilean blogosphere. Later I will put a ranking system. Despite it's still on

Re: [web2py] Re: new site in web2py

2011-05-31 Thread danto
2011/5/31 JorgeRpo jorgeh...@gmail.com very nice!! a lil suggestion: set the links to be open in a new window what a quick response! :) I'll do it, thank you for your suggestion!

Re: [web2py] Re: how to adjust timezone for request.now ?

2011-05-21 Thread danto
2011/5/21 pbreit pbreitenb...@gmail.com: This is the best answer I've seen: http://stackoverflow.com/questions/117514/how-do-i-use-timezones-with-a-datetime-object-in-python It can get complicated so make sure you need it. i thought i would be easy when I read massimo saying something about

[web2py] Re: how to adjust timezone for request.now ?

2011-05-20 Thread danto
2011/5/19 danto web2py.n...@gmail.com: I'm setting the created_on field in a database table with request.now but i need to adjust the result to my timezone with the application (it's a shared server). Can you tell me how can I achieve this? thank you in advance kind regards sorry, it's

Re: [web2py] Re: Embedding web2py

2011-05-19 Thread danto
2011/5/18 JorgeRpo jorgeh...@gmail.com: what about license issues or conflict license would not be a problem if you also distribute the code of web2py and/or other free licensed code

[web2py] FYI: css3 buttons outdated in web2py

2011-05-19 Thread danto
just for your information, the last update of this 'css framework' bundled in web2py from time ago was on march 19 and adds a few things http://css3buttons.michaelhenriksen.dk/

[web2py] how to adjust timezone for request.now ?

2011-05-19 Thread danto
I'm setting the created_on field in a database table with request.now but i need to adjust the result to my timezone with the application (it's a shared server). Can you tell me how can I achieve this? thank you in advance kind regards

Re: [web2py] Very cool new code sharing service: http://chopapp.com/

2011-05-19 Thread danto
2011/5/19 Pierre Thibault pierre.thibau...@gmail.com: 2011/5/19 pbreit pbreitenb...@gmail.com Very cool new code sharing service: http://chopapp.com/ Not cool for me. No Python. It is just like a pastebin. -- A+ - Pierre My blog and profile

Re: [web2py] Re: login fails for ajax components

2011-05-11 Thread danto
2011/5/11 pbreit pbreitenb...@gmail.com: It works fine for me. I'm not sure I understand what you are reporting. Is your site publicly viewable so we can see the problem? I can second what selecta says. pbreit, try this: controller: --- @auth.requires_login() def asdf(): return

Re: [web2py] jQuery styling plugin wich allows you to skin form elements.

2011-05-11 Thread danto
2011/5/11 Bruno Rocha rochacbr...@gmail.com: Automatic form styles http://www.dfc-e.com/metiers/multimedia/opensource/jqtransform/ plus: http://www.dfc-e.com/metiers/multimedia/opensource/jquery-fancyzoom/ -- Bruno Rocha [ About me: http://zerp.ly/rochacbruno ] this is great, altougth

Re: [web2py] jQuery styling plugin wich allows you to skin form elements.

2011-05-11 Thread danto
2011/5/11 danto web2py.n...@gmail.com: 2011/5/11 Bruno Rocha rochacbr...@gmail.com: Automatic form styles http://www.dfc-e.com/metiers/multimedia/opensource/jqtransform/ plus: http://www.dfc-e.com/metiers/multimedia/opensource/jquery-fancyzoom/ -- Bruno Rocha [ About me: http://zerp.ly

Re: [web2py] Skytoop : a web desktop like, created with Web2Py on server side

2011-05-05 Thread danto
2011/5/4 Syed Mushtaq syed1.mush...@gmail.com: Looks really beautiful :) Are you planning on open-sourcing it ? Thanks -Syed On Wed, May 4, 2011 at 11:37 AM, Jason (spot) Brower encomp...@gmail.com wrote: It would be fun to put a widget for online radio. embed

Re: [web2py] Skytoop : a web desktop like, created with Web2Py on server side

2011-05-02 Thread danto
2011/5/2 Alexandre Strzelewicz strzelewicz.alexan...@gmail.com: I have the pleasure to present you Skytoop, http://www.skytoop.com/ If someone have tips or feedback to give me it coould be nice ! omg, it's amazing! some 'about' and 'purposes' info would be very much appreciated :) needs a

[web2py] can get where is the serialization error on this (rss web2py Iservice)

2011-05-02 Thread danto
I'm creating an rss just as says in the book and *works well where is just one item but isn't with more*, so it gives me an error about bad rss serialization when trying to use the rss view, but the xml view shows the following: document created_on2011-05-02 12:59:34.924007/created_on

Re: [web2py] Re: can get where is the serialization error on this (rss web2py Iservice)

2011-05-02 Thread danto
2011/5/2 pbreit pbreitenb...@gmail.com: It looks ok at first glance. Can you send it through a validator? It should tell you exactly where the problem is. http://www.w3schools.com/XML/xml_validator.asp http://validator.w3.org/feed/ well, I can't know really because the render of a dict in a

Re: [web2py] Re: help testing

2011-05-02 Thread danto
2011/5/2 Bruno Rocha rochacbr...@gmail.com: On Mon, May 2, 2011 at 2:14 PM, pbreit pbreitenb...@gmail.com wrote: Is routing the only other solution or would an import or import-like approach be feasible? models needs to be executed not imported, I think would be kind of helper for doing

[web2py] prettydate showing 5 secs ago as 23 hours ago

2011-04-30 Thread danto
altougth I haven't do the proper research in the source code of the prettydate module, this is the problem I'm having right now with an article i'm fetching from rss in my web2py app. I post this if someone has a time to take a look, very thanks in advance in that case. regards

[web2py] Re: prettydate showing 5 secs ago as 23 hours ago

2011-04-30 Thread danto
2011/5/1 danto web2py.n...@gmail.com altougth I haven't do the proper research in the source code of the prettydate module, this is the problem I'm having right now with an article i'm fetching from rss in my web2py app. I post this if someone has a time to take a look, very thanks

Re: [web2py] Code insert-er for Pydev Eclipse users

2011-04-28 Thread danto
2011/4/28 Anthony abasta...@gmail.com On Wednesday, April 27, 2011 2:04:29 PM UTC-4, w2padawan wrote: I still don't know what issues are all talking about regarding pydev and web2py. I'm using it on archlinux and imports, autocomplete and functions are all working pretty well. just go to:

Re: [web2py] Code insert-er for Pydev Eclipse users

2011-04-27 Thread danto
I still don't know what issues are all talking about regarding pydev and web2py. I'm using it on archlinux and imports, autocomplete and functions are all working pretty well. just go to: window preferences pydev interpreter-python libraries and add a [new folder] in system pythonpath

Re: [web2py] Re: Code insert-er for Pydev Eclipse users

2011-04-27 Thread danto
2011/4/27 pierreth pierre.thibau...@gmail.com OK I see, This way, Pydev automatically had the missing imports when we are coding. Personally, I added the library project by project so the feature is working for me too. It's no need of adding the library project by project but just one time

Re: [web2py] Re: please help: owned by windows way of doing things

2011-04-27 Thread danto
for the record, I solved this using PySerial

[web2py] how to: pretty time formating?

2011-04-26 Thread danto
Hi to all, do you know how to format a date/time to show as one hour ago and such? I know i could be done with time delta, but it is any helper available in web2py to do this? thanks in advance best regards danto

Re: [web2py] how to: pretty time formating?

2011-04-26 Thread danto
oh thank you, I must be tired. M-x rtfm

Re: [web2py] Re: Fwd: web2py_1.92.1-1_i386.changes ACCEPTED into unstable

2011-04-11 Thread danto
w00t!! :D 2011/4/11 selecta gr...@delarue-berlin.de +1 yeay On Apr 10, 11:30 pm, Massimo Di Pierro massimo.dipie...@gmail.com wrote: +1 On Apr 10, 9:35 am, José Luis Redrejo Rodríguez jredr...@debian.org wrote: It's just been accepted into Debian. I'll upload latest stable

[web2py] please help: owned by windows way of doing things

2011-04-09 Thread danto
has line breaks. even, if I write a text with line breaks, doing a type asdf.txt com1 print all the text in one line. in short, how could I [format the text to] print new lines in windows to a serial printer? best regards, danto

[web2py] Q: how to calling a function with parameters (NON request.args) from a URL obj?

2011-04-06 Thread danto
Hi everybody, is there any way to call a function from a URL('controller','function') where 'function' need a parameter? I don't want to use request.args on this, so args='parameter' doesn't seem to apply for this. thank you in advance for any help. Best regards

Re: [web2py] Re: Q: how to calling a function with parameters (NON request.args) from a URL obj?

2011-04-06 Thread danto
2011/4/6 Ross Peoples ross.peop...@gmail.com But if you are trying to pass arguments to an action in a controller like this: def test(arg1, arg2): #some code here This will not work, as actions must not take any arguments in the definition. If this is really what you're going for,

Re: [web2py] Re: Q: how to calling a function with parameters (NON request.args) from a URL obj?

2011-04-06 Thread danto
following the example above, how can I call _test() from outside test() ? 2011/4/6 Massimo Di Pierro massimo.dipie...@gmail.com I think arg1 = request.args[0] or None arg2 = request.args[1] or None should be arg1 = request.args(0) arg2 = request.args(1) On Apr 6, 8:07 am,

Re: [web2py] Re: Q: how to calling a function with parameters (NON request.args) from a URL obj?

2011-04-06 Thread danto
2011/4/6 Anthony abasta...@gmail.com On Wednesday, April 6, 2011 9:47:51 AM UTC-4, Ross Peoples wrote: Any function that starts with _ or contains function parameters is not callable via URL. Note, this is explained here: http://web2py.com/book/default/chapter/04#Dispatching (in the

Re: [web2py] PluginMModal in plugin_wiki page

2011-03-30 Thread danto
2011/3/29 kawate yutaka.kaw...@gmail.com Hell: Please advise me to show PluginMModal window in plugin_wiki page. Best Regards: Web2py is better than that. You shoud try asking Heaven or Fellowship regards

[web2py] time datatype widget is broken?

2011-03-29 Thread danto
I remember that the Time datatype widget in DAL can deploy a kind of dropdown menu showing the hours, but not anymore. This is how it should be or is something wrong? I'm using 1.94.5

[web2py] question about tags in plugin_wiki

2011-03-26 Thread danto
hi, the tags widget in plugin_wiki are supposed to make posible to list pages with same tag between same tables? that seems yet not posible, at least for me, but I don't know if I missing something or not understanding well how plugin_wiki_tag works. can you give an advice for this? thanks in

Re: [web2py] Re: question about tags in plugin_wiki

2011-03-26 Thread danto
2011/3/26 Massimo Di Pierro massimo.dipie...@gmail.com yes and not. Plugin wiki simply allows to tag objects, ids but (tablename, record_id). plugin_wiki does not keep track of which pages contain which widgets. If you tag the page, instead of the objects they contain, than you get pages by

Re: [web2py] Re: LOAD() a plugin_wiki page

2011-03-22 Thread danto
2011/3/13 Massimo Di Pierro massimo.dipie...@gmail.com You can also do {{=plugin_wiki.render_page('slug')}} if you do not need the ajax trapping. for the record, the above didn't work because there is not any render_page method in plugin_wiki, but {{=plugin_wiki.embed_page('slug')}}

Re: [web2py] Re: Proposals for New Tagline

2011-03-15 Thread danto
2011/3/15 mart msenecal...@gmail.com Just throwing in my 2 cents worth, Personally, I kind of like the that it says Enterprise, but as mentioned here, depends on who's reading it. This is my first try in world if open source so the experience may speak to me differently than let's say the

Re: [web2py] Re: Japan

2011-03-13 Thread danto
+1 2011/3/13 Anthony abasta...@gmail.com Note, the Sahana Software Foundation is looking for translators to complete a localization of Sahana Eden into Japanese: http://www.sahanafoundation.org/japan Sahana Eden is an open source disaster management system written in web2py. Anthony

[web2py] LOAD() a plugin_wiki page

2011-03-13 Thread danto
Hi, it is possible to just load the content of a plugin_wiki page in a view using the LOAD() function?

Re: [web2py] Re: LOAD() a plugin_wiki page

2011-03-13 Thread danto
thanks, that was very useful 2011/3/13 Massimo Di Pierro massimo.dipie...@gmail.com You can also do {{=plugin_wiki.render_page('slug')}} if you do not need the ajax trapping. On Mar 13, 10:17 am, danto web2py.n...@gmail.com wrote: Hi, it is possible to just load the content

Re: [web2py] Re: DAL tutorial video

2011-03-08 Thread danto
I posted the video in tinyogg.com (html5) http://tinyogg.com/watch/B4JmP/ 2011/3/8 mikech mp.ch...@gmail.com Great video, thanks!

Re: [web2py] web2py powerpoint or slide presentation

2011-03-03 Thread danto
here's another: http://ompldr.org/vN241Yg ftr: despite is a very old version of web2py as you already know 2011/3/3 danto web2py.n...@gmail.com te lo envío en formato estándar. saludos. i sent you in standard format. greetings. 2011/3/3 Martín Mulone mulone.mar...@gmail.com Sometime ago I

Re: [web2py] Re: Programmatically Build Table in View

2011-03-03 Thread danto
2011/3/3 Ross Peoples ross.peop...@gmail.com (...)But if the web2py way is to format in the controller and make the views contain as little Python code as possible, then that's they way I'll write it. is not web2py's way, is MVC (Model-View-Controller) paradigm. it's all about separating

Re: [web2py] Re: web2py still unable to create application on WebFaction

2011-03-01 Thread danto
try creating a new app from ssh and probably will work. also, you can always dev on localhost and later upload the app to webfaction

Re: [web2py] Re: problem nesting menu generated from database

2011-02-14 Thread danto
Hi, I attached the whole ticket. thanks in advance for any help. the controller remains as: CONTROLLER: === def catree2(): supercategorias = db(db.t_categoria.supercategoria==None).select(db.t_categoria.id,db.t_categoria.nombre) catree = [] for supercat in

Re: [web2py] Re: problem nesting menu generated from database

2011-02-14 Thread danto
)        for cat in cats:            catree[-1].append([cat.nombre,False,'link']) also URL('#') should just be '#'. On Feb 14, 7:19 am, danto web2py.n...@gmail.com wrote: Hi, I attached the whole ticket. thanks in advance for any help. the controller remains as: CONTROLLER