Re: [web2py] Re: web2py on github

2011-12-21 Thread Daniel Aguayo Catalán
mdipierro escribió: I somebody wants to keep an official mirror there I have no objection. I prefer to stick with mercurial on Google because mercurial is 100% python. On Apr 5, 1:53 am, elffikkelff...@gmail.com wrote: hi, I use a few project stored on github, and I find it easier to

Re: [web2py] Re: web2py on github

2011-12-21 Thread Daniel Aguayo Catalán
Daniel Aguayo Catalán escribió: mdipierro escribió: I somebody wants to keep an official mirror there I have no objection. I prefer to stick with mercurial on Google because mercurial is 100% python. On Apr 5, 1:53 am, elffikkelff...@gmail.com wrote: hi, I use a few project stored on github

Re: [web2py] Re: web2py on github

2011-12-21 Thread Daniel Aguayo Catalán
Bruce Wade escribió: My problem with bitbucket is the 5 cap for free private, if you are wanting to use git and keep the projects public I recommend gitorious. I like gitorious because it's FLOSS and 'eats its own dog food' (gitorious code is hosted on gitorious), but private projects **for

Re: [web2py] Web Development Introduction Based On Web2py

2011-12-21 Thread Daniel Aguayo Catalán
ma...@rockiger.com escribió: Should go away, when all dns servers are updated. Hi, at http://killer-web-development.com/section/1/3 shows a diagram that try to explain the MVC pattern that says: [USER - CONTROLLER - VIEW, USER - CONTROLLER - MODEL - DATABASE] ...but I think it should be

Re: [web2py] Re: web2py on github

2011-12-21 Thread Daniel Aguayo Catalán
Massimo Di Pierro wrote: I hate all changes related to this topic. This is because I have to learn a new system and do extra work to move stuff around. There was a lot of push for git and github so we did it. Please, let's not open this can of worms again. The costs of changing outweighs the

[web2py] problem with request.date and db.table.update_or_insert

2011-12-14 Thread Daniel Aguayo Catalán
Hi, i have a fieldtype 'date' in a table that I cannot create from using request.now.date() in the db.table.update_or_insert statement (even if a change the fieldtype and date value to string) Traceback (most recent call last): File

Re: [web2py] Re: problem with request.date and db.table.update_or_insert

2011-12-14 Thread Daniel Aguayo Catalán
Alan Etkin escribió: datepart,timepart=val.split( )ValueError:need more than1value to unpack It looks like convert_timestamp() in pysqlite2.dbapi2 is expecting a date+time object and receives a date, isn't it? Hi, I forgot to say that the problem exists even if I try to insert a request.now

Re: [web2py] Re: problem with request.date and db.table.update_or_insert

2011-12-14 Thread Daniel Aguayo Catalán
Daniel Aguayo Catalán escribió: Alan Etkin escribió: datepart,timepart=val.split( )ValueError:need more than1value to unpack It looks like convert_timestamp() in pysqlite2.dbapi2 is expecting a date+time object and receives a date, isn't it? Hi, I forgot to say that the problem exists even

Re: [web2py] Re: problem with request.date and db.table.update_or_insert

2011-12-14 Thread Daniel Aguayo Catalán
Alan Etkin escribió: request.date.now() works well in my system (Python 2.6.5, web2py 1.99.3, Linux) I think you mean request.now.date() (request.date doesn't exist in my system, web2py 1.99.3 with python 2.7.2 on gnu/linux too) Would you post part of the model and controller to see what it

Re: [web2py] Re: problem with request.date and db.table.update_or_insert

2011-12-14 Thread Daniel Aguayo Catalán
Alan Etkin escribió: dbi('historia', ... Field('fecha', 'string') ) That should be a 'date' field for web2py to handle date information properly. I changed that later. I was using the 'date' type originally when the issue came up. date = str(datetime.datetime.now()) #NO

Re: [web2py] Re: web2py 1.99.3 is OUT

2011-12-10 Thread Daniel Aguayo Catalán
LightDot escribió: I'm browsing trough the new web page a bit and I can report a glitch: div class sixteen columns announce gets thrown to the right, so I get a horizontal scroll bar even on a 1920px wide screen. Tested on linux, Firefox 8 and Opera 11.60 (screenshot attached). Chromium 15

Re: [web2py] user profile - adding a button

2011-12-10 Thread Daniel Aguayo Catalán
Nik Go escribió: How do I add a new button in a user's profile page that redirects to another view? (assuming that you're using the default 'user' function in 'default' controller) ...you can edit the view /default/user.html