In my experience debuggning takes a lot of time and energy. Compared to
other parts of development, debugging takes a lot more time per completed
construction than other tasks.So why to not improve debugging capabilities
when you can?
Den torsdagen den 18:e september 2014 kl. 21:08:46 UTC+2 skr
Hi!
I've noticed I can automatically change the error message of invalid email
with *auth.messages.invalid_email*. This however works only for*
auth.login()* but NOT for auth.register(). Also, is it possible to change
the error message for the *too short* message in the password field of the
r
Robin but I don't get how that helps debugging, modern browsers have
inspect element and automatically show you where a tag opens and closes.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web
I'm bummed out. Just watched Massimo's incredible Vimeo video but now
stuck, trying to deploy on an AWS EC2
Environment:
AWS EC2 / Windows 2008 R2 3.75GB memory / Python 2.7 / web2py (latest)
What I can do:
I ran the source, and the server comes up fine with interactions via local
host.
What
Undoubtedly it would be more coherent to have the possibility to set the
time format as in IS_DATE and IS_DATETIME.
On Friday, March 12, 2010 4:07:46 PM UTC+1, mdipierro wrote:
>
> good point. I will take the patch.
>
> On Mar 12, 9:01 am, DenesL wrote:
> > To drop the seconds value as in the e
No changes except upgradingOld files editor works New files editor doesn’t work and the create button in the slide out is missing when in the editor I'll check permissions, but the problem doesn't appear on dev instance which is running w2p webserver only on hosted instance nginx webserver
Hi guys,
I'm new to web2py and trying to learn some basics.
I started with a small test application and wrote a view for it. While
experementing with some embedded python ( {{ tags) in my view I discovered
that commenting out some HTML with did not escape the embedded
python. Example: will p
Hi, Jose.
this works perfect. My uwsgi.ini file was incorrect.
And I didn't have the wsgihandler.py in the correct location.
Thank you so much.
Best Regards.
Mike
On Wednesday, September 17, 2014 8:27:29 PM UTC+1, Jose wrote:
>
> 0.1 Web2py
> # cd /home
> # fetch http://www.web2py.com/examp
Newbie here, so I'm loving web2py. I'm using PythonAnywhere.com since it's
free and I can use it when I travel.
So I've created the page below what will take Reddit.com Python RSS page
and display all the current Title and with a link to "read more"
When you try to click the link it's not click
Hello,
I have a process that takes a while to run, up to 30 minutes. If I kick off
the process without a task scheduler, all works great and once the tasks
returns it redirects to a page with the results. The problem is, I can only
do this one at a time in the same browser. While the task is ru
this post was resoulus to see the solution see the
post https://groups.google.com/forum/#!topic/web2py/nb-xnYhJKao
Le mardi 16 septembre 2014 09:21:07 UTC+2, eric cuver a écrit :
>
> I'm on the home stretch of my application. I want to know I sought but I
> can not find. from the database. I
Paolo,
Thanks for responding. I think you may misunderstand the issue with the
first problem I describe. The code I have shown is part of the trap_form
function included in web2py.js, not my own code. If the form doesn't have
an action attribute set, then url does not get defined. It seems sens
how I can detect in a controllers, if a new user pending registration
before to use my app?
--
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
Your format is a function therefore
db.t_birthplace._format % row
should be
db.t_birthplace._format(row)
On Wednesday, 17 September 2014 22:00:37 UTC-5, Fei Zhao wrote:
>
> I would like to generate a dropdown list dynamically according to the
> records of a table, which refers to other tables
Please open a ticket about this.
On Wednesday, 17 September 2014 14:09:47 UTC-5, Ide wrote:
>
> Hi,
>
> My posts from 15th Sept didn't seem to get approval to appear in the
> forum, so I'm assuming this was an oversight and posting 2 of them again in
> a single post this time.
>
> I think there
That would not work because the include has precedence over the if in
web2py template. You cannot conditionally include.
On Thursday, 18 September 2014 03:38:40 UTC-5, Leonel Câmara wrote:
>
> > If there are ways to stop this from showing up accidently anyway, I
> fully intend on using it.
>
>
That's a very old app. I not sure those API still work (not because of
web2py changes, because of fb changes)
On Thursday, 18 September 2014 20:44:51 UTC-5, LoveWeb2py wrote:
>
> Using the default facebook appliance found here:
> https://github.com/mdipierro/web2py-appliances/tree/master/Faceboo
The two functions do not take the set of arguments.
insert(...) expects values after validation
validate_and_insert() expects values before validation
notice that validation is a transformation that changes the value. So given:
db.define_table('myperson',
Field('name'),
Good question. The best way is to use in the html or
{{# comments}} in pyhton.
On Thursday, 18 September 2014 06:00:08 UTC-5, Leonel Câmara wrote:
>
> There's no built-in way. Why would you want this?
>
>
>
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://g
> I've noticed I can automatically change the error message of invalid email
> with *auth.messages.invalid_email*. This however works only for*
> auth.login()* but NOT for auth.register().
>
Works for me. Please show your code (always a good idea). Make sure you set
the message before calling
_herf should be _href
On Saturday, September 20, 2014 12:17:55 PM UTC-4, Sif Baksh wrote:
>
> Newbie here, so I'm loving web2py. I'm using PythonAnywhere.com since
> it's free and I can use it when I travel.
>
> So I've created the page below what will take Reddit.com Python RSS page
> and disp
Hello there,
I'm translating the book into Turkish and I've cloned the book from GitHub.
I then created a
..sources/43-web2py-turkish-translation-in-progress/
local directory following the convention. I just didn't want to mess with
Massimo's code directly on the GitHub, so I decided I'd better
It worked when I put the messages before define_tables. Thanks once again
Anthony!
I still would like to change the message: *This email already has an
account*.
Also, for some reason the first name and last name are not remembered when
there is an error in the registration form. Is it suppose
The invalid_email message is displayed when the entered string is not a
valid email address (it is passed to the IS_EMAIL) validator. There is a
completely separate error message in case the email address is already
taken -- auth.messages.email_taken. That one is passed to the IS_NOT_IN_DB
vali
Yes I just happen to look through the source code sometimes too. Do you
never do that?
There are different reasons that I do that:
- I can see the source code, and find out for example missing closing tags.
Maybe this is the most likely use of the comments, and doesn't apply with
the html helpe
Thanks for all answers.
I put an example about I want to do:
In db.py I define 2 databases:
db= DAL('mssql://SQL SERVER DATABASE') #db is a SQL Server database
doesn't created with web2py
db2 = DAL('mssql://SQL SERVER DATABASE') #db2 is a SQL Server database
created with web2py
#Below are so
26 matches
Mail list logo