[web2py:26549] Re: appadmin like interface with CRUD?

2009-07-14 Thread Richard
hi Massimo, I'm using form=crud() and I can view all the data and update or delete a particular ID. But it doesn't seem to link all the parts together like appadmin. So I have a few of these around the place: {{ for book in books: }} {{= book.title }} Edit Delete

[web2py:26548] Re: IS_NOT_IN_DB() and no automatic drop box

2009-07-14 Thread mdipierro
very odd, can you try:: db.companyactivity.activity.requires=[IS_IN_DB(db,db.activity.id,'% (activity_name)s'),IS_NOT_IN_DB(db (db.companyactivity.company==request.vars.company),db.companyactivity.activity)] db.companyactivity.activity.widget=OptionsWidget.widget Massimo On Jul 10, 1:57 am, ann

[web2py:26547] Re: innerHTML about Calendar

2009-07-14 Thread zhang zheng
sorry, the "layout .. " is only the surface. The real reason is: in the body's style, position's value must be static I do not know deeper reasons for this , 2009/7/15 mdipierro > > interesting. thanks for letting us know. > > On Jul 14, 11:04 pm, zhang zheng wrote: > > I found the is

[web2py:26546] Re: SyntaxError: encoding problem: utf-8

2009-07-14 Thread mdipierro
Can you send me the file? Which os? On Jul 15, 12:10 am, ionel wrote: > Hello, > > I have the following error: > > Error traceback > > Traceback (most recent call last): >   File "C:\project\web2py\gluon\restricted.py", line 174, in > restricted >     ccode = compile(code.replace('\r\n', '\n'),

[web2py:26545] SyntaxError: encoding problem: utf-8

2009-07-14 Thread ionel
Hello, I have the following error: Error traceback Traceback (most recent call last): File "C:\project\web2py\gluon\restricted.py", line 174, in restricted ccode = compile(code.replace('\r\n', '\n'), layer, 'exec') File "C:/project/web2py/applications/phoenix/models/menu.py", line 0 Syn

[web2py:26544] Re: Good IDE in OS X to learn Python

2009-07-14 Thread Yarko Tymciurak
_clearly_ your mileage may vary! There are a lot of choices out there, and only time with each of them will convince you what you like best. At least you now have a fair platter before you (and some things are just better at some tasks than others). On Tue, Jul 14, 2009 at 11:42 PM, Francisco Ga

[web2py:26543] Re: Version 1.65.3 (2009-07-12 17:32:25) for Windows: download corrupt?

2009-07-14 Thread Yarko Tymciurak
On Tue, Jul 14, 2009 at 11:44 PM, Yarko Tymciurak wrote: > > On Tue, Jul 14, 2009 at 11:33 PM, Arch wrote: > >> I was using Google Chrome when I was having the problem. >> >> I took your advice and used Firefox and got the download first time. >> >> Thank you, and everyone who replied... much ap

[web2py:26542] Re: Version 1.65.3 (2009-07-12 17:32:25) for Windows: download corrupt?

2009-07-14 Thread Yarko Tymciurak
On Tue, Jul 14, 2009 at 11:33 PM, Arch wrote: > I was using Google Chrome when I was having the problem. > > I took your advice and used Firefox and got the download first time. > > Thank you, and everyone who replied... much appreciated :) No problem - Note: there is nothing wrong w/ Chrome

[web2py:26541] Re: Good IDE in OS X to learn Python

2009-07-14 Thread Francisco Gama
I would recommend you Eclipse with the Pydev extension because it gives the most interesting features you want from an IDE including syntax highlighting, auto-completion, Pylint, class browsing, integrated debugging, testing and documentation integration, it's free and works almost "out-of-the-box

[web2py:26540] Re: innerHTML about Calendar

2009-07-14 Thread mdipierro
interesting. thanks for letting us know. On Jul 14, 11:04 pm, zhang zheng wrote: > I found the issue, > > in my view: > > > the key word "layout" maybe do not allow in jquery, > if I change the id to "something", it work very well > > 2009/7/15 mdipierro > > > > > > > I do not

[web2py:26539] Re: appadmin like interface with CRUD?

2009-07-14 Thread mdipierro
Have you tried exposing the action def data(): return dict(form=crud()) It is not quite a full appadmin because we have a crud.select but not yet a crud.search. I could use some help in porting the T2 search on crud. Should be very easy to do. Massimo On Jul 14, 8:18 pm, Richard wrote: >

[web2py:26538] Re: Web2Py Foundation?

2009-07-14 Thread mdipierro
I would be interested in hearing people's comment about this too. This may be a good idea to raise the profile of web2py even more than for collecting tax free donations. Massimo On Jul 14, 6:56 pm, lpg wrote: > I think most of us in the community are interested in seeing web2py > maintained/de

[web2py:26537] Re: Where's the roadmap?

2009-07-14 Thread mdipierro
Good points. web2py started with these goals - be a teaching too (easy to use, easy to read, force users to follow good practice) - be secure (you cannot trust students too much ;-) - be fast web2py grow beyond my expectations because many people expressed an interest, they contributed, and adde

[web2py:26534] Re: Where's the roadmap?

2009-07-14 Thread rb
Err.. I'm new to web2py. What is it's history? Where did it begin? What was the vision/impetus? On Jul 14, 4:51 pm, lpg wrote: > I’m interested in using web2py for some business/enterprise > applications, but other collaborators of mine have reservations about > web2py because it is a new framew

[web2py:26536] Re: innerHTML about Calendar

2009-07-14 Thread zhang zheng
I found the issue, in my view: the key word "layout" maybe do not allow in jquery, if I change the id to "something", it work very well 2009/7/15 mdipierro > > I do not understand the context of the question. You should not call > web2py_ajax_init() it is called automatically

[web2py:26535] Re: Importing an already existing MySQL database

2009-07-14 Thread mdipierro
very useful scripts. Can you email it to me (the indentation got messed up). I will include in the scrpts folder. 1) You can uses database views as a way around it but the new DAL will allow this. 2) Perhaps the new DAL will allow this too but not sure yet. Massimo On Jul 14, 6:09 pm, Boriel w

[web2py:26533] Re: Call Help in branding 2Py and get larger mind-share for Web2Py

2009-07-14 Thread gluegl
Great comments. The suggestion was to faciliate Web2PY branding and to automagically link anything YadaYada2Py with Web2PY Of course there are no rules and that is how it should be Thanks for commenting. G On Jul 14, 9:41 pm, Yarko Tymciurak wrote: > On Tue, Jul 14, 2009 at 7:08 PM, JohnMc

[web2py:26532] Re: Stumped Beyond Belief

2009-07-14 Thread Yarko Tymciurak
On Tue, Jul 14, 2009 at 7:38 PM, JohnMc wrote: > > Yarko, > > Let me step through your queries then I will go twiddle with your > suggestion. > > a) The file pathing ss best I know is 'right out of the box'. Web2Py > root is loaded at /home/rootuser/Helix. The assets.py controller is > at ../appl

[web2py:26531] Re: Call Help in branding 2Py and get larger mind-share for Web2Py

2009-07-14 Thread Yarko Tymciurak
On Tue, Jul 14, 2009 at 7:08 PM, JohnMc wrote: > > It is kind of traditional in the Python community to name an > application py. I don't see anything wrong with the > suggestion. But then I don't see anything wrong naming an application right it's just foobar2py is more suggestive (to

[web2py:26530] appadmin like interface with CRUD?

2009-07-14 Thread Richard
hello, Is it possible to make an appadmin like interface with just CRUD? What I mean is being able to view all the records of a table, then click on a record to go to another page where it can be updated or deleted. Currently I provide my own interface to the CRUD update and delete paths but thi

[web2py:26529] Re: Interesting new project PyDojo

2009-07-14 Thread JohnMc
Its a Python interface layer to the DoJo javascript toolkit. Similar to jQuery UI. On Jul 14, 12:58 pm, Yarko Tymciurak wrote: > On Tue, Jul 14, 2009 at 5:53 AM, gluegl wrote: > > >https://launchpad.net/pydojo > > PyDojo is a simple tool for coding dojos with python > > I was confused by this s

[web2py:26528] Re: Stumped Beyond Belief

2009-07-14 Thread JohnMc
Yarko, Let me step through your queries then I will go twiddle with your suggestion. a) The file pathing ss best I know is 'right out of the box'. Web2Py root is loaded at /home/rootuser/Helix. The assets.py controller is at ../applications/Helix/controllers. b) Yes, following SOP for the connec

[web2py:26527] Re: Call Help in branding 2Py and get larger mind-share for Web2Py

2009-07-14 Thread JohnMc
It is kind of traditional in the Python community to name an application py. I don't see anything wrong with the suggestion. But then I don't see anything wrong naming an application -- * Kittyhawk -- aviation application * Pompeii - volcanologist program * BroadSt - Finance program * Florence

[web2py:26526] Web2Py Foundation?

2009-07-14 Thread lpg
I think most of us in the community are interested in seeing web2py maintained/developed/protected over the long term. The community is getting to a size where we need to discuss what can be done to disseminate and improve web2py, and take some of the burden off of Massimo (although he does a grea

[web2py:26525] Where's the roadmap?

2009-07-14 Thread lpg
I’m interested in using web2py for some business/enterprise applications, but other collaborators of mine have reservations about web2py because it is a new framework, and that there is no explicit long-term roadmap. Some of you may have a similar experience. I think the community would benefit

[web2py:26524] Re: Version 1.65.3 (2009-07-12 17:32:25) for Windows: download corrupt?

2009-07-14 Thread Yarko Tymciurak
yes - wget will work fine too If you're on windows (or mac) this is yet another reason to have virtualbox and some other o/s, say Ubuntu... gives a quick way to shift... On Tue, Jul 14, 2009 at 6:52 PM, JohnMc wrote: > > Using FireFox3/Linux I was able to download the file and open it with

[web2py:26523] Re: Stumped Beyond Belief

2009-07-14 Thread Yarko Tymciurak
On Tue, Jul 14, 2009 at 6:27 PM, JohnMc wrote: > > Alright, been staring at this problem off an on all day. I receive the > following traceback on a ticket. > > Traceback (most recent call last): > File "/home/rootuser/New/gluon/restricted.py", line 107, in > restricted > File "/home/rootuser/H

[web2py:26522] Re: Version 1.65.3 (2009-07-12 17:32:25) for Windows: download corrupt?

2009-07-14 Thread JohnMc
Using FireFox3/Linux I was able to download the file and open it with archive no problem. wget might work as well for downloading the file. JohnMc On Jul 14, 5:50 pm, mikech wrote: > I've had similiar problems, even with this download.  But trying it > again usually resolved the issue.  One th

[web2py:26521] Stumped Beyond Belief

2009-07-14 Thread JohnMc
Alright, been staring at this problem off an on all day. I receive the following traceback on a ticket. Traceback (most recent call last): File "/home/rootuser/New/gluon/restricted.py", line 107, in restricted File "/home/rootuser/Helix/applications/Helix/controllers/ assets.py", line 311, in

[web2py:26517] Re: Version 1.65.3 (2009-07-12 17:32:25) for Windows: download corrupt?

2009-07-14 Thread Yarko Tymciurak
if it were a netowork (as opposed to protocol) problem, I would expect your download would have not succeeded - and you'd know it (or taken forever, with retrys).. On Tue, Jul 14, 2009 at 5:46 PM, mdipierro wrote: > > It may have been a network problem. Have you been able to download > yet? Whi

[web2py:26520] Importing an already existing MySQL database

2009-07-14 Thread Boriel
Hi, I'm rather new to web2py, but I think this script might be helpful to others. I've created a little python script that will automatically dump on the screen the creation of an already existing mysql database to be ready to use with web2py. So, for example, if you have already created a MySQL

[web2py:26519] Re: Version 1.65.3 (2009-07-12 17:32:25) for Windows: download corrupt?

2009-07-14 Thread Yarko Tymciurak
On Tue, Jul 14, 2009 at 5:27 PM, Yarko Tymciurak wrote: > There is some windows specific interaction with certain browsers we have > found before (but not nailed down). ... and perhaps my assumption was this was windows specific - it's certainly the only place it seemed reported from, and

[web2py:26518] Re: Version 1.65.3 (2009-07-12 17:32:25) for Windows: download corrupt?

2009-07-14 Thread Yarko Tymciurak
On Tue, Jul 14, 2009 at 6:01 PM, Yarko Tymciurak wrote: > I remember when I was using mainly windows, Google Chrome (Webkit based, > like Safari) seemed to have the most trouble. let me rephrase that - seemed to trigger the interaction problem the most (from what I remember seeing in wires

[web2py:26516] Re: Version 1.65.3 (2009-07-12 17:32:25) for Windows: download corrupt?

2009-07-14 Thread Yarko Tymciurak
I remember when I was using mainly windows, Google Chrome (Webkit based, like Safari) seemed to have the most trouble. Try Opera or Firefox (or even Amaya) - in any case, having multiple browsers will serve you well in developing web apps ;-) A glance at http://en.wikipedia.org/wiki/List_of_web_b

[web2py:26515] Re: Version 1.65.3 (2009-07-12 17:32:25) for Windows: download corrupt?

2009-07-14 Thread mikech
I've had similiar problems, even with this download. But trying it again usually resolved the issue. One thing that I haven't been able to resolve is that unzipping the archive into my web2py directory doesn't seem to update the installation. I'm forced to unzip the individual w2p files to get

[web2py:26514] Re: Version 1.65.3 (2009-07-12 17:32:25) for Windows: download corrupt?

2009-07-14 Thread mdipierro
It may have been a network problem. Have you been able to download yet? Which file specifically? On Jul 14, 5:04 pm, Arch wrote: > I've tried several times to download this file. What I get is a > 240k .zip file that will not open. > > Any help appreciated by this first-time web2py guy :) --~--

[web2py:26513] Re: restyled submit button

2009-07-14 Thread mdipierro
Almost all of it is for the pure CSS cascading menu. On Jul 14, 5:11 pm, Jonathan Lundell wrote: > On Jul 14, 2009, at 2:55 PM, mdipierro wrote: > > > > > PS. I am not attached to this style. I will take a better base.css if > > I get one. Ideally, I would like to see many base.css that people c

[web2py:26512] Re: Version 1.65.3 (2009-07-12 17:32:25) for Windows: download corrupt?

2009-07-14 Thread Yarko Tymciurak
I also meant to say for windows I always resorted to curl(command line tool) to get the zip archives; you could try other browsers also (e.g. if I recall, Opera did not have this problem on Windows, but if memory serves me - it seemed to depend o

[web2py:26511] Re: Version 1.65.3 (2009-07-12 17:32:25) for Windows: download corrupt?

2009-07-14 Thread Jonathan Lundell
On Jul 14, 2009, at 3:27 PM, Yarko Tymciurak wrote: > There is some windows specific interaction with certain browsers we > have found before (but not nailed down). My failure was Mac Safari 4, fwiw. --~--~-~--~~~---~--~~ You received this message because you

[web2py:26510] Re: Version 1.65.3 (2009-07-12 17:32:25) for Windows: download corrupt?

2009-07-14 Thread Yarko Tymciurak
There is some windows specific interaction with certain browsers we have found before (but not nailed down). You can see that you have a partial download if you use something like 7zipto inspect the zip file (It will show the partial archive, and you'll see where it got cut

[web2py:26509] Re: Version 1.65.3 (2009-07-12 17:32:25) for Windows: download corrupt?

2009-07-14 Thread Jonathan Lundell
On Jul 14, 2009, at 3:04 PM, Arch wrote: > I've tried several times to download this file. What I get is a > 240k .zip file that will not open. Yeah, something's wrong on the server side. I just got 4.3MB of the 10MB file before it died. > > Any help appreciated by this first-time web2py guy

[web2py:26508] Version 1.65.3 (2009-07-12 17:32:25) for Windows: download corrupt?

2009-07-14 Thread Arch
I've tried several times to download this file. What I get is a 240k .zip file that will not open. Any help appreciated by this first-time web2py guy :) --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web F

[web2py:26507] Re: restyled submit button

2009-07-14 Thread Jonathan Lundell
On Jul 14, 2009, at 2:55 PM, mdipierro wrote: > > PS. I am not attached to this style. I will take a better base.css if > I get one. Ideally, I would like to see many base.css that people can > choose from. It's awfully big... I've been using Blueprint CSS lately, in WordPress and a private E

[web2py:26506] Re: restyled submit button

2009-07-14 Thread mdipierro
PS. I am not attached to this style. I will take a better base.css if I get one. Ideally, I would like to see many base.css that people can choose from. On Jul 14, 3:05 pm, mdipierro wrote: > Because of static/base.css. You can change it. > > On Jul 14, 2:32 pm, Jonathan Lundell wrote: > > > Wh

[web2py:26505] Re: restyled submit button

2009-07-14 Thread mdipierro
Because of static/base.css. You can change it. On Jul 14, 2:32 pm, Jonathan Lundell wrote: > When I create an SQLFORM with a submit button (based on the welcome > app), I get a very non-standard button, thus: > > pastedGraphic.tiff > 8KViewDownload > > > > ...and I can't figure out how and wher

[web2py:26504] Re: Good IDE in OS X to learn Python

2009-07-14 Thread Yarko Tymciurak
On Tue, Jul 14, 2009 at 8:15 AM, Benigno wrote: > > I am using MacVim, along with iPython and setting up breakpoints to > debug using iPython.. I find it quite usefull. Before I used emacs, > but MacEmacs latest versions are giving me some trouble for some > reason. . > > Another IDE for p

[web2py:26503] restyled submit button

2009-07-14 Thread Jonathan Lundell
When I create an SQLFORM with a submit button (based on the welcome app), I get a very non-standard button, thus: --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group,

[web2py:26502] Re: Call Help in branding 2Py and get larger mind-share for Web2Py

2009-07-14 Thread mdipierro
I do not think we need a policy. Everybody does what one likes. Massimo On Jul 14, 1:33 pm, Yarko Tymciurak wrote: > ...umm so instead of web2conf. you would call it conf2py? > > well, to balance Massimo's "why not?" --- I'll ask "Why?" > > On Tue, Jul 14, 2009 at 8:33 AM, mdipierro

[web2py:26501] Re: Call Help in branding 2Py and get larger mind-share for Web2Py

2009-07-14 Thread Yarko Tymciurak
...umm so instead of web2conf. you would call it conf2py? well, to balance Massimo's "why not?" --- I'll ask "Why?" On Tue, Jul 14, 2009 at 8:33 AM, mdipierro wrote: > > Why not? Except that T2 should better die. > > On Jul 14, 6:46 am, gluegl wrote: > > I have been thinking on what

[web2py:26500] Re: Interesting new project PyDojo

2009-07-14 Thread Yarko Tymciurak
On Tue, Jul 14, 2009 at 5:53 AM, gluegl wrote: > > https://launchpad.net/pydojo > PyDojo is a simple tool for coding dojos with python I was confused by this statement... Let's clear one thing up: This is a coding dojo: http://web.cs.wpi.edu/~gpollice/Dojo.html The links (below) seem to tal

[web2py:26499] Re: 3 Suggestions and a Question

2009-07-14 Thread AchipA
BTW the scribd code is not only slow but wrong, too http://d.scribd.com/ScribdViewer.swf? document_id=16085263&access_key=key- g0mf8a4za0foxo36f5z&page=1&version=1&viewMode="> Note the lack of space between name and value attribs. Discovered that the other day when experimenting with HTMLParser

[web2py:26498] Re: innerHTML about Calendar

2009-07-14 Thread mdipierro
I do not understand the context of the question. You should not call web2py_ajax_init() it is called automatically when a page is loaded. The caldear appears automatically for an input field of class "date", "time" or "datetime" like I think it may be necessary that the field has a "name" attr

[web2py:26497] innerHTML about Calendar

2009-07-14 Thread 张峥
hi,all in the innerHTML, I excute the web2py_ajax_init(), but the Calendar do not pop. follow code was excuted, I promise try { jQuery("input.datetime").focus( function() {Calendar.setup({ inputField:this.id, ifFormat:"{{=T('%Y-%m-%d %H:%M:%S')}}", showsTime: true,timeFormat: "24" });}); } ca

[web2py:26496] Re: xxx/user/login

2009-07-14 Thread mdipierro
Not at all. The idea is that you change the values of those sttings s that it points to the one 'user' action that you have (and may or not be in dafault.py) On Jul 14, 9:43 am, Jonathan Lundell wrote: > When Auth builds its login URL > > self.settings.login_url = self.url('user', args=

[web2py:26495] xxx/user/login

2009-07-14 Thread Jonathan Lundell
When Auth builds its login URL self.settings.login_url = self.url('user', args='login') it assumes that there's a function 'user' in the current controller. In the welcome app template, a login link shows up in every view that extends layout.html, and that action fails in controller

[web2py:26494] Re: Good IDE in OS X to learn Python

2009-07-14 Thread MikeEllis
Another vote for vim and ipython, but then I've never been a fan of IDE's. Mike On Jul 14, 9:15 am, Benigno wrote: > I am using MacVim, along with iPython and setting up breakpoints to > debug using iPython.. I find it quite usefull. Before I used emacs, > but MacEmacs latest versions are giving

[web2py:26493] Re: report bug, maybe

2009-07-14 Thread mdipierro
I have tried this and I cannot reproduce it. Can you email me an app with the problems and steps to reproduce it? Massimo On Jul 14, 12:02 am, zhang zheng wrote: > I don't custom the user_table, > I use version 1.65.3 > > now , I don't use email verification > when I registered, if I change

[web2py:26492] Re: Call Help in branding 2Py and get larger mind-share for Web2Py

2009-07-14 Thread mdipierro
Why not? Except that T2 should better die. On Jul 14, 6:46 am, gluegl wrote: > I have been thinking on what would enhance the mindshare of Web2Py and > help create "deep burned-in branding" > My thinking is to when any create HELPERs, APPLIANCES, ADD-ONs > Instead of crypted names such as T2, T3

[web2py:26491] Re: Auth.get_or_create_user() bug?

2009-07-14 Thread mdipierro
Yes. It is a bug. I will fix it On Jul 14, 2:22 am, Jonathan Lundell wrote: > In this block of code: > >          if users: >              user = users[0] >              if passfield in keys and keys[passfield]: >                   user.update_record(**{passfield:keys[passfield],   > registratio

[web2py:26490] Re: Good IDE in OS X to learn Python

2009-07-14 Thread Benigno
I am using MacVim, along with iPython and setting up breakpoints to debug using iPython.. I find it quite usefull. Before I used emacs, but MacEmacs latest versions are giving me some trouble for some reason. WingIDE I have heard is the best, but I have not tried it as there are not many python c

[web2py:26489] Re: Idea for HTML helpers and the 'with' statement

2009-07-14 Thread mr.freeze
I should point out that my suggestion wasn't intended to be syntactic sugar. Using the 'with' statement would (hopefully) allow embedding other logic and objects in HTML helpers thereby allowing full templating in Python. i.e.: with DIV(_class='test') as d: with TABLE(_id='mytable):

[web2py:26488] Re: Preventing escaping of HTML coming from the database

2009-07-14 Thread Tamas
Thank you, it worked. I don't know how I didn't try this combination... Thanks! On Jul 13, 3:51 pm, mdipierro wrote: > {{=XML (variations[x].content)}} > > should do what you want. > > On Jul 13, 7:42 am, Tamas wrote: > > > Hello, > > > I'm not sure if I'm doing something wrong or is this some

[web2py:26487] Call Help in branding 2Py and get larger mind-share for Web2Py

2009-07-14 Thread gluegl
I have been thinking on what would enhance the mindshare of Web2Py and help create "deep burned-in branding" My thinking is to when any create HELPERs, APPLIANCES, ADD-ONs Instead of crypted names such as T2, T3, KPAX ... opt in for something that would automagically associated with Web2Py such as

[web2py:26486] Re: Interesting new project PyDojo

2009-07-14 Thread gluegl
Here more info on a related Python Dojo project ... Good info to incorporate if doing your own Doj2Py helper http://www.sitepen.com/blog/2008/03/31/rich-ui-webapps-with-turbogears-2-and-dojo-screencast/ http://code.google.com/p/dojango/ Find more info in the wiki: • GettingStarted -

[web2py:26485] Interesting new project PyDojo

2009-07-14 Thread gluegl
https://launchpad.net/pydojo PyDojo is a simple tool for coding dojos with python Web2Py already supports jQuery. which is great. Has anyone implemented a PyDojo type of AddOn for Web2Py A PyDojo and PyObjC would provide all the tools for anyone to built Desktop APPs and iPHone APPs and prop

[web2py:26484] Re: Isn't there this feature in auth now?

2009-07-14 Thread daniel.s.huang
On a side note, lets say you have a header template that contains a form to log in. This header template is included by multiple views, each with their own controller. It seems I need to pass auth.login() in the return dict for every controller function using a view that includes the header temp

[web2py:26483] Re: Good IDE in OS X to learn Python

2009-07-14 Thread Boriel
On windows you can also try pyscripter. Eric3 is another option (available on Win32 and Linux), but I prefer pyscripter On Tue, Jul 14, 2009 at 07:18, annet wrote: > > I am using Xcode, not as beautiful an IDE as WingIDE, but it suits me. > > When you're on OS X, NodeBox is fun to experiment wit

[web2py:26482] Auth.get_or_create_user() bug?

2009-07-14 Thread Jonathan Lundell
In this block of code: if users: user = users[0] if passfield in keys and keys[passfield]: user.update_record(**{passfield:keys[passfield], registration_key:''}) Shouldn't 'registration_key' be quoted? If not, where's it coming from? --~--