Hello guys,
Some should now be aware, but I took the liberty to disclose this great
plugin made for web2py. It's instant web2py admin [2], which is a module for
managing your application in web2py. He was a Sramana developers [1]. It's
worth a look. It's pretty good!
[1] - http://sramana.in/
Do not know if I can help, but I made a screencast showing the use of
virtualenv with web2py:
http://vimeo.com/22919392
_
*Gilson Filho*
*Web Developer
http://gilsondev.com*
Hello guys,
I was wondering if anyone knows any plugin for web2py which makes data
paging.
_
*Gilson Filho*
*Web Developer
http://gilsondev.com*
They are not good when you have thousands of records to be consulted. Do I
need anyplugin that calls the paging of data via the database.
_
*Gilson Filho*
*Web Developer
http://gilsondev.com*
Badges created here - http://picbadges.com/1886508
_
*Gilson Filho*
*Web Developer
http://gilsondev.com*
It can paginate data?
_
*Gilson Filho*
*Web Developer
http://gilsondev.com*
Hello guys,
I'm using the new version of web2py, and created a feature in my project and
took thesub models. Except that as I run the application and the controller
of this functionality,it does not create tables in the database. Someone went
through this too?
module = local_import('name of the module') //module.py
_
*Gilson Filho*
*Web Developer
http://gilsondev.com*
2011/6/13 Ross Peoples ross.peop...@gmail.com
Jim,
You could try doing:
import sys
Yes, I put them in a folder with the name of the driver, and ran from their
URL. Only itis: the URL is overwritten on routes.py:
(...)
(r'/suppliers', r'/app/suppliers/list'),
But even so, he created the tables, only when played in the root of models.
How to tests with web2py. Need importing gluon libs.
_
*Gilson Filho*
*Web Developer
http://gilsondev.com*
2011/6/11 Pierre Thibault pierre.thibau...@gmail.com
2011/6/10 contatogilson...@gmail.com contatogilson...@gmail.com
Hello guys,
I started
Show an example of how you use py.test to perform unit tests on the model
layer and controller.
_
*Gilson Filho*
*Web Developer
http://gilsondev.com*
Yes, I understand. But the issue is the use of the gluon. Perform tests is
fine, the problem is to run the same tests using the libraries and
gluon. Therefore
it has to import them. Hence the creation of this script.
_
*Gilson Filho*
*Web Developer
So when you create the script makes available for us to test and to use =)
_
*Gilson Filho*
*Web Developer
http://gilsondev.com*
2011/6/11 Pierre Thibault pierre.thibau...@gmail.com
2011/6/11 contatogilson...@gmail.com contatogilson...@gmail.com
When I put the scripts of a particular model in a subfolder, it does not
create tables in the database when I run web2py. I have not disabled the
migrate. By default it is not true?
app/ models/ tests/ tests.py
validators.py
Hello guys,
I started to create a script to test the scripts that use the library
unittest projects web2py. I usually like this:
- I create the folder *tests* in the project;
- Inside the tests folder create two folders: *models* and *controllers*;
For now, I have done is to test the model
I use the blocks to couple eating several portions of the layout pages for
quite a while.Only in this last version is not working.
layout.html
{{ block test }}{{ end }}
test.html
{{ extend 'layout.html' }}
{{ block test }}
h2It is working/h2
{{ end }}
When I run the application,
there recently.
On Jun 9, 9:02 am, contatogilson...@gmail.com
contatogilson...@gmail.com wrote:
I use the blocks to couple eating several portions of the layout pages
for
quite a while.Only in this last version is not working.
layout.html
{{ block test }}{{ end }}
test.html
It has forecast when it will be in the book web2py new features, or it will
be open forother people to update online documentation?
_
*Gilson Filho*
*Web Developer
http://gilsondev.com*
And in the pypi?
_
*Gilson Filho*
*Web Developer
http://gilsondev.com*
2011/6/8 ron_m ron.mco...@gmail.com
My application is working with model files under a subdirectory == the
controller name.
...@gmail.com
On Jun 8, 3:27 pm, contatogilson...@gmail.com
contatogilson...@gmail.com wrote:
It has forecast when it will be in the book web2py new features, or it
will
be open forother people to update online documentation?
What did you have in mind?
The blocks are not working.
layout.html
(...)
{{ block header }}{{end}}
header.html
{{ extend 'layout.html' }}
{{ block header }}
Header
{{ end }}
_
*Gilson Filho*
*Web Developer
http://gilsondev.com*
2011/6/8 Pierre Thibault
All new features will be documented? How will it be? Will be collaborative
documentation?
_
*Gilson Filho*
*Web Developer
http://gilsondev.com*
One thing that would have asked you to Massimo but forgot that
interviewhttp://blog.gilsondev.com/2011/01/13/interview-creator-of-web2py/
:
Today web2py has left the classroom and entered into development companies
worldwide. As a senior keeper, which you intend to do so that framework
Yes, it is more a field to be edited. What you can do is hide this field in
the actionprofile like this:
db.auth_user.username.readable = \
db.auth_user.username.writable = False
_
*Gilson Filho*
*Web Developer
http://gilsondev.com*
2011/5/28
I use like this: http://web2pyslices.com/main/slices/take_slice/133
_
*Gilson Filho*
*Web Developer
http://gilsondev.com*
2011/5/24 Ross Peoples ross.peop...@gmail.com
I am trying to make a user editor and running into trouble. I have the
standard
I don't understand. Show me the code.
_
*Gilson Filho*
*Web Developer
http://gilsondev.com*
2011/5/24 Carlos carlosgali...@gmail.com
Hi,
The 'reset_password' option is missing in tools.py, line # 1048 in
Auth.__call__.
Carlos
Hello,
Tailored I'm a system that has a module that has a relationship of a table
with theauthentication module. Thus, the user can register a page in your
login and passwordand also your personal data, which are the data from
that other
table. Until then I usedSQLFORM.factory for it and
I found the problem and created a slice:
http://web2pyslices.com/main/slices/take_slice/133
_
*Gilson Filho*
*Web Developer
http://gilsondev.com*
2011/5/23 contatogilson...@gmail.com contatogilson...@gmail.com
Hello,
Tailored I'm a system
Hi,
It has a module that I used the link forms using SQLFORM.factory, and
everything went right. How do I make this just the same way that editing the
data? I can send the data tothe forms, but it does not save.
_
*Gilson Filho*
*Web Developer
I tried to do as it is in the comments, but did not work:
http://web2pyslices.com/main/slices/take_slice/102
_
*Gilson Filho*
*Web Developer
http://gilsondev.com*
Fork the project for add files: https://github.com/lvidarte/web2py-snippets
_
*Gilson Filho*
*Web Developer
http://gilsondev.com*
2011/5/15 pancurster pancurs...@gmail.com
Hi,
I was looking today for vim syntax for web2py templates but I didn't
Nice!
_
*Gilson Filho*
*Web Developer
http://gilsondev.com*
2011/5/10 Bruno Rocha rochacbr...@gmail.com
I just start using git and github and I found this amazing online IDE
http://c9.io which edits github repositories.
Very nice layout and basic
Hello,
As I said before, I believe a system and stayed in webfaction.com. When I
create theapplication there, they already have a script to download the
web2py and prepare itwith Apache. But those weeks while using the
system it gives
the following error:
502 - Bad Gateway
Reported that they
Hello guys,
I hosted a system webfaction.com and its plan has 80MB of memory. But
the strange
thing is that only has two people accessing the system and the usage time gives
thefollowing error:
502 Bad Gateway
What do I resolve this problem? Has anyone experienced this?
There's this plugin for web2py: https://github.com/lucasdavila/appreport
__ ___
*Gilson Filho*
*Web Developer
http://gilsondev.com*
hahaha
_
*Gilson Filho*
*Web Developer
http://gilsondev.com*
2011/4/1 CVstash dot com cvst...@gmail.com
Happy April 1 to you too.
On Apr 2, 1:50 am, Bruno Rocha rochacbr...@gmail.com wrote:
http://web2pyramid.pylonsproject.org/
--
Bruno
I researched the list of the error of using local_import (), but without
success. I used the import applications.app.modules.script as Script and
other ideas did not work. Howshould I do about it?
The error: ImportError: No module named testapp.modules.FormatTweets
Thanks Will. Locally it worked, but if I pack and send to GAE?
_
*Gilson Filho*
*Web Developer
http://gilsondev.com*
2011/3/30 pbreit pbreitenb...@gmail.com
I am not clear on what you are trying to do and what you have attempted.
The correct usage
But doing the import from site-packages, to make deployed on Google App
Engine itwill be able to use the modules?
_
*Gilson Filho*
*Web Developer
http://gilsondev.com*
2011/3/30 Massimo Di Pierro massimo.dipie...@gmail.com
Yesterday enjoying the day off, I developed the web2hash beta. This
applicationaggregates all relevant information to web2py on Twitter (of
course those who use thehash # web2py in your tweets). Below is the
link to access
the application and there ownlink to the project repository:
I used the Twitter API to search by Topics Trend, so some entries are
not inserted
intothe hash does not appear. Later a search can be implemented more
detailed web2pyon Twitter. Compared to IE, and I realized that I must fix this
weekend.
_
*Gilson
This is interesting:
https://github.com/caelum/restfulie-py
_
*Gilson Filho*
*Web Developer
http://gilsondev.com*
Nice idea.
_
*Gilson Filho*
*Web Developer
http://gilsondev.com*
Good!! \0/
_
*Gilson Filho*
*Web Developer
http://gilsondev.com*
2011/3/16 Massimo Di Pierro massimo.dipie...@gmail.com
http://vimeo.com/21133657
- The patterns is storaged in the controller?
_
*Gilson Filho*
*Web Developer
http://gilsondev.com*
web2py - Code Less Create More!
+1
_
*Gilson Filho*
*Web Developer
http://gilsondev.com*
And second part?
_
*Gilson Filho*
*Web Developer
http://gilsondev.com*
Would not it be better to do this?
@request.get()
@request.post()
@request.put()
@request.delete()
def api():
(...)
return dict(...)
_
*Gilson Filho*
*Web Developer
http://gilsondev.com*
massimo.dipie...@gmail.com
Because I would know how to do
@request.get()
def api(): return dict()
@request.post()
def api(): return dict()
i.e. have two functions with the same name and select one or the other
without ambiguity.
On Mar 13, 9:04 am, contatogilson...@gmail.com
contatogilson
Become to me too.
_
*Gilson Filho*
*Web Developer
http://gilsondev.com*
2011/3/11 Johann Spies johann.sp...@gmail.com
I want to change the width of certain input fields for the type 'text' in
a form.
I have tried this but it did not have any
Sorry, Happens to me too
_
*Gilson Filho*
*Web Developer
http://gilsondev.com*
That's what I was looking for!
_
*Gilson Filho*
*Web Developer
http://gilsondev.com*
2011/3/10 Martín Mulone mulone.mar...@gmail.com
Very interesting
2011/3/10 Richard Vézina ml.richard.vez...@gmail.com
Thanks to share Bruno
Richard
On Wed,
Very good!
_
*Gilson Filho*
*Web Developer
http://gilsondev.com*
The web2py in the Pypi is old. When go to update? Need to help?
_
*Gilson Filho*
*Web Developer
http://gilsondev.com*
URL (f = 'default ', c = 'home')
This is desnecessary. I'm not used. Buy like this:
URL('default','home')
This is clean.
_
*Gilson Filho*
*Web Developer
http://gilsondev.com*
2011/3/8 villas villa...@gmail.com
Ideally there should just be one
Cool! Congratulations! Submited by Twitter :)
_
*Gilson Filho*
*Web Developer
http://gilsondev.com*
2011/3/8 mart msenecal...@gmail.com
That' great thanks ! :)
On Mar 8, 3:01 am, Massimo Di Pierro massimo.dipie...@gmail.com
wrote:
I will post
How customizing login form?
_
*Gilson Filho*
*Web Developer
http://gilsondev.com*
, contatogilson...@gmail.com
contatogilson...@gmail.com wrote:
How customizing login form?
_
*Gilson Filho*
*Web Developer
http://gilsondev.com*
:
Those line don't get you what you want if you place them in your user
function?
crud.settings.formstyle = 'table3cols' or 'table2cols' or 'divs' or 'ul'
crud.messages.submit_button = 'Submit'
Richard
On Tue, Mar 8, 2011 at 3:03 PM, contatogilson...@gmail.com
contatogilson
I recommend webfaction.
_
*Gilson Filho*
*Web Developer
http://gilsondev.com*
2011/3/7 rochacbruno rochacbr...@gmail.com
For shared hosts. The best, easiest and with a nice cost is webfaction.com
Em 07/03/2011, às 06:12, Alejandro
- css3 buttons in welcome - What is This???
Foi inserido mais uma ferramenta para inserir botões estilizados com e sem
ícones com CSS 3. Um exemplo disso:
http://css3buttons.michaelhenriksen.dk/
_
*Gilson Filho*
*Web Developer
http://gilsondev.com*
Recommend this for plugin calendar:
http://jqueryui.com/demos/datepicker/
http://jqueryui.com/demos/datepicker/Att,
_
*Gilson Filho*
*Web Developer
http://gilsondev.com*
2011/3/3 Martín Mulone mulone.mar...@gmail.com
I like the idea, we can have
Beautiful! +1
_
*Gilson Filho*
*Web Developer
http://gilsondev.com*
2011/2/28 Albert Abril albert.ab...@gmail.com
Me too.
+1
On Mon, Feb 28, 2011 at 8:51 PM, Martín Mulone mulone.mar...@gmail.comwrote:
Yes I like it,
2011/2/28 Massimo Di
if form.acceps(request.vars,session):
(...)
else:
(...)
_
*Gilson Filho*
*Web Developer
http://gilsondev.com*
2011/2/28 Lennon lpru...@hotmail.com
I think I must be missing something obvious.
The form displays correctly and populates
We have a small problem in the use of IS_IN_DB. Only you can use this, and
if
want to use a IS_NOT_EMPTY for example, does not display the dropdown list.
_
*Gilson Filho*
*Web Developer
http://gilsondev.com*
Recommend the webfaction.com
_
*Gilson Filho*
*Web Developer
http://gilsondev.com*
2011/2/9 Ahmed Bani taz...@gmail.com
Hello,
I am new to the web2py community, and I am so exited to start on my first
application.
I have two questions:
1-
Como expliquei no email anterior, o coordenador da UNEB disponibilizou o
local e os materiais (projetor + computador) para o encontro. Antes de mais,
nada, o formulário de inscrição que foi disponibilizado, tem o total de 25
inscritos da comunidade.
Isso extrapola o limite recomendado de um
Example with jQuery UI - http://gilsondev.com/marcado/
http://gilsondev.com/marcado/User: admin
Password: admin123
_
*Gilson Filho*
*Web Developer
http://gilsondev.com*
2011/2/9 Tom Atkins minkto...@gmail.com
Yes it will work. (1.3.2+ means that
Hello guys,
This link has the architecture of the Linux kernel and found it interesting
that:http://www.makelinux.net/kernel_map
Just to make sure that must have a tool to automate. Does anyone know what it
is,because we could do this to show the architecture of web2py and
links in source
code.
How to the plan?
$$$
_
*Gilson Filho*
*Web Developer
http://gilsondev.com*
2011/2/7 Bruno Rocha rochacbr...@gmail.com
I am running in dotcloud (but it is in beta)
http://www.web2py.dotcloud.com/
http://www.web2py.dotcloud.com/also Pydra is
Instant Press - http://code.google.com/p/instant-press/
_
*Gilson Filho*
*Web Developer
http://gilsondev.com*
2011/2/2 Carl m...@carlroach.com
has anyone direct experience of using Wordpress, SquareSpace or
similar solution alongside Web2py?
Hello Massimo,
I took a look at the roadmap, the repository and found it has web2py
some goals, and these, features for the framework. Voces
want to implement something from him?
_
*Gilson Filho*
*Web Developer
http://gilsondev.com*
http://code.google.com/p/web2py/wiki/Roadmap
_
*Gilson Filho*
*Web Developer
http://gilsondev.com*
2011/2/2 Massimo Di Pierro massimo.dipie...@gmail.com
which roadmap?
On Feb 2, 12:14 pm, contatogilson...@gmail.com
contatogilson...@gmail.com
I use Python Omni Completation. It's good:
http://www.vim.org/scripts/script.php?script_id=1542
_
*Gilson Filho*
*Web Developer
http://gilsondev.com*
2011/2/1 Bruno Rocha rochacbr...@gmail.com
Hi,
I user Pydiction
I do no know
_
*Gilson Filho*
*Web Developer
http://gilsondev.com*
2011/2/1 Bruno Rocha rochacbr...@gmail.com
2011/2/1 contatogilson...@gmail.com contatogilson...@gmail.com
I use Python Omni Completation. It's good:
http://www.vim.org/scripts
Insert with link tag in the meta:
- link rel=icon href=http://www.quotes.co.uk/favicon.ico;
type=image/x-icon
- link rel=shortcut icon href=http://www.quotes.co.uk/favicon.ico;
type=image/x-icon
_
*Gilson Filho*
*Web Developer
We must take into consideration the Python logo. Can anyone
get permission?
_
*Gilson Filho*
*Web Developer
http://gilsondev.com*
2011/1/26 rochacbruno rochacbr...@gmail.com
Cool idea!
Suggestion:
If this is to raise funds, then great,
Hey guys,
Did someone did a deploy any application which uses two models
relate? Because it gives error when I deploy an application that uses
this type of relationship.
_
*Gilson Filho*
*Web Developer
http://gilsondev.com*
might works normally.
can you share your piece of code?
Bruno Rocha
http://about.me/rochacbruno/bio
2011/1/26 contatogilson...@gmail.com contatogilson...@gmail.com
Hey guys,
Did someone did a deploy any application which uses two models
relate? Because it gives error when I deploy
Sorry, but it seems that the error is different:
http://marcadodev.appspot.com/welcome/default/index
_
*Gilson Filho*
*Web Developer
http://gilsondev.com*
2011/1/26 Bruno Rocha rochacbr...@gmail.com
Is there any traceback message on GAE datastore
' of exceptions.SyntaxError object at
0x26bd1df6ae682cc0 p24 sS'__reduce_ex__' p25 S'built-in method __reduc...
_
*Gilson Filho*
*Web Developer
http://gilsondev.com*
2011/1/26 contatogilson...@gmail.com contatogilson...@gmail.com
Sorry, but it seems that the error is different
Hello everyone,
I was researching this week in web2py automated testing, and
is recommended to use the docstrings. Only I found little about it.
Where can I find examples or more information about these tests,
because I do not want to implement a system without using TDD.
What classes of web2py I can use to test user requests and
responses of actions? I want to study them.
_
*Gilson Filho*
*Web Developer
http://gilsondev.com*
2011/1/25 cjrh caleb.hatti...@gmail.com
On Jan 25, 2:12 pm, contatogilson...@gmail.com
/web2py_utils/test_runner.html
Enviado via iPhone
Em 25/01/2011, às 11:00, contatogilson...@gmail.com
contatogilson...@gmail.com escreveu:
What classes of web2py I can use to test user requests and
responses of actions? I want to study them
http://web2py.com/book/default/chapter/08#Customizing-Auth
_
*Gilson Filho*
*Web Developer
http://gilsondev.com*
2011/1/25 David J. da...@styleflare.com
How can I extend the default register form to add custom fields?
I am not extending the
Hello guys,
Below is the link for a model of T-shirts for those who want to do:
Image:
https://docs.google.com/leaf?id=0B1L38RjwqS2cNzBhZDkwNTItZTMxZC00MzRiLWE4MzgtNDM4MmQ2OWI5OGE0sort=namelayout=listnum=50
SVG Format:
Suggestions? :)
_
*Gilson Filho*
*Web Developer
http://gilsondev.com*
2011/1/25 contatogilson...@gmail.com contatogilson...@gmail.com
Hello guys,
Below is the link for a model of T-shirts for those who want to do:
Image:
https
What do you think of having a wiki on the framework and its libraries in
web2pyslices?
_
*Gilson Filho*
*Web Developer
Blog:* blog.gilsondev.com
*Twitter:* twitter.com/gilsonfilho
2011/1/20 Martin.Mulone mulone.mar...@gmail.com
:O the rumors run
This idea is better:)
_
*Gilson Filho*
*Web Developer
Blog:* blog.gilsondev.com
*Twitter:* twitter.com/gilsonfilho
2011/1/21 Bruno Rocha rochacbr...@gmail.com
2011/1/21 contatogilson...@gmail.com contatogilson...@gmail.com
What do you think
view.
On Jan 19, 6:51 pm, contatogilson...@gmail.com
contatogilson...@gmail.com wrote:
Hello guys,
I'm wanting an action returns a json like this:
{
start: 2011-01-27,
id: 4,
title: Fulano Silva
}
Only to send to the view he is being rendered thus:
quot
Hello guys,
I'm wanting an action returns a json like this:
{
start: 2011-01-27,
id: 4,
title: Fulano Silva
}
Only to send to the view he is being rendered thus:
quot;{\n \quot;start\quot;: \quot;2011-01-27\quot;, \n
\quot;id\quot;: 4, \n \quot;title\quot;: \quot;Fulano
Olá pessoal,
Para todos ficarem cientes, nessa semana eu vou me reunir como coordenador
da UNIP para acertamos o local e a data do evento.
Att,
_
*Gilson Filho*
*Desenvolvedor Web
Blog:* blog.gilsondev.com
*Twitter:* twitter.com/gilsonfilho
Sorry if the translation was not very good. I'm studying English right?
Help are welcome:)
_
*Gilson Filho*
*Web Developer
Blog:* gilson-filho.blogspot.com
*Twitter:* twitter.com/gilsonfilho
2011/1/14 Martín Mulone mulone.mar...@gmail.com
My main
it is.
And thank you Gilson. Your English, and your choice of questions were
very good. If you would like to collaborate on a monthly interview
with other developers, I would be glad to help.
Best regards, John T.
On Jan 14, 12:15 pm, contatogilson...@gmail.com
contatogilson...@gmail.com wrote
...@gmail.com
contatogilson...@gmail.com wrote:
Sorry if the translation was not very good. I'm studying English right?
Help are welcome:)
_
*Gilson Filho*
*Web Developer
Blog:* gilson-filho.blogspot.com
*Twitter:* twitter.com/gilsonfilho
...@gmail.com
lazyT is used for internationalisation, are you using T() somewhere in your
code?
Helps if you share your app or show us your code for model and controller
model
- put the code here -
/model
controller
- put the code here -
/controller
2011/1/4 contatogilson...@gmail.com
Hello,
Below I am forwarding the email I sent to Di Pierro, speaking of a
suggestion I made in the module's CRUD web2py. As he asked to pass these
tips to the group, I thought it best to pass the same for everyone.
Hello,
I wanted to give more of an idea, because I realized one thing in the
How can I capture the name of the user logged in and put in the view,
without
links to Login, and Register Lose Password?
_
*Gilson Filho*
*Desenvolvedor Web
Blog:* gilson-filho.blogspot.com
*Twitter:* twitter.com/gilsonfilho
:
expiration :
3600
last_visit :
datetime.datetime(2011, 1, 4, 14, 0, 42, 458812)
user :
email :
rochacbr...@gmail.com
first_name :
bruno
id :
1
last_name :
rocha
password :
xxx
registration_key :
reset_password_key
2011/1/4 contatogilson...@gmail.com
I make a relationship one-to-many in the following way:
Table 01: Customers;
Table 02: officials;
Table 03: Agenda
Customers - agenda and staff - agenda
In the form has a combobox fields of customers and employees, but when
After registration the following error occurs:
TypeError: 'lazyT'
100 matches
Mail list logo