i'm late in the whole "plugin" discussion, i didn't really follow it
from start (being new to web2py).
my only question is: what is the _scope_ of plugins? as i got it
correctly, there's an ongoing debate on the form of plugins, classes
vs directories.
if we're talking about small things like "dis
didn't get it as a joke, sorry for that :)
On Feb 16, 11:17 am, Kuba Kucharski wrote:
> lol, I understood "copying us" was clearly a semi-joke.. a sarcasm..
> "why so serious, son?" :))
>
> --
> Kuba
--
You received this message because you are subscribed to the Google Groups
"web2py-users" gr
hi massimo,
i really appreciate your work on web2py. the product is excellent,
i've just launched my first site using it and other two are on the
work. i like the new documentation (how it's shaping up) and the way
you "rule" the community around web2py prove that your way is right. i
mean, you do
hi,
just a quick question, maybe already discussed and i missed it. the
wiki pages connected with the book are for additional examples and use
cases. what are the comments for?
for example, i wanted to point out that on this page
http://web2py.com/book/default/section/6/5, in the "and operator"
se
it is not
clear enough and maybe needs to be explained a bit better.
if it is not documented, such short questions can help pointing out
missing parts of the documentation itself.
On Feb 14, 7:50 pm, mdipierro wrote:
> call it "init"
>
> On Feb 14, 12:36 pm, pistacchio wrote
hi,
i have my application in the standard directory /applications/myapp
i'm deployig it in a production env (webfaction) using its web2py
script. once set its routes, i can access my applications like
myaccount.webfactional.com/myapp, but i'd like to have it like the
root application. how can i de
seems like a very promising start! i was happy to donate (even if i
still don't see the counter going up :( )
i'll contribute as i can
On Feb 12, 2:30 am, mdipierro wrote:
> http://web2py.com/book
>
> This is only for testing purposes.
> Please try get an account and send me some feedback.
>
> Y
On Feb 9, 12:28 am, Brian M wrote:
> Credibility wise I should think that having what's preceived as "poor"
> documentation is worse than having good documentation that just
> happens to not be powered by the framework being documented.
+1
Some days ago web2py popped up on reddit where frequent
thanks, running from source solved the problem
On Feb 9, 1:41 am, Richard wrote:
> on Linux I would try starting the server with "python2.6 web2py.py"
>
> On Feb 9, 10:25 am, pistacchio wrote:
>
>
>
> > i checked it via the web shell. indeed it's a dif
> import sys
> >>> print sys.version
>
> Make sure web2py is running on the same version that you installed PIL.
>
> -Thadeus
>
>
>
> On Mon, Feb 8, 2010 at 3:13 PM, pistacchio wrote:
> > oh... how to check and set?
>
> > On 8 Feb, 22:09,
oh... how to check and set?
On 8 Feb, 22:09, Thadeus Burgess wrote:
> is web2py running on python 2.6.1 or the built-in python 2.4? ?
> -Thadeus
>
>
>
> On Mon, Feb 8, 2010 at 3:02 PM, pistacchio wrote:
> > Hi to all,
> > I'm running python 2.6.1 on MacOSX
Hi to all,
I'm running python 2.6.1 on MacOSX Snow Leopard. I installed PIL (the
image manipulation library) with easy_install.
If I run python in terminal, import Image is accepted. When trying
import Image in a controller of web2py (its own test server), it tells
me that there's no library calle
my two cents:
decide where to host this new documentation (http://wiki.web2py.com/
may be the most obvious bet). set up a page of links that reproduces
the tree structure of the pdf summary. then one by one, anyone can
copy / past text from the pdf to the new pages and format it.
this is the most
> response.headers['Content-Type']='image/jpeg'
> img = db(db.images.id == request.args[0]).select().first() or
> redirect('somewhere')
> return response.stream(open(os.path.join
> (request.folder,'uploads',img.image),'rb'
; +
request.application + '/uploads/' + img.image, 'rb'))
this allows me to get my jpg images through
http://mysite/myapp/images/show/4
On 31 Gen, 17:44, pistacchio wrote:
> so, if if i got it correctly, wouldn'thttp://myhost/myapp/mycontrol/download/4
> return
he static link to reference the
> download action from other apps.
>
> On Jan 31, 10:27 am, pistacchio wrote:
>
>
>
> > hi!
> > i've seen that i can retrieve uploaded images with
>
> > {{=URL(r=request, f='download', args= IMAGE)}}
>
&g
hi!
i've seen that i can retrieve uploaded images with
{{=URL(r=request, f='download', args= IMAGE)}}
coupled with the standard "download" method.
now, if i want to statically save a reference to the image (like
saving the string "http://groups.google.com/group/web2py?hl=en.
time.
>
> On Jan 31, 8:02 am, pistacchio wrote:
>
>
>
> > i've noticed that shutting web2py server down and restarting solves
> > the problem. are those modules loaded at startup times? how to debug
> > them?
> > thanks
>
> > On 31 Gen, 14:42, pist
i've noticed that shutting web2py server down and restarting solves
the problem. are those modules loaded at startup times? how to debug
them?
thanks
On 31 Gen, 14:42, pistacchio wrote:
> i think the problem is a bit deeper.. after having changed the name it
> started working w
if the module was cached and the server (web2py
develop server under mac) doesn't update to the current version. any
help?
On 31 Gen, 12:05, pistacchio wrote:
> Hi,
> i have a file named bb.py in my application's modules directory. i
> import it with local_import('bb'
Hi,
i have a file named bb.py in my application's modules directory. i
import it with local_import('bb'). i made some changes to it and i
notice that the program no longer loads them (but keeps working like
it were using an older version). so i renamed the file to bb2.py and
it kept working. if i u
hi jason,
by writing
orders = SQLFORM(db.numbers)
you are assigning to the variable "orders" the form. in the following
line you return form=form, but the latter is a null object.
so, either you change the name of the variable like this:
form = SQLFORM(db.numbers)
return dict(form=form)
{{=form}
Gratz :) Looks good to me
On Jan 28, 6:45 pm, Leandro - ProfessionalIT
wrote:
> Friends,
>
> The new site in web2py made by my company: ProfessionalIT.
>
> KZero Consultoria:http://www.kzeroconsultoria.com.br
>
> -- Leandro.
--
You received this message because you are subscribed to the
On Jan 28, 12:48 pm, Richard wrote:
> This was brought up previously and the main obstacle (IIRC) is Massimo
> needs publications to justify working on web2py for his university.
> Hopefully a compromise can be reached.
if this is the reason (and it is indeed a valid one), than nobody
would ke
hi to all,
after a long session of web2py coding, i feel now a bit frustrated by
the documentation. i don't think that .pdf is the best format for
documenting an opensource project.
every time you need to look up something you have to search the whole
document for a keyword and read through the fo
more) elegant. But you're wrong, PHP has
> namespaces.
>
> On 25 jan, 18:27, pistacchio wrote:
>
>
>
> > python is a very elegant and mature language. php has gained a huge
> > popularity more for the moment when it came out that for the goodness
> >
i wasn't aware of that, see you there! :)
On Jan 26, 9:23 am, Mengu wrote:
> Right now, there are 16 web2py devs on irc.freenode.net :)
>
> On 25 Ocak, 21:14, pistacchio wrote:
>
>
>
> > hi,
> > seen how active the community around web2py is (often a post o
hi,
this is certainly not the place to start a php vs python debate, but
unless you have very valid reasons to use php, i'd suggest to stick
with python.
python is a very elegant and mature language. php has gained a huge
popularity more for the moment when it came out that for the goodness
of the
I'm ok with slugify, but the reason i chose "urlify" is that slug is
not really a mvc term. It comes from the journalistic jargon and it's
been adopted by the original Django developers that were working on a
framework to build a newspaper site on.
I don't think that "slug", outside the Django com
Nevermind, i found it in the book minutes after posting :)
For those interested:
count = db.table.field.count()
result = db().select(db.table.field, count, groupby = db.table.field)
On 24 Gen, 18:22, pistacchio wrote:
> How to translate the following SQL query in a web2py DAL express
How to translate the following SQL query in a web2py DAL expression?
Thanks
SELECT field, count(*) FROM table GROUP BY field
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to web...@googlegroups.com.
To unsubs
worked, thank you :)
On 24 Gen, 09:59, Thadeus Burgess wrote:
> form.vars.id
> -Thadeus
>
>
>
> On Sun, Jan 24, 2010 at 2:55 AM, pistacchio wrote:
> > Hi,
> > once a record has been inserted with form.accepts, how to know the id
> > of that record? Sure, o
thanks, that helped. i was stuck on the "string" representation of it.
On 24 Gen, 14:55, DenesL wrote:
> Fromhttp://groups.google.com/group/web2py/msg/e6acbb8df0db8e64
>
>
> any helpers, including a form, is a tree:
>
> form[0] is the table in the form
> form[0][i] is the i-th row
> form[0][i][1
Hi,
once a record has been inserted with form.accepts, how to know the id
of that record? Sure, one can performa a select and get the max id,
and in most cases this would work, but it's not safe as it *could*
happen that another record is inserted in between the time of the
insert and the time of t
Hi,
is there a standard way to add fields to a form generate via SQLFORM?
I know I can select which fields to display out of the ones taken from
the database, but what if i want to insert another field to manage
something in a manual way?
An example is posting a blog entry. Everything generated b
ox ?
> If you use wing IDE try to put a break point on form.accepts() and
> see the contain of request sent...
> In your model do you have a validator IS_IMAGE() ? (Just to know
> whether or not there are further validation on the background running
> when you upload a file)...
&
gt; On Jan 23, 5:00 am, pistacchio wrote:
>
>
>
> > Hi,
> > in a very simple image uploading form (we2py server) i'm facing the
> > annoying problem of not being able to upload images 80% of the times.
> > I select an image and the page remains in a "waiting
Hi,
in a very simple image uploading form (we2py server) i'm facing the
annoying problem of not being able to upload images 80% of the times.
I select an image and the page remains in a "waiting for localhost"
state. Other times it simply works (also with the same image). What
could it depend on?
t
Hi,
I think it is really cool that web2py works under the hood to keep a
site secure (sql injection, xss...) and that it integrates and
encourages reCaptcha.
As a user, though, i find captchas, in general, and reCaptcha in
particular to be annoying and invasive. For a small site that I'm
building
Hi again!
I don't know if this may make any sense as a standard feature, but
anyhow... How can I calculate, with a fairly exact approximation, the
total time taken to generate a page? What is a reliable "entry point"
and "exit point" in web2py page life cycle? In other words: how to get
he number o
hi to all!
a couple of questions. i'm writing a simple blog to get used to web2py
and get my hands dirty with it (and i love it so far!).
each blog post has a title. as i want that title to be in the url when
retrieving the post, i need what in django is called a "slug" field,
or a pretty, url-fr
i did that with the URL tag. :-)
On 16 Set, 10:57, pistacchio wrote:
> Hi,
> in hand-writing links (not using A, for example), what is the correct
> way to map urls? Like, I'm on the the
> pagehttp://localhost:8000/myapp/user/login
>
> I wanto to simply linkhttp://loc
Hi,
in hand-writing links (not using A, for example), what is the correct
way to map urls? Like, I'm on the the page
http://localhost:8000/myapp/user/login
I wanto to simply link http://localhost:8000/myapp/posts/show/, but:
1. linking "/posts/show/" will go to http://localhost:8000/posts/show/
hi,
i'm about to begin working on a new site. taking a break from asp.net
and php, i want to give web2py a try. i've used django before, but i
cannot get along with its lack of db migration.
now, for what i've read, web2py sounds wonderful. only, i'm a
supporter of the theory that half of the val
44 matches
Mail list logo