I use MS Windows specific:(its excerpt from Lotus Script)
Set objhttp = CreateObject("MSXML2.ServerXMLHTTP")
Set objXMLDocument = CreateObject ("Msxml2.DOMDocument.3.0")
Call objhttp.Open("POST",URL,
False,settings.api_email(0),settings.api_password(0))
Things are working fine when authentication
Talking about the layout of the example app?
The only issue is that we need the right to redistribute the layout
(because ships with web2py).
This could be done.
Let me think some more about rules. Can you outline a set of desired
goals for the new site?.
Massimo
On 15 Ago, 23:09, Bruno Rocha w
The link above is deprecated. The book says yes. That is the final
work on it.
On 16 Ago, 00:25, Philip wrote:
> Does web2py support python decimal data type for fields?
>
> The info on the web athttp://www.web2py.com/examples/default/dal
> suggests the answer is no, but I just wanted to confirm.
Please use sql.py not dal.py. The latter is an experimental rewrite.
Make sure the DAL(,folder=...) is specified and point to the
location where migration files are (.table)
On 16 Ago, 03:11, Bruno Rocha wrote:
> I am using DAL for a python Tcl/Tk project
>
> I made a copy of "gluon" folder a
Or this:
http://stores.lulu.com/web2py
On 16 Ago, 06:10, mdipierro wrote:
> There is a problem from lulu. It seems that it does not show the same
> items to different users. For example now I am using somebody else
> computer from Italy and no web2py book is listed at all.
>
> If you look for th
There is a problem from lulu. It seems that it does not show the same
items to different users. For example now I am using somebody else
computer from Italy and no web2py book is listed at all.
If you look for the item directly it is there:
http://www.lulu.com/product/a-copertina-morbida/web2py-%
I think it is much simpler than people assume here. I have seen many
users not Python experts, comeing from compiled languages, they click
on [bytecode compile] at every change. That is not necessary here.
That is a optional locking mechanism not a required step.
On 15 Ago, 21:42, mart wrote:
> A
You cannot this way. because the Id is not assigned by the database
until the insert is performed.
You would have to use crud create onaccept method to perform a method
update immediately after it is created and recomputes the slug.
On 15 Ago, 20:26, Bruno Rocha wrote:
> # brand table:
> db.defin
At this point my problem is not technical but legal:ùùhttp://
groups.google.com/group/web2py/browse_thread/thread/
fba9d2f7041c7eb6/6b326b090be12a4e?
lnk=gst&q=ibookstore#6b326b090be12a4e
On 15 Ago, 18:12, Timmie wrote:
> Hello Massimo!
>
> > I will take somehelpin converting to ePub.
>
> I yes
I will look into this, something that should be wrote:
> failure
>
> I have the following model:
>
> db.define_table('race',
> Field('name', 'string', length=32, default='', unique=True,
> ondelete='CASCADE', label='Race'),
> format='%(name)s'
> )
> db.race.name.requires = [
>
They get updated only when executed.
On 15 Ago, 17:21, Jonathan Lundell wrote:
> On Aug 15, 2010, at 6:48 AM, mdipierro wrote:
>
> > IS_IN_SET(set,[T(x) for x in set])
>
> How do the language files get updated for something dynamic like this?
>
>
>
>
>
> > On Aug 15, 7:54 am, Fabio Alessandro Loc
How would you like it to work?
On 15 Ago, 17:27, Niphlod wrote:
> how are you posting data to the consumer ?
>
> apart from auth.settings.allow_basic_login = True there's nothing I
> did to enable itand it's working (sadly not the way I'd like, but
> works as intended (additional method of a
take a look at the bulk loader from google:
http://code.google.com/appengine/docs/python/tools/uploadingdata.html
i think it takes a CSV format, so if you can get your data from sqlite
in proper CSV format you should be able to upload via bulk loader.
good luck!
christian
On Aug 15, 8:33 am, Ju
I think logo looks ok. But website should be livelier.
On Aug 15, 3:09 pm, Bruno Rocha wrote:
> Look at that example, an $250 professional logo, made by 23 professional
> creativeshttp://crowdspring.com/project/2287081_logo-for-community-photo-shari...
>
> or those $600 Small website
> layouthtt
Looks like it does:
http://web2py.com/book/default/chapter/06?search=decimal
On Aug 15, 3:25 pm, Philip wrote:
> Does web2py support python decimal data type for fields?
>
> The info on the web athttp://www.web2py.com/examples/default/dal
> suggests the answer is no, but I just wanted to confirm.
I am using DAL for a python Tcl/Tk project
I made a copy of "gluon" folder and I am trying DAL from command shell as:
>>> from dal import *
now I have DAL and Field and everything works very well, but not the
Migrations.
>>>db.define_table('person')
ok I have a person table just with the id
>>>db
For those who signed up and saw a access denied, I added a DEMO mode
in home page. Click it and you will have access to upload and files
but not uploaders which is only seen by the admin.
also I looked at appliance I couldn't find the thing where to add
appliance but emailing to you so i emailed i
Does web2py support python decimal data type for fields?
The info on the web at http://www.web2py.com/examples/default/dal
suggests the answer is no, but I just wanted to confirm.
I have a data base with a lot of financial data that needs to be
accurate to four decimal places (sometimes more), an
Look at that example, an $250 professional logo, made by 23 professional
creatives
http://crowdspring.com/project/2287081_logo-for-community-photo-sharing-site-dropeventcom/
or those $600 Small website layout
http://crowdspring.com/project/2287182_abeilla-living-website/
http://crowdspring.com/pr
I am willing to contribute a piece of donation, so that the web2py have a
site/logo done by a professional.
We can get it for about $ 500 in http://crowdspring.com
2010/8/15 Lasiaf
> I think web2py site needs to be redesigned. You could ask university
> students to do it for free for their port
I like the deactivate account idea. It would be nice for it to be
built in.
On Aug 15, 11:13 am, Tim Michelsen
wrote:
> The register for could also benefit from a password strength checker.
I think web2py site needs to be redesigned. You could ask university
students to do it for free for their portfolio. :)
I almost always use templates for my own projects. But that's not
gonna be good for web2py.
On Aug 15, 11:12 am, Tim Michelsen
wrote:
> Hello,
> my suggestion for the web2py web
Are you referring to the byte-compiled (.pyc) version of your code?
and that your changes to .py are not being picked up @ run time and
\the expected results are either lagging nor just plainly not showing
up? Are these your own modules that you are making reference to
outside of a controller's sc
# brand table:
db.define_table('brand', Field('name'))
# The car table with computed field:
db.define_table('car',
Field('brand', db.brand),
Field('model'),
Field('year', 'integer'),
Field('slug', n
The register for could also benefit from a password strength checker.
Hello,
my suggestion for the web2py webpage
Add a news menu to the top menu and the add the following 3 colums to
the page using RSS aggregation:
left center
right
web2py twitter last 5 posts web2py users list english last 5
commits web2py code
web2py
Hello,
I recently checked out two sites created by Lasiaf using Basic
authetication and Google authentication; I also just checked out the
default welcome app.
I miss the following features in the authentication system:
option for profile removal
possibility to fu
Hello Massimo!
> I will take somehelpin converting to ePub.
I yesterday found this application which can help you:
Calibre: A ebook library:
# New tool to help prepare EPUBs for publication [0.7.8]
"calibre now contains a new command line tool called epub-fix that can
automatically fix common p
Hello,
what's the best way to import my currently sqlite db to GAE?
I think for each table:
1) export CSV on nonGAE,
2) then paste it into some form in GAE environment and adapt
import_from_csv_file... ?
but maybe there are other/better/ready recipies?
how are you posting data to the consumer ?
apart from auth.settings.allow_basic_login = True there's nothing I
did to enable itand it's working (sadly not the way I'd like, but
works as intended (additional method of authentication...))
On Aug 15, 2010, at 6:48 AM, mdipierro wrote:
> IS_IN_SET(set,[T(x) for x in set])
How do the language files get updated for something dynamic like this?
>
> On Aug 15, 7:54 am, Fabio Alessandro Locati wrote:
>> Hi,
>> I've created a set in 'modules/sets.py'. I use this set for a db field
>> (
I looked the app you sent me. There are two links:
- Play Music
- Music Player
I can click on either of them and it plays the music for me (in the
first case in the browser, in the second case embedded in the
generic.html view).
Perhaps I do not understand what the problem is.
On Aug 14, 4:51
Hi firedragon852,
On Aug 14, 9:02 pm, firedragon852 wrote:
> I am doing development under windows so I am running the binary
> version of web2py for windows.
>
> It seems that whenever I change my code I need to clean/compile via
> the admin interface for the changes to be effective.
>
> Is there
IS_IN_SET(set,[T(x) for x in set])
On Aug 15, 7:54 am, Fabio Alessandro Locati wrote:
> Hi,
> I've created a set in 'modules/sets.py'. I use this set for a db field
> (I use db.table.field.require = IS_IN_SET(set)). Is possible to
> internazionalize it? If yes, how?
>
> Ps: another question about
keywords =
[str(T('Furniture')),str(T('Store')),str(T('')),str(T(''))]
On Aug 15, 6:33 am, Jason Brower wrote:
> It seems I can't do this.
> keywords = [T('Furniture'),T('Store'),T(''),T('')]
> response.meta.keywords = ' '.join(keywords)
> I was thinking it would be usefully to localize my keywor
Hi,
I've created a set in 'modules/sets.py'. I use this set for a db field
(I use db.table.field.require = IS_IN_SET(set)). Is possible to
internazionalize it? If yes, how?
Ps: another question about internazionalization: it seems that
pressing 'update all languages' web2py adds to each lang file
It seems I can't do this.
keywords = [T('Furniture'),T('Store'),T(''),T('')]
response.meta.keywords = ' '.join(keywords)
I was thinking it would be usefully to localize my keywords, but maybe
not. :P
Any ideas?
Best Regards,
Jason Brower
Sorry. I do not understand what you want to do. Can you provide an
example of code and/or desired workflow?
Massimo
On Aug 15, 3:18 am, Bruno Rocha wrote:
> But I cant access form in this case, cause I am doing that inside a model,
> and inserting the record via appadmin.
>
> File "/home/bruno/w
But I cant access form in this case, cause I am doing that inside a model,
and inserting the record via appadmin.
File "/home/bruno/web2py/applications/lojadecarro/models/carros.py", line
20, in get_slug
print form.vars.id
NameError: global name 'form' is not defined
Gonna try with crud
20
form.vars.id contains the id or a newly inserted record.
On Aug 15, 2:58 am, Bruno Rocha wrote:
> I Just can't figure out how to retrive the inserted id as Row object does
> not have the 'id' key
>
> 2010/8/15 Bruno Rocha
>
>
>
> > I am trying to do everything in the lambda, without the need to
I Just can't figure out how to retrive the inserted id as Row object does
not have the 'id' key
2010/8/15 Bruno Rocha
> I am trying to do everything in the lambda, without the need to def the
> function.
>
> Tks..
>
> 2010/8/15 mdipierro
>
> If you define a function you do not need the lambda
>
I am trying to do everything in the lambda, without the need to def the
function.
Tks..
2010/8/15 mdipierro
> If you define a function you do not need the lambda
>
> Field('slug', notnull=True, compute=get_brand),
>
> On Aug 15, 2:45 am, Bruno Rocha wrote:
> > Thank you Massimo! works very wel
If you define a function you do not need the lambda
Field('slug', notnull=True, compute=get_brand),
On Aug 15, 2:45 am, Bruno Rocha wrote:
> Thank you Massimo! works very well. I just needed to change a little in
> order to get the brand.name instead brand.id in the slug
>
> This:
>
> def get_br
Thank you Massimo! works very well. I just needed to change a little in
order to get the brand.name instead brand.id in the slug
This:
def get_brand(r):
import re
brand = db(db.brand.id==r.brand).select().first()
slug_regex = re.compile('[^\w-]')
return slug_regex.sub('',brand.nom
44 matches
Mail list logo