Are you making something like djangopeople.net where we can upload our
contact details and location?
I get emails every few months from people who saw my profile on
djangopeople.net asking if I am available to work, so it is very
effective.
Richard
On Aug 18, 6:45 am, Bottiger wrote:
> I
> Do I also need to do that if everything is running fine?
no, but new versions have bug fixes and new features. And they are
backwards compatible so it shouldn't break anything.
I upgraded a web2py application developed a year back and it still
worked.
On Aug 17, 9:04 pm, Pynthon Pynthon wrote
an alternative solution is to use 'reload(module)' while you are
developing.
Richard
On Aug 19, 2:05 am, Iceberg wrote:
> On Aug18, 11:37pm, rev wrote:
>
>
>
> > Hi,
>
> > I have some code that are 'helper' functions for a controller.
> &g
his variable into something consistent?
On my Linux box I am occasionally getting filenames like "C:\
\Documents and Settings\\user\\Desktop\\file.txt", which can't be
parsed with os.path.basename().
Richard
--~--~-~--~~~---~--~~
You received this messa
great!
Apparently some old versions of IE include the full path.
Richard
On Aug 19, 5:39 pm, mdipierro wrote:
> Yes, this may be a bug on windows. I will fix it.
>
> On Aug 18, 9:04 pm, Richard wrote:
>
> > hello,
>
> > From an upload form should request.var
the error is thrown from default.py (line 55), so it might be
unrelated.
Richard
On Aug 20, 4:25 pm, ed wrote:
> I didn't change the gluon directory and inserted the code below in
> db.py and was able to run the app. I inserted 2 fields and tried to
> run it again but encount
po - should be a separate repo
> (probably a separate repo for each)
>
> F
yeah that would be handy to checkout the example applications easily
and get updates.
My current favorite applications are pyforum (http://pyforum.org/) and
w2p openID (http://w2popenid.appspot.com/init/default/wiki/main
On Aug 21, 8:19 am, ProfessionalIT wrote:
> in the GAE ?
that's a good idea - and it could show off web2py's support for GAE
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this grou
hi Massimo,
you mentioned that the initial query was invalid (http://
code.google.com/p/web2py/issues/detail?id=52).
Could you clarify what was invalid and the proper way to do multiple
joins?
Richard
On Aug 17, 4:37 am, howesc wrote:
> Thanks for the tip! A little tweaking to y
I would like to upgrade my web2py when this is fixed, so is it worth
creating an issue on Google Code to track it?
Or has it already been fixed?
Richard
On Aug 20, 4:26 pm, Richard wrote:
> great!
> Apparently some old versions of IE include the full path.
>
> Richard
>
>
I can confirm it happened with 1.66.1. Is it worth testing with
1.66.2?
Richard
On Aug 24, 10:05 am, mdipierro wrote:
> I have double checked and it seems to me this has been fixed about a
> couple of months ago (before your post).
> The problem is that data stored before this was
also facing the
same problem.
Richard
On Aug 24, 10:01 am, mdipierro wrote:
> howesc explained it in his posts: "that mixing the join syntax has
> operator
> precedence issues, and that Postgres follows the standard while other
> databases let you get away with the &quo
existing code for this.
Richard
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email
if there is a Windows path passed to my Linux based web2py server,
then os.path.basename() is not going to remove the directory. Could
that be the problem?
Richard
On Aug 24, 6:51 pm, mdipierro wrote:
> Nothing changed between 1.66.1 and 1.66.2 in this respect. I am
> puzzled. The f
just one host.
hmm, I guess an RSS feed won't be queried often so efficiency is not
important and I can just read from disk like you suggest.
Richard
On Aug 24, 7:31 pm, mdipierro wrote:
> I do not know if you need to load them in db unless you have multiple
> hosts.
>
> On
3. response.view = 'form.html'
return dict(form=auth())
Richard
On Aug 25, 3:52 pm, Richard wrote:
> just one host.
> hmm, I guess an RSS feed won't be queried often so efficiency is not
> important and I can just read from disk like you suggest.
>
> Richard
>
Like this:
os.path.basename(url.replace('/', os.sep).replace('\\', os.sep))
On Aug 25, 5:56 pm, mdipierro wrote:
> So how should one remove the path without knowing whether is a Linux
> or a Windows path?
>
> Massimo
>
> On Aug 25, 12:39 am, Richard w
with 1.66.2 _newfilename is returning None from my upload
field.
Has anyone else experienced this?
Richard
On Aug 16, 6:30 pm, weheh wrote:
> OK, by getting from the trunk the gluon/sql.py and gluon.sqlhtml.py
> files, this problem is fixed in the 1.65.11 release. Thank you Massimo
sql_fields_old = cPickle.load(tfile)
EOFError
any ideas?
Richard
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to web2py@googlegro
I deleted database/*.table and now it works, so looks like a migration
problem with upgrading. Could this be related to the "radical"
proposal to change the default string lengths?
Richard
On Aug 28, 3:09 pm, Richard wrote:
> I upgraded to latest version of web2py and now I am
', args='login')
File "/home/web2py/gluon/tools.py", line 289, in url
f=f, args=args, vars=vars)
File "/home/web2py/gluon/html.py", line 175, in URL
raise SyntaxError, 'not enough information to build the url'
So, is there a way to c
with the same problem as me than asking new
questions.
If people are keen on pyforum perhaps the new python-developers
mailing list could try it first.
Richard
On Aug 30, 6:18 am, Julio wrote:
> I am up for it :)
>
> I do believe pyforum is ready for prime time (though for obvious
>
models import db
which threw "NameError: name 'SQLDB' is not defined"
Richard
On Aug 28, 6:07 pm, mdipierro wrote:
> Althought exec_environment exists I think of it more of workaround
> than something that should really be used.
>
> If your my_script.py needs to c
; Google groups has been ok when the user base is still a newborn.
>
> > > But we must prepare for bigtime, and the best way is a forum.
>
> > > On Aug 30, 7:25 pm, Richard wrote:
> > >> I really like pyforum and consider it the best available web2py app
> &
a
list of missing features?
I would like to see paypal integration because Google Checkout is only
available in US and UK.
Richard
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post
inal code is in the default.py controller.
Richard
On Sep 1, 12:39 am, Julio wrote:
> Yes, pyforum is (still) tied up to MySQL, let me correct that, it is
> tied up to any RDBMS (MySQL, Postgres and possibly MSSQL), the reason
> is only one single query (out of the literally dozens) t
nt to come on
board?
(These people expressed interest before: Massimo, Yarko, Mr admin,
eric cs, Vidul, viniciusban, JohnMc, weheh)
Richard
On Aug 31, 9:26 pm, Philip Kilner wrote:
> Hi Richard,
>
> Richard wrote:
> > there was a lot of enthusiasm a month back about developing the
-shell=test
> --run=my_script.py
This feels awkward so I want to run my script with just:
> python my_script.py
How can I do that? It seems exec_environment is not the way.
In the previous post I was trying to import my model file.
Richard
On Aug 31, 10:54 pm, mdipierro wrote:
> Sorry, I d
globals().update(env('you_app_name', import_models=True))
> # now do whatever you need you can use request, db, helpers, etc.
>
> Massimo
>
> On Aug 31, 7:45 pm, Richard wrote:
>
> > I want to have a standalone script to do some operations on my
> > application
hahaha - I was concerned when I saw the title coming from an active
web2py user!
On Sep 1, 12:22 pm, mdipierro wrote:
> LMAO
>
> On Aug 31, 9:00 pm, weheh wrote:
>
> > I've been using web2py for around 6 months now and I thought I'd share
> > a bunch of reasons why I think web2py is a bad thin
cool example! - I'm using something similar.
But if it interferes with the logging module and doesn't work on GAE
maybe it's too intrusive to include in the scaffolding app.
Richard
On Sep 1, 1:13 pm, Iceberg wrote:
> On Sep1, 2:00am, mdipierro wrote:
>
> > It seem
I am using a SQLFORM.factory and the file is being saved to uploads/,
but that field is empty.
Is this functionality still only in trunk?
Richard
On Aug 27, 6:04 pm, mdipierro wrote:
> This should not be. Please check for spelling errors.
>
> On Aug 27, 2:32 am, Richard wrote:
&
I'm also looking forward to this functionality. Stackoverflow does it
really well.
There is an OpenID appliance:
http://w2popenid.appspot.com/init/default/wiki/main
And pyforum has plans for OpenID integration.
On Sep 2, 2:56 pm, weheh wrote:
> Lately, I've been seeing websites that let users
Having the snake connect with web and py is a great idea.
But I prefer the 1st snake with cuter expression and bigger head in
proportion to body.
On Sep 2, 2:39 pm, "Richard Gordon"
wrote:
> Dear web2py community:
>
> I recognize that this is very late to the web2py logo ga
pyforum.org is a good domain name so couldn't that be made the
official web2py pyforum website, assuming Julio is OK with that.
Richard
On Sep 2, 3:44 pm, mdipierro wrote:
> Although I do not think we should abandon google group we should setup
> and official web2py pyforum site
I think there are 2 Pro Max Richard's - me and the original poster.
On Sep 3, 8:45 am, weheh wrote:
> Current tally as of 6:45PM EST:
>
> Pro Max the snake:
> - weheh
> - Richard
> - Nik Go
> - Zoom.Quiet
> - rb (thanks for the $.20 -- Max is a lot better lookin
Amazon?
I have bought a few books from Lulu and haven't had any trouble.
On Sep 3, 2:15 am, David Watson wrote:
> Hi,
>
> I tried to buy the book this morning on lulu. What a nightmare.
> Started in safari 4.03 on OS X, couldn't get logged in or registered,
> generally came back with blank page
anded and styled similar to web2py.com to give it
> a cohesive feel.
> It should have a big fat 'Powered by pyForum' sticker on it somewhere
> that links to pyForum.org
>
> On Sep 2, 7:31 pm, Richard wrote:
>
> > pyforum.org is a good domain name so couldn't that
you can only submit one form at a time.
On Sep 4, 7:46 am, __Kyo__ wrote:
> How do i take a text box value form another form?
> thanks in advance
>
> On Sep 3, 8:36 am, weheh wrote:
>
> > Yes, I've done multiple forms before but haven't tested the double
> > submission, yet, because the doc sa
How should the active flag be set? Currently I have:
response.menu = [
['Home', request.controller == 'default', URL(request.application,
'default', 'index'), []],
...
]
The default examples always have 'False' for active.
Richard
On
passed.
On Sep 6, 9:43 am, mdipierro wrote:
> yes but I do not remember if the default layout would use this or not.
>
> On Sep 5, 6:18 pm, Richard wrote:
>
> > How should the active flag be set? Currently I have:
>
> > response.menu = [
> > ['Home&
> form.vars before calling form.accepts? I don't think form.vars is
> populated until after calling it.
>
> On Sep 2, 12:26 am, Richard wrote:
>
> > I am using a SQLFORM.factory and the file is being saved to uploads/,
> > but that field is empty.
> > Is this fun
I used the above script and it worked well.
Now I have multiple web2py apps on webfaction with lots of static
files. How can I configure this so that these files are served
directory by Apache?
Richard
On Aug 31, 12:09 am, jlegler wrote:
> Try running it like this:
>
> python2.5 web
Not sure if that is appropriate for Pycon though.
Richard
On Sep 7, 7:05 am, Massimo Di Pierro wrote:
> I would like to propose a talk and a tutorial for PyCon 2010.
>
> I could use your help.
>
> What topic specifically would you like to hear more about in detail?
>
> L
Got any ideas?
I'm thinking that the post processing takes too long, which is
triggering an error. Is that likely? And if so is there a fix?
I am using Apache.
thanks,
Richard
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Goo
atm.
Richard
On Sep 8, 8:28 pm, Vidul Petrov wrote:
> 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 configur
I often received that error with sqlite when the server was under
heavy load. My fix was to change to postgres.
Richard
On Sep 9, 1:00 am, Timbo wrote:
> Windows - source build previous version was 1.46 I think. I use
> sqlite for everything (that the DAL talks to anyway) but since
You need to specify the other controller or it will stay in obras:
URL(r=request, c='clientes', f='insert')
On Sep 9, 2:10 am, Carlos Aboim wrote:
> Hi everyone,
> Hoping everything all wright with you all.
>
> How do I call a controller function from one link in another
> controller.
>
> I h
I'm using apache on webfaction, which runs on Linux with mod_wsgi.
On Sep 9, 12:06 am, mdipierro wrote:
> Are you using the built-in web server? apache as a proxy? apache with
> mod_wsgi?
> Windows, Linux or Mac? Binary r source?
>
> Massimo
>
> On Sep 8, 8:09 am
assuming you are running this from the shell, are you calling db.commit
()?
On Sep 9, 5:56 am, Bernardo Botelho wrote:
> Hello for everyone.
>
> I'm new at web2py and I'm trying to do some insertion in a table of my
> database. But, after the insertion, I need to get the id value of the
> new r
c? Binary r source?
>
> That is a mod_proxy error, so more likely they are using mod_proxy to
> CherryPy wsgiserver.
>
> Graham
>
> > Massimo
>
> > On Sep 8, 8:09 am, Richard wrote:
>
> > > hi,
>
> > > I have an upload form that requires
strftime() is a method of datetime and your dates are now strings.
You can use strptime() to parse from string to date.
On Sep 9, 3:22 pm, jayvandal wrote:
> HI,
> I get an error relating to strftime.
> I had date fields in my database, but I wanted to enter old date such
> as '1776-07-04' so
o the thread.
Richard
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to web2py@googlegroups.com
To unsubscribe from this group, send email to
yes, but it would be good if they officially supported/recognized
web2py like they do Django, Turbogears, etc.
On Sep 9, 4:53 pm, Graham Dumpleton
wrote:
> On Sep 9, 3:59 pm, Richard wrote:
>
> > There are 2 threads in the WebFaction forum at the moment about
> > getting
hi,
is there an efficient way to get a random record from a table?
An obvious non-efficient way would be to get all the records and do
random.choice().
thanks,
Richard
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
I am using SQLFORM.factory to upload some files. By default
form.accepts() saves the file to disk. Is there a way to prevent this,
like the dbio flag does for the database?
I want to examine the file in memory and so don't need to write to
disk.
thanks,
Ri
I was also concerned with this so I asked this question recently on
the webfaction forum: http://forum.webfaction.com/viewtopic.php?id=3215
I haven't tried out the proposed solutions yet.
Richard
On Sep 10, 5:15 am, Arvind wrote:
> Hello,
>
> Since, Massimo just told us, tha
database performance over the last few days and solved most of the
problems when I added an index to the main table.
Richard
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this g
yeah I know I can do it manually - that's what I ended up doing.
The reason given in the manual for lack of an API is it would "make
migrations complex". But this wouldn't be an issue in production where
migrate=False.
Or is there another reason?
Richard
On Sep 10, 11:53
I've created a backend process to postprocess the uploaded files
separately to the request, and so am no longer receiving this error.
Is there a way to configure Apache to allow more time before this
timeout error?
Richard
On Sep 9, 11:38 am, Richard wrote:
> My exact setup is d
Oh fair enough.
How far along is the new DAL?
Richard
On Sep 10, 12:19 pm, mdipierro wrote:
> not all database allow create index "if not exists" this means web2py
> would have to keep track of what indices have been created and what
> no. This would introduce a new leve
but (I think) he wants something working on GAE.
On Sep 10, 11:55 am, mdipierro wrote:
> I thought I answered this
>
> random_record = db().select(db.mytable.ALL,orderby=',limitby=
> (0,1))[0]
>
> On Sep 9, 8:27 pm, Iceberg wrote:
>
> > On Sep9, 8:07pm, Richar
why do you need to update the form?
On Sep 10, 6:58 am, __Kyo__ wrote:
> def reporte():
> form=FORM(TABLE(
> TR("Tirador",SELECT(_type="select",_name="usuario",
> *[OPTION(x.apellidopaterno,' ',x.apellidomaterno,'
> ',x.nombre,_value=x.id)
> for x in db().select(db.usuar
t seems complex because you need to
create a separate symbolic application for each static directory.
Or am I misunderstanding?
Richard
On Sep 10, 2:02 pm, Yarko Tymciurak wrote:
> I think you might be asking something a bit different; Webfaction has a URL
> where it says it can
It sounds like you're getting the HTML for the login page, which is
what I would expect because you're requesting that URL.
Also you're missing a ")" for URL()
Richard
On Sep 10, 3:11 pm, eddwinston wrote:
> Hi,
>
> This is what I did:
>
> jQuery.ajax(
independent however.
>
> > > On Sep10, 9:55am, mdipierro wrote:
>
> > > > I thought I answered this
>
> > > > random_record = db().select(db.mytable.ALL,orderby=',limitby=
> > > > (0,1))[0]
>
> > > > On Sep 9, 8:27 pm, Iceberg wrote:
>
&
Check out lxml: http://codespeak.net/lxml/parsing.html
It is also great at parsing HTML and very efficient:
http://blog.ianbicking.org/2008/03/30/python-html-parser-performance/
Richard
On Sep 8, 11:03 am, "mr.freeze" wrote:
> I am working with web services from
I would also be interested in understanding more about the DAL,
particularly the new one in development.
On Sep 10, 2:02 am, "mr.freeze" wrote:
> I would like to see a 'deep dive' into the DAL included complex
> queries, best practices, limitations, tips and tricks.
>
> On Sep 6, 4:05 pm, Massi
Y CRON: Stale cron.master detected
ERROR:root:WEB2PY CRON: Cron fail, reason: [Errno 2] No such file or
directory: '/home/web2py/applications/admin/cron/cron.running'
Do you have an idea what is going on?
And is there a way to completely disabl
One advantage of sqlite is that migrations work much better than
postgres, so it is great to use while developing your app.
On Sep 11, 4:14 am, Joe Barnhart wrote:
> Good point. Another factor is handling threads. IIRC Sqlite won't handle
> more than 1 thread while the others will.
>
> On Thu
hi,
In my above example I used "--no-cron" but still got a cron error.
Is there another option?
Richard
On Sep 11, 2:56 pm, Yarko Tymciurak wrote:
> see output of:
>
> python web2py.py -h
>
> for the option to disable cron
>
> On Thu, Sep 10, 2009 at 7:
> on delete cascade in SQLite
Fantastic! My feature request for this can be closed:
http://code.google.com/p/web2py/issues/detail?id=50
Did the solution involve sqlite triggers?
> row = db(db.mytable.id>0).select().first()
very convenient
Richard
On Sep 11, 3:12 pm, mdipierro wrote:
> Can you do it or should I do it?
I tried but it seems I don't have privilege.
On Sep 11, 4:42 pm, mdipierro wrote:
> On Sep 11, 1:19 am, Richard wrote:
>
> > > on delete cascade in SQLite
>
> > Fantastic! My feature request for this can be
> > closed:
x27;), because the original
string may have included an underscore. So, what do you suggest?
Richard
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to web2
(IIRC).
Richard
On Sep 11, 3:05 pm, mdipierro wrote:
> 1) actually migrations work better in posgresql because all types of
> alter tables are supported (http://www.sqlite.org/faq.html#q11).
>
> For example if you change the type of a column with postgresql web2py
> will create a new
has this changed since sqlite2?
SQLite is "typeless": http://www.sqlite.org/datatypes.html
On Sep 11, 7:01 pm, Fran wrote:
> On Sep 11, 9:29 am, Richard wrote:
>
> > Well, yesterday I changed a boolean type column to integer in my model
> > and all hell broke lo
/random-title-754005/
I think I'll do that.
Richard
On Sep 12, 1:10 am, mdipierro wrote:
> still gets repaced by _
>
> On Sep 11, 9:52 am, Jonathan Lundell wrote:
>
> > On Sep 11, 2009, at 1:16 AM, Richard wrote:
>
> > > I want to make my URLs prett
I just checked and you're right.
On Sep 13, 9:19 pm, rev wrote:
> AFAIK You can prepend the function name with a double underscore, e.g.
> "__thefunction():"
> I've used this to prevent the function to show up in the admin
> interface.
> You should check if it indeed isn't mapped to a URL.
--~-
I noticed that examples in the manual on p254 and p303 use the old
SQLDB/SQLField syntax.
Richard
On Sep 13, 4:30 pm, mdipierro wrote:
> Yes, SQLField == Field but use the latter.
>
> On Sep 13, 1:02 am, weheh wrote:
>
> > SQLField is deprecated, I believe. Use Field.
>
&
SQLFORM knows which record to
edit, so is there a way to hide it?
thanks,
Richard
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to web2py@googlegroup
xecute(query)
File "/home/web2py/gluon/sql.py", line 770, in
self._execute = lambda *a, **b: self._cursor.execute(*a, **b)
ProgrammingError: canceling statement due to statement timeout
The database is quite big so I guess that is causing the timeout. Is
there a way to export larg
I was in the shell (hence the ">>>") when I received this error.
Does --timeout=TIMEOUT also apply to the shell?
Richard
On Sep 15, 12:10 am, mdipierro wrote:
> You can can increase timeout (web2py.py -h) or, better, use the shell
>
> py
thanks, I should have thought of that.
If 'id' is not in 'fields' do you think it should be hidden anyway? Or
would that break backward compatibility?
On Sep 15, 12:11 am, mdipierro wrote:
> or
> db.table.id.readable=False
>
> On Sep 14, 4:38 am, Fran wrote:
&
pierro wrote:
> yes, they should do. It really takes nothing since already list
> cherrypy and we have more users.
>
> On Sep 9, 5:51 am, Richard wrote:
>
> > yes, but it would be good if they officially supported/recognized
> > web2py like they do Django, Turbogears,
internally fetch() calls urllib if you're not on GAE:
def fetch(url):
try:
from google.appengine.api.urlfetch import fetch
if url.find('?') >= 0:
(url, payload) = url.split('?')
return fetch(url, payload=payload).content
return fetch(url).conte
it's strange then that I received the timeout error in the shell. Is
this a bug, or is there another possible cause?
On Sep 15, 12:07 pm, mdipierro wrote:
> No timeout does not apply to the shell.
>
> On Sep 14, 6:56 pm, Richard wrote:
>
> > I was in the shell (
ars.model.file, open
(model_filename, 'wb'), int(request.env.content_length))
Richard
On Sep 17, 7:29 am, mdipierro wrote:
> Currently the only way to achieve this is:
> 1) move the file after has been uploaded
> 2) write your own download controller so that file can be retrieve
You can file bug reports at the Google Code page:
http://code.google.com/p/web2py/issues/entry
Maybe a link could be added there from the support page:
http://web2py.com/examples/default/support
Richard
On Sep 17, 3:23 am, AndrewLoot wrote:
> 1: how do i file a bug?? put a link to file a
yeah URL() is the best way.
Your previous problem was because "posts/show/" is a relative link
from the current page, while "/posts/show/" is an absolute link to the
root of the server.
Richard
On Sep 16, 7:47 pm, pistacchio wrote:
> i did that with the URL tag. :
https://mdp.cti.depaul.edu/wiki/default/page/7ae7f7c4-cd8d-4909-b67f-...
ack that's an ugly URL. Has whoever is maintaining the wiki considered
using the title of the page like Mediawiki?
Richard
On Sep 16, 11:10 pm, Anand Vaidya wrote:
> Hi Anthon (& list members)
>
>
thanks for exposing that - now I can simplify some existing code.
On Sep 17, 12:29 pm, mdipierro wrote:
> Ok. try this:
>
> db.table.field.uploadfolder=od.path.join(request.folder,"uploads/
> somewhere")
>
> reuires trunk. folder somewhere must exist.
>
>
no - from command line.
On Sep 16, 2:37 pm, mdipierro wrote:
> You are not talking about the web based shell, are you?
>
> On Sep 15, 8:34 pm, Richard wrote:
>
> > it's strange then that I received the timeout error in the shell. Is
> > this a bug, or is there ano
are not 512 -> are now 512
On Sep 18, 4:40 am, mdipierro wrote:
> Please give it a try. and report any bug.
>
> The major changes are:
> 1) lots of small bug fixed
> 2) for upload fields you can choose the Field(...,uploadfolder="...")
> 3) includes latest wsgiserver and should solve problems w
that snippet duplicates the models, which could lead to maintenance
problems.
You could use your existing model with:
import os
os.chdir('/path/to/web2py/')
from gluon.shell import env
globals().update(env('you_app_name', import_models=True))
On Sep 18, 8:33 am, Jose wrote:
> On 17 sep, 21:44
djangopeople.net where web2py developers can create a profile? I put
my own profile on djangopeople.net and receive an email every few
months, usually from a company in my city.
Richard
On Sep 22, 6:18 am, Vidul Petrov wrote:
> Hi all,
>
> Does it make any sense if I start a website
use the labels argument of SQLFORM. Something like labels = {'name':
'Your full name:'}
On Sep 22, 10:11 am, Arvind wrote:
> Hello,
>
> i am writing this in my view to show a label
> {{=form.custom.label.name}}
>
> but how can i define this label with custom properties in the
> controller ?
>
>
to set attributes of your form input's you could use the FORM()
interface, which gives you complete flexibility over the layout.
Or if you prefer the convenience of SQLFORM you could subclass a new
widget (check out 7.5 in the manual).
On Sep 22, 10:10 am, Arvind wrote:
> Hello,
>
> I am using
about setting the ID, I'm not sure. I just manually setting the ID but
it was ignored:
def test():
form = SQLFORM.factory(Field('name'))
if form.accepts(request.vars, session, dbio=False):
db.test.insert(id=33, name=form.vars.name)
return dict(form=form)
On Sep 22, 10:1
during development you could use:
import mymodule
reload(mymodule) # remove once stable!!
On Sep 22, 10:41 pm, leone wrote:
> When I change a module sometimes it is not reloaded and I can see the
> previous version in action.
> How can I do?
> Thanks
--~--~-~--~~~---
e tree IDs.
But now I have ~150K trees so it needs to be more efficient.
Is this possible in a single query?
thanks,
Richard
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To
301 - 400 of 4772 matches
Mail list logo