Congratulations!
Though a lot simpler than yours, here is my first WEB2PY application
(runs on GAE) https://loadinfo-net.appspot.com
On Jun 26, 5:51 pm, weheh wrote:
> Oh, I forgot, sorry. The website ishttp://www.spinyc.com. I guess I
> didn't include the URL because it would seem like a tease
"base.css" does not take into account, that if the layout TABLE has no
z-index eventually the Flash DIV will not be shown properly.
A quick fix:
.layout {
...
z-index: 1;
}
.flash {
...
z-index: 2;
}
--~--~-~--~~~---~--~~
You received this message
I've always been on the opinion that MVC like WEB2PY (i.e. a normal
MVC) is a MVC and a CMS in one (probably I am missing some end-users'
points of view).
But eStore - that makes a lot of sense to me, so I am for it.
On Jul 10, 11:49 pm, Yarko Tymciurak wrote:
> Those are bigger, more ambitious
Hi,
Auth and CRUD are amazing, no doubt, but is there a best practice for
the exception handler / ing of read / create / update / delete
actions?
Thank you!
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py We
For example:
def update_comment():
form=crud.update(db.comment, request.args(0))
retur dict(form=form)
where args(0) does not exist in the database.
On Jul 11, 5:51 pm, mdipierro wrote:
> What kind of exceptions?
>
> On Jul 11, 7:04 am, Vidul wrote:
>
>
>
> >
Probably RecordNotFound exception or just an attribute like
crud.setting.record_not_found?
On Jul 11, 7:01 pm, mdipierro wrote:
> You are right. we need to deal with that exception somehow. What do
> you propose?
>
> massimo
>
> On Jul 11, 10:13 am, Vidul wrote:
>
I expected to see the HTML form, but all I see is "form : ACCESS
DENIED", i.e. a redirection to not_authorized method.
I guess something's wrong in my code...
On Jul 11, 7:06 pm, mdipierro wrote:
> Can you explain what does not work exactly?
>
> Massimo
>
> On
Thank you!
A note - the following example do not work as expected (not_authorized
action called):
# in the controller:
def give_asset_create_permission(form):
group_id=auth.id_group('user_%s' % auth.user.id)
auth.add_permission('read',db.asset,0,group_id)
auth.add_permission('create',
alue validation, )
>
> Maybe someone can show how (or how not to) apply IS_IN_DB() here?
>
>
>
> On Sat, Jul 11, 2009 at 11:06 AM, Vidul wrote:
>
> > Probably RecordNotFound exception or just an attribute like
> > crud.setting.record_not_found?
>
> >
S_IN_DB()
>
> The general case, it seems to me, is handling exceptions (errors) from
> validations.
>
>
>
> On Sat, Jul 11, 2009 at 11:54 AM, Vidul wrote:
>
> > Sorry, Yarko,
>
> > I cannot understand what does a validator have to do with the
> > except
My apologies for raising my voice again - did anyone manage to replay
the example about:
"how to allow a visitor to post comments, but only update their own
comments
(assuming crud, auth and db.comment are defined)" (that's on page 84)?
If so - please let me know, this will save me a lot of time f
l this so
> > > that the logic to deal with it is inline with the algorithm of the
> > > function. If a record exists but the read fails that might always be
> > > an exception case, but trying to read a record and not knowing first
> > > whether it exists
t=give_update_permission)
> comments = db(db.comment.id>0).select()
> return dict(form=form, comments=comments)
>
> def update_comment():
> form = crud.update(db.comment, request.args(0))
> retur dict(form=form)
>
> On Jul 12, 9:28 am, mdipierro wrote:
>
>
>
I am getting the following error on localhost after the latest update
(changeset: 1322:a4378725f3cb):
db.tester.insert(name='name')
sql.pyc in insert(self, **fields)
3619 elif field.required:
3620 raise SyntaxError,'Table: missing required
field: %s'%field
-> 362
(changeset: 1322:a4378725f3cb):
db.tester.insert(name='name')
sql.pyc in insert(self, **fields)
3619 elif field.required:
3620 raise SyntaxError,'Table: missing required
field: %s'%field
-> 3621 return self._db._adapter.insert(self, new_fields)
3622
I'd like to create a testing database which contains the same tables
as the production one.
This is the code I came up with:
for i in db_test.tables:
db_test[i].drop()
db_test.commit()
for i in db.tables:
db_test.define_table(i, db[i])
db_test.commit()
Is there a better way?
Thank you f
False, it will recreate the missing
> tables in test.sqlite.
>
> On Dec 8, 8:10 am, Vidul wrote:
>
>
>
> > I'd like to create a testing database which contains the same tables
> > as the production one.
> > This is the code I came up with:
>
> >
Hi all,
I am trying to insert default value in "some_table" for new users:
# init/controllers/default.py
def __insert_default_val(form):
db.some_table.insert(val1=1, val2=2, created_by=form.vars.id)
auth.settings.register_onaccept = __insert_default_val
but I get the following exception:
ot in the above code. Can you post the exact model and
> action?
>
> On Jul 21, 8:09 am, Vidul Petrov wrote:
>
>
>
> > Hi all,
>
> > I am trying to insert default value in "some_table" for new users:
>
> > # init/controllers/
is: auth_table.age.requires = IS_IN_SET(('',)
+ tuple(range(16,99)))
Thanks again!
On Jul 21, 4:48 pm, mdipierro wrote:
> I just tried this and I cannot reproduce the problem with this model.
>
> On Jul 21, 8:26 am, Vidul Petrov wrote:
>
>
>
> > # the act
I am in doubt that web2py is the bottleneck.
My recent tests on a modest cloud server (2GHz CPU, 1G RAM):
1_000, 5_000, and 10_000 requests in total, 100 concurrent requests -
16 milliseconds per request with no HTTP server errors.
The RDBMS and the HTTP server in question were Postgres and Cheroke
Hi all,
Does web2py support (imho a bad practice still I need this feature)
invocation of controllers' actions from templates?
My aim is to include into a given template the results from different
controllers' actions conditionally.
Or just functions in the models files which are invoked directly
You may want to read this part of the book:
http://web2py.com/book/default/section/6/6?search=joins
On Jul 23, 4:41 pm, Massimiliano wrote:
> Hi,
>
> I'm sorry if it is a basic question but I don't find a clean way to do that.
>
> Imagine I'm showing an Invoice with related rows.
>
> How can I cr
Great! Thank you, Massimo!
On Jul 23, 5:47 pm, mdipierro wrote:
> Yes but I reccoment you do it via ajax
>
> {{=LOAD('controller','action',vars={},args=[],ajax=True)}}
>
> On Jul 23, 9:32 am, Vidul Petrov wrote:
>
>
>
> > Hi all,
>
> >
Everything works fine on non-GAE env but the following exceptions
occur otherwise:
TypeError: __or__() takes exactly 1 argument (2 given)
# because of:
user_to_query = (db.auth_user.username==form.vars.username_email) | \
(db.auth_user.email==form.vars.username_email)
TypeError: long() argument
Thank you, Massimo.
On Jul 24, 5:11 pm, mdipierro wrote:
> GAE does not allow OR (|) involving two different fields.
>
> On Jul 24, 9:04 am, Vidul Petrov wrote:
>
>
>
> > Everything works fine on non-GAE env but the following exceptions
> > occur otherwise:
&
Is there a best practice for auth.navbar changes?
For example I'd like to remove "password" link and add "retrieve
username" link.
Probably an oversight from my side but "gluon.tools.Auth.navbar"
method does not say a lot about such changes.
PI for this.
>
> On Jul 25, 5:43 pm, Vidul Petrov wrote:
>
>
>
> > Is there a best practice for auth.navbar changes?
>
> > For example I'd like to remove "password" link and add "retrieve
> > username" link.
>
> > Probably an o
Is there a way the Auth methods to run over GAE SLL (https://my-
domain.appspot.com) and return to the hosted domain the same session?
If, for example, users are logged in on https://my-domain.appspot.com
they are still not logged on http://www.my-domain.com.
Does web2py support such cross-domain
Does this mean that GAE SSL support is practically useless for now?
Because one should either stick to subdomain.appspot.com or use no
SSL.
On Jul 28, 6:23 pm, mdipierro wrote:
> This is a security hazard
>
> On Jul 28, 10:15 am, Vidul Petrov wrote:
>
>
>
> > Is there a
Django (the opposite of RoR) sucks likes RoR (the Denmark salesman vs
the desparate Kanzas Python programmers ambitions to create everything
out of nothing).
Probably you know what's the definition of the Nobel winners for
intellect - adequacy.
And in order to achieve adequacy we need compromises
Hi Massimo,
I sent you an email with a Mercurial diff about retrieve_(username/
password) settings and captcha:
diff -r 3e0d95c0a0d5 gluon/tools.py
--- a/gluon/tools.pySun Aug 01 04:53:46 2010 -0500
+++ b/gluon/tools.pySun Aug 01 18:38:00 2010 +0300
@@ -804,6 +804,8 @@
self.setti
Thank you, Massimo!
On Aug 5, 12:39 am, mdipierro wrote:
> Sorry I forgot. It is in trunk now. Please check it. Now I have to
> revise the book once more. :-(
>
> On Aug 4, 3:55 pm, Vidul Petrov wrote:
>
>
>
> > Hi Massimo,
>
> > I sent you an email w
Hi all,
Some days ago I was happy to found out the online book, thank you
Massimo!
My intention is to translate it in Bulgarian.
Which is the best way to do this (probably there is a read / write
repository for the website, but I didn't find a link for it)?
--
You received this message because
; > I am thinking about adding miltilingual support directly into the book
> > > app. The problem is that adding pages is easy, keeping track of what
> > > has been translated and what no may be a mess. Any advice?
>
> > > On Feb 27, 7:50 pm, Vidul Petrov wrote:
109,000 from Bulgaria
On Mar 28, 3:23 am, mdipierro wrote:
> When you google "web2py" how may hits do you get? from which country?
>
> When I do it from the US I get ~106,000. The number has been steady
> for one year. Before that is was much higher ~600,000.
>
> When I did it from India the num
Hi all,
I needed IS_NOT_IN_SET validator and added it in my custom
"validators.py", do you think it is useful?
class IS_NOT_IN_SET(IS_IN_SET):
"""
example::
INPUT(_type='text', _name='name',
requires=IS_NOT_IN_SET(['max', 'john'],zero=''))
the argument of IS_N
# coding: utf8
{
'"update" is an optional expression like "field1=\'newvalue\'". You
cannot update or delete the results of a JOIN': '"обнови" е
незадължителен израз от вида "field1=\'нова стойност\'". Резултатите
от JOIN не могат да се обновяват или изтриват.',
'%Y-%m-%d': '%Y-%m-%d',
'%Y-%m-%d %H
I've missed the closing curly bracket.
On Aug 24, 4:21 pm, Vidul Petrov wrote:
> # coding: utf8
> {
> '"update" is an optional expression like "field1=\'newvalue\'". You
> cannot update or delete the results of a JOIN': '&qu
Not sure if this help, but you may want to take a look at this
Pagination class:
http://packages.python.org/web2py_utils/paginate.html
On Aug 24, 6:37 pm, dlin wrote:
> ref:http://web2py.com/book/default/chapter/12#Pagination
>
> In following code, there is two problem:
> 1. The 'next' button alw
It's a Python homework, not web2py issue.
On Sep 4, 5:48 pm, Frank wrote:
> hi,
>
> I have code,
> response.menu_index = [
>
> [TAG[''](IMG(_src=URL(request.application,'static','home.png'),'title'),
> False,
> URL(request.application,'default','facepda'),
> [
>
Hi all,
I am trying to use a form which does not redirect after its
acceptance.
However after the submit the new form does not pass through:
if form.accepts(request.vars, session):
...
elsif form.errors:
...
unless the page is reloaded.
Is this the expected behavior?
It was my error, which have nothing to do with Web2py.
There is no such issue.
On Nov 5, 12:36 am, Vidul Petrov wrote:
> Hi all,
>
> I am trying to use a form which does not redirect after its
> acceptance.
> However after the submit the new form does not pass through:
>
Thank you, samwyse!
On Jun 27, 4:47 am, samwyse wrote:
> On your fist page: "We firmly beleive" => "We firmly believe"
> I'd fix it ASAP.
>
> On Jun 26, 10:11 am, Vidul wrote:
>
>
>
> > Congratulations!
>
> > Though a lot simp
Hi Massimo,
Thank you very much!
The images in the "about" page are fixed.
Regards,
Vidul
On Jun 26, 7:20 pm, mdipierro wrote:
> Hi Vidul,
>
> since this is a consulting company, let me know if you want to be
> listed as an "affiliated company" on the web2py
Hi,
While testing some of the exmaples from the latest manual, the
IS_IN_SET() validator confused me:
db.define_table("person",
SQLField("gender", notnull=True),
SQLField("desserts", notnull=True))
db.person.gender.requires = IS_IN_SET(("Male","Female"))
db.person.gender.widge
Thank you, Fran,
The same result - it does not matter if the argument is a list or a
tuple.
The problem is that I cannot make the validation work when no element
is chosen.
On Jul 2, 6:53 pm, Fran wrote:
> On Jul 2, 3:29 pm, Vidul Petrov wrote:
>
> > db.person.gender.requires
My point is that the widgets bypass the validators.
On Jul 2, 6:53 pm, Fran wrote:
> On Jul 2, 3:29 pm, Vidul Petrov wrote:
>
> > db.person.gender.requires = IS_IN_SET(("Male","Female"))
>
> IS_IN_SET(['Male', 'Female'])
>
Thank you, Massimo!
Is the problem in sqlhtml.py (class OptionsWidget) ?
On Jul 2, 8:55 pm, mdipierro wrote:
> Yes there is a problem. This will probably not be fixed today but
> within the week.
>
> Massimo
>
> On Jul 2, 11:21 am, Vidul Petrov wrote:
>
>
>
>
Hi,
Given that I have a menu like:
response.menu = [
['Home', request.function=='index',
URL(request.application,'default','index'), []],
['New Post', request.function=='create',
URL(request.application,'default','create'), []],
]
the "active" link does not work unless
Hi,
Anybody any idea about the following error (it appears only in one
method)?
E 07-04 12:21AM 09.771
Traceback (most recent call last):
File "/base/data/home/apps/loadinfo-net/2.334535432559265741/gluon/
restricted.py", line 98, in restricted
exec ccode in environment
File "/base/data/
Actually this happens only in the translation, when I removed some
duplicated records the problem was fixed. Strange.
On Jul 4, 10:32 am, Vidul Petrov wrote:
> Hi,
>
> Anybody any idea about the following error (it appears only in one
> method)?
>
> E 07-04 12:21AM 09.771
Hi,
I saw no similar issues on NT 5.0 and above.
Are you sure that it's an WEB2PY issue?
On Jul 4, 5:46 pm, Fauché JM wrote:
> Hello,
> Since I install 1.65.0 (for windows) I can't read tickets issues !
> The link for ticket appear ,but when clicking on it, it call another
> link for another t
That's true - it's web2py 1.59.
Thank you.
On Jul 4, 7:12 pm, mdipierro wrote:
> On a second look. I think you may be using an old web2py or perhaps an
> old gaehandler.py
>
> On Jul 4, 2:32 am, Vidul Petrov wrote:
>
>
>
> > Hi,
>
> > Anybody any i
That's splendid, Massimo!
Thank you!
On Jul 7, 3:09 am, Massimo Di Pierro wrote:
> Here are two very very draft chapters for the second edition of the
> book.
> Chapter 7 has been amended to include CRUD
> Chapter 8 has been added and discusses AUTH
>
> This is very draft because I just wrote,
help (probably some sample works should be
shown there also)?
Regards,
Vidul
On Jul 17, 5:49 am, mdipierro wrote:
> Pareto (http://en.wikipedia.org/wiki/Pareto_principle) once said that
> 80% of effects come from 20% of causes. For software we can re-phrase
> as 80% of users use on
work with WEB2PY -
there are no projects, no search and demand announced, at least not
officially?
On Jul 17, 6:24 am, mdipierro wrote:
> I am not familiar with those web sites. What do you suggest?
>
> On Jul 16, 10:18 pm, Vidul Petrov wrote:
>
>
>
> > Hi Massimo,
>
&g
Probably this topic has been discussed in the past, but I wasn't able
to find anything.
The cron script works fine (it's implemented as a controller method)
unless running in the GAE testing environment.
The username in app.yml is web2py, the same goes for the username in
"crontab" file.
Thank yo
t; > withGAE. The current implementation uses file operations as they are
> > > universal on all platforms (i.e. move file is atomic - that's what the
> > > infamouscron.master is for). Now, AFAIK this would not work onGAE,
> > > but if you give/write an example that would replace t
The implementation of temporary tables is not MVC, but RDBMS specific.
On Jul 23, 12:36 am, Fran wrote:
> On Jul 22, 9:41 pm, rb wrote:
>
> > If you are using SQLite then you could create a db in memory and keep
> > your temp table there. You can create the table outside of web2py and
> > then
what do you need to do exactly?
> Perhaps a more elegant solution can be used.
>
>
>
> On Thu, Jul 23, 2009 at 03:10, Vidul Petrov wrote:
>
> > The implementation of temporary tables is not MVC, but RDBMS specific.
>
> > On Jul 23, 12:36 am, Fran wrote:
> >> On Ju
A temporary fix can be: session._flash (that's what I usually use).
On Jun 12, 1:52 pm, "mr.freeze" wrote:
> For some reason the session.flash doesn't work on an auth password
> recovery (which should really be called a password reset I think). I
> tried it with setting auth.messages.email_sent
Hi all,
Just noticed that when username is used for login one can edit the
profile and change the username to an existing one.
Thus the account becomes unusable, because the system recognize only
the original username.
Any fix?
Thank you for the help.
--~--~-~--~~~---
My error - I forgot to add the proper validators for the "username"
field, i.e.:
t.username.requires = [IS_NOT_EMPTY(), IS_NOT_IN_DB(db,
db.auth_user.username)]
Apologies for the senseless post.
On Jul 25, 3:07 pm, Vidul Petrov wrote:
> Hi all,
>
> Just noticed that when u
http://my-sticky-note.appspot.com/init/default/welcome (still missing
the demo)
Yes it's very small app, never-the-less the time went like this:
- views / controllers / model: 5% (or less)
- javascript / css: 95%
I encountered only one small problem - some of the aith.messages do
not appear in
Jul 30, 8:05 am, Tito Garrido wrote:
>
>
>
> > Very cool! I liked it! :)
>
> > On Thu, Jul 30, 2009 at 7:23 AM, Vidul Petrov wrote:
>
> > >http://my-sticky-note.appspot.com/init/default/welcome(stillmissing
> > > the demo)
>
> > > Yes it's v
Hi,
Just create the file "routes.py" (there is an example file called
"routes.example.py" that can be copied).
Then edit the routes_in like this:
routes_in = (
('/', '/records/default/index'),
)
That's it.
On Sep 8, 12:52 pm, Carlos Aboim wrote:
> Hi everyone,
> I know if I call my app i
Hi all,
I didn't manage to configure Web2py with this web server (each step
was followed and the only result was directory listing, of course when
enabled).
Here is the configuration file:
server.modules = (
"mod_fastcgi",
"mod_rewrite"
)
...
server.document
Hi,
I noticed that app.yaml could be improved to include by default the
following files in the "skip_files" section:
skip_files: |
...
(applications/init/errors/.*)|
(applications/admin/errors/.*)|
(applications/init/sessions/.*)|
(applications/admin/sessions/.*)|
...
)$
Does this make
Hi all,
There is a problem with "onvalidation" - it works only after redirect
unless the form object is explicitly given:
onvalidation = assign_some_value_to_a_var(form)
Is this a bug or the new behavior of "onvalidation"?
--~--~-~--~~~---~--~~
You received this
Thank you, Massimo.
I forgot to mention the "uploads" directory, GAE does not use the
filesystem, which makes it useless.
On Sep 12, 5:20 pm, mdipierro wrote:
> true. uploading to trunk
>
> On Sep 12, 4:22 am, Vidul Petrov wrote:
>
>
>
> > Hi,
>
> >
the case with relational databases, but I am
using GAE for this application.
On Sep 16, 4:05 pm, mdipierro wrote:
> Can you show an example of what you mean? I do not think what you say
> is the case.
>
> On Sep 16, 5:22 am, Vidul Petrov wrote:
>
>
>
> > Hi all,
='create_image'))
return dict(form=form, image=records[0])
On Sep 16, 9:51 pm, mdipierro wrote:
> I need to see the assign_estate_id source and the full body of
> controller actions.
> I do not think this is a bug, I think this a workflow issue.
>
> Or are you sayin
Hi all,
Does it make any sense if I start a website like http://jobs.rubynow.com/
or http://jobs.perl.org/ (the original one actually)?
Web2py allows cheap web-hosting like GAE, so we should leave the
competition in the dust. Or I am wrong?
Plus that Web2py is stable and full-featured MVC (unli
step - total automation (again
- I am speaking about the building blocks, not about the terminators).
There are (IMHO) only two niches, that will stay alive - the system
administration and the graphic/industrial design.
I'll do my best to create the website about Web2py jobs ASAP.
Regards,
Vi
Hi all,
I am getting the following error on GAE while trying to change the
password (all other methods work):
In FILE: /base/data/home/apps/spain-estates/1.336749493957536875/
applications/init/controllers/default.py
Traceback (most recent call last):
File "/base/data/home/apps/spain-estates/
ve this in your model?
>
> if request.env.web2py_runtime_gae:
> db = DAL('gae')
> session.connect(request, response, db=db)
> else:
> db = DAL('sqlite://storage.sqlite')
>
> On Oct 4, 2:33 am, Vidul Petrov wrote:
>
>
>
> > Hi all,
>
> > I
edit the app.yaml file to prevent upload? If not
> than there is a bug in the default app.yaml file.
>
> Massimo
>
> On Oct 4, 8:27 am, Vidul Petrov wrote:
>
>
>
> > Yes, my model is untouched:
>
> > if request.env.web2py_runtime_gae: # if runnin
I didn't manage to reproduce this issue, everything works fine.
Here is my ENV - User-agent: appcfg_py/1.2.3 Linux/2.6.28-15-generic
Python/2.5.4.final.0
Please paste the content of index.html.
On Oct 17, 12:48 am, BearXu wrote:
> I modified the init/default/index as
> redirect(URL(a='myapp',c='
I got "Internal Error" while trying
http://wavedirectory.appspot.com/init/default/wave?w=googlewave.com%2521w%252BDPsJaggYA
On Nov 4, 8:54 am, hcvst wrote:
> http://wavedirectory.appspot.com/init/default/wave?w=googlewave.com%2...
>
> A public wave to discuss wave development on web2py.
>
> HC
-
This is great!
Are there any manuals about the new plugin system?
On Nov 9, 8:11 pm, mdipierro wrote:
> I would love to see some layouts using it.
> Could you send me some exmaples?
>
> On Nov 9, 12:07 pm, Vasile Ermicioi wrote:
>
>
>
> > Since web2py already have jquery included why not using
Is SQLDB object creation in session possible?
The following code did not work for me (I didn't manage to use session
before SQLDB):
from gluon.tools import *
if not session.db:
session.db = DAL()
My intention is to store multiple SQLDB objects in one application,
one per user.
--
You re
cycled) when the reponse is completed
> and the transaction is committed.
>
> On Dec 9, 11:52 am, Vidul Petrov wrote:
>
>
>
> > Is SQLDB object creation in session possible?
>
> > The following code did not work for me (I didn't manage to use session
>
On Dec 9, 8:22 pm, mdipierro wrote:
> You can connect to multiple db
>
> dba=DAL(...)
> dbb=DAL(...)
> dbc=DAL(...)
>
> I am not sure what you mean what "names are not known in advance".
>
> On Dec 9, 12:17 pm, Vidul Petrov wrote:
>
>
>
> >
GAE does not allow write access to the file system.
On Dec 15, 2:59 am, Richard wrote:
> I uploaded an app to GAE and it triggered an error from trying to
> create a missing directory:
>
> File "/gluon/main.py", line 432, in wsgibase
> os.mkdir(path)
> AttributeError: 'module' object has no a
Hi Johann,
Take a look for examples in "routes.example.py".
The file is in the root directory.
On Dec 22, 10:26 am, Johann Spies wrote:
> I use static inter alia for a few static html-pages linked to items in
> a wiki. Access to the wiki is limited to logged in users but if the
> url to the fil
Happy Holidays from Bulgaria!
On Dec 24, 6:25 am, mdipierro wrote:
> I wish everybody Happy Holidays. I will probably be on the list as any
> other day.
>
> Massimo
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send em
sappeared when I downgraded to version 1.44 (I haven't
tried 1.47).
I guess it is some configuration issue?
Thank you,
Vidul
On Nov 10, 8:31 pm, mdipierro <[EMAIL PROTECTED]> wrote:
> I posted web2py 1.48. Many many many small changes. faster and better
> than ever.
> Please
Hi Massimo,
Splendid idea! I am in.
This project will encourage more and more newcomers (I have no doubt).
Vidul
On Nov 14, 11:01 pm, mdipierro <[EMAIL PROTECTED]> wrote:
> Actually I was thinking about something similar but also different.
>
> I want to create an association
I guess Jędrzej means "readony fields".
On Nov 17, 3:00 pm, billf <[EMAIL PROTECTED]> wrote:
> I'm sorry I don't understand your requirements.
>
> When you say: "I would like to create SQLFORM with inserts data to db,
> but I would
> like to see values from database there", which "values from da
I am trying to use T3 email sending on GAE with no luck (T3 keeps on
saying "unable to send email"). Did anyone try this setup?
Thank you.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py Web Framework" group.
You are supposed to configure your smtp
> server. If you use gmail you need to setup auth params.
>
> massimo
>
> On Dec 12, 10:10 am, Vidul Petrov wrote:
>
>
>
> > I am trying to use T3 email sending on GAE with no luck (T3 keeps on
> > saying "unabl
redirect(URL(r=request,c='myPrint',f='myPrint',args=[myDict])) # and
not f='lprProvv'
On Dec 12, 8:03 pm, pmate wrote:
> Hi,
> using pyrtf i created a new controller called printings.py.
> In it i have a function:
> def myPrint():
> myDict = request.args[0]
> ...
> ...
> return q
I guess you're trying to "inspect" the input data:
def raise404():
print request.args
print request.vars
### raise an HTTP exceptpion in the same way:
#raise HTTP(404, BEAUTIFY(request.args))
### or
# raise HTTP(404, BEAUTIFY(request.vars))
But nothing stop you to raise H
Hi,
I guess you mean "request.env.http_referer"?
On Mar 19, 12:20 am, ceej wrote:
> Hey,
>
> I'm using the custom error routes and it get's the error code and the
> ticket number, but is there a way to get the full URL of the page that
> errored out? This would be really useful.
>
> Many thank
Hi Iceberg,
Could it be an unescaped space in Popen class?
If so, does this rough solution work (gluon/contrib/cron.py)?
$diff cron.py cron_new.py
202c202
< proc = Popen([self.cmd], stdin=PIPE, stdout=PIPE,
---
> proc = Popen([r'%s' % self.cmd], stdin=PIPE, stdo
You should use SQLDB to create a database connection.
In your model (models/db.py most probably):
SQLDB('mysql://username:passw...@localhost:3306/the_name_of_the_db')
On Mar 25, 8:53 pm, dave_mcgee wrote:
> Hi there.
>
> I have a MySQL database in my web2py environment.
>
> I wish for an exter
Hello Matt,
I allowed myself some changes, mostly related to portability (the
script is supposed to be "/usr/bin/web2py.py" or somewhere else in
$PATH):
#!/bin/bash
prog=`basename $0`
cd `pwd`
chmod +x $prog
function web2py_start {
nohup ./$prog -a "" 2>/dev/null &
if [ ! -z "`pgrep $pr
Hi Iceberg,
>From what I saw, the cache object is not unique, it's that the samle
has "time_expire=5" and most probably you've loaded the page on the
2nd browser for more than 5 seconds.
In addition a test made on two boxes with something like:
def mycache():
import time
t=cache.ram(
Hi,
All online examples about the auth object decorator usage seem like
this (note ":" at the end):
@auth.requires_login():
and this does not work, unless it's changed to:
@auth.requires_login()
--~--~-~--~~~---~--~~
You received this message because you ar
1 - 100 of 162 matches
Mail list logo