Jon - thanks for taking the time to putting together the notes on
this. Looking forward to learning more about your CMS !
On Dec 19, 1:33 pm, Christopher Steel wrote:
> tks,
>
> Looks great!
>
> C
>
> On Dec 18, 4:59 am, Jon Romero wrote:
>
> > 10 sorries for the late replies but I have A LO
On Dec 19, 12:22 am, Thadeus Burgess wrote:
> This has been in place for a while now. It was part of the original plugin_
> schema, to load say "comments" easily. There is a screencast on vimeo about
> this as well that explains LOAD, how it works, and its parameters.
Ah - Thanks Thadeus -
I lo
This has been in place for a while now. It was part of the original plugin_
schema, to load say "comments" easily. There is a screencast on vimeo about
this as well that explains LOAD, how it works, and its parameters.
-Thadeus
On Fri, Dec 18, 2009 at 10:59 PM, Yarko Tymciurak <
resultsinsoftw
... looks like something private you are working on (not in mercurial
tree);
Maybe, before you describe how one would use this, you can describe
what it intends to do / what it is like (there is already a load
environment in gluon, so "LOAD" in views might mean many things...):
Can you descri
tks,
Looks great!
C
On Dec 18, 4:59 am, Jon Romero wrote:
> 10 sorries for the late replies but I have A LOT of work!
> I will try to write NOW a tutorial and put it on a slice :D.
> The CMS is almost done (and it rcks). I'll keep you informed!
>
> On Dec 8, 11:37 pm, Alex Fanjul wrote
http://www.web2py.com/AlterEgo/default/show/252
--
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 unsubscribe from this group, send email to
web2py+unsubscr...@googlegroups.com.
For
I downloaded:
http://www.web2py.com/examples/static/web2py_src.zip
then add pieces from:
http://www.web2pyslices.com/main/slices/take_slice/10
and gave it a run and I get length: 0 uploaded : 0
Anyone gotten this to work?
thx,
-wes
--
You received this message because you are subscribed to
@massimo - I am serving it from the static folder with web2py. I see
that it was added to contenttype.py (although in the wrong place, w
comes before x :)
@jonathan - I added the entry to CONTENT_TYPE, restarted the app,
cleared Firefox's cache and...money.
Thanks!
On Dec 18, 2:25 pm, mdipierro
http://www.web2py.com/semantic
We could use some testers.
Massimo
--
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 unsubscribe from this group, send email to
web2py+unsubscr...@g
fixed now in trunk.
On Dec 18, 1:52 pm, Jonathan Lundell wrote:
> On Dec 18, 2009, at 11:48 AM, mdipierro wrote:
>
> > How is it served? via default/download or via static? Which web2py
> > version?
>
> There's no w2p entry in CONTENT_TYPE.
>
>
>
> > On Dec 18, 1:24 pm, "mr.freeze" wrote:
> >> W
On Dec 18, 2009, at 11:24 AM, mr.freeze wrote:
> When I host a .w2p file on Dreamhost, it tries to open in the browser
> with Firefox, displaying garbled binary data on the screen. I have
> tried this in my .htaccess file:
>
>
> ForceType application/octet-stream
> Header set Content-Dispositi
On Dec 18, 2009, at 11:48 AM, mdipierro wrote:
> How is it served? via default/download or via static? Which web2py
> version?
There's no w2p entry in CONTENT_TYPE.
>
> On Dec 18, 1:24 pm, "mr.freeze" wrote:
>> When I host a .w2p file on Dreamhost, it tries to open in the browser
>> with Firef
How is it served? via default/download or via static? Which web2py
version?
On Dec 18, 1:24 pm, "mr.freeze" wrote:
> When I host a .w2p file on Dreamhost, it tries to open in the browser
> with Firefox, displaying garbled binary data on the screen. I have
> tried this in my .htaccess file:
>
>
>
Thanks a lot Yarko. I downloaded ipython and watched one video. Very
very cool. I think this will be very handy.
As for WingIDE, i'm strictly open source. Not because I have
principles, i'm just poor :)
Jake
On Dec 18, 11:56 am, Yarko Tymciurak
wrote:
> One more tip: if you have iPython i
When I host a .w2p file on Dreamhost, it tries to open in the browser
with Firefox, displaying garbled binary data on the screen. I have
tried this in my .htaccess file:
ForceType application/octet-stream
Header set Content-Disposition attachment
...and...
AddType application/octet-stream
On Dec 15, 6:09 pm, Thadeus Burgess wrote:
> The real problem is the cohesion between Models and Views within the
> "internal" aspects of web2py. SQLFORM is way too cohesive between
> validation and rendering.
I think the term that describes this is "coupling" - there is design
coupling between v
Thank you for bringing this up and sorry the typo.
Massimo
On Dec 18, 11:44 am, "hamdy.a.farag" wrote:
> mdipierro , you were absolutely right , it worked for me coz I just
> entered the right characters in recaptch and I was able to login ,
> although it would have been worked if I entered any
mdipierro , you were absolutely right , it worked for me coz I just
entered the right characters in recaptch and I was able to login ,
although it would have been worked if I entered any garbage characters
as well since there's no validation actually on recaptcha
sorry for not testing right in the
On Dec 18, 11:12 am, DenesL wrote:
>
> I am not saying it was hg's fault, it could have been the client or a
> PIBKAC (problem is between the keyboard and chair), I just don't know
> what went wrong or where.
:-)
>
> > Unlikely... more likely a merge effect.
>
> > Denes: did you use 'hg p
Hi Francoise
Re: Currency. Yes, we also have a field to indicate currency for
each transaction. But we only use EUR and GBP and we do not have any
currency translation/revaluing processes.
Re: Multi-Company. For transportability and auditing etc I could see
the point of having separate DBs.
No guess. No accusation. It was a question.
What I meant it a clarification from Denes on whether by "Update
glitch?" he meant "mercurial glitch?" or something else.
Massimo
On Dec 18, 11:01 am, Yarko Tymciurak
wrote:
> On Dec 18, 10:47 am, mdipierro wrote:
>
> > hg glitch? This would be very b
On Dec 18, 11:59 am, Yarko Tymciurak
wrote:
> On Dec 18, 10:47 am, mdipierro wrote:
>
> > hg glitch? This would be very bad.
I am not saying it was hg's fault, it could have been the client or a
PIBKAC (problem is between the keyboard and chair), I just don't know
what went wrong or where.
>
> Un
Yarko,
wing-ide 101 version is free.
http://wingware.com/downloads/wingide-101
it lacks some features of the paid versions though.
-wes
On Fri, Dec 18, 2009 at 9:56 AM, Yarko Tymciurak
wrote:
> One more tip: if you have iPython installed ( www.ipython.org ), then
> the shell will launch in i
On Dec 18, 10:47 am, mdipierro wrote:
> hg glitch? This would be very bad.
given the lack of any data to suggest anything like this, that seems
like a wild guess / wild accusation
doesn't serve any useful purpose. Better to ask for specific data.
--
You received this message because you a
On Dec 18, 10:47 am, mdipierro wrote:
> hg glitch? This would be very bad.
Unlikely... more likely a merge effect.
Denes: did you use 'hg pull' or 'hg merge'?
Suggest next time, a full clean repository clone in a separate space -
then at least you'd have the difference between the trees to ins
One more tip: if you have iPython installed ( www.ipython.org ), then
the shell will launch in ipython.
One thing this buys you (as you learn about web2py) is completion -
TAB key.
This can be really useful.
I also use (a LOT) WingIDE... http://www.wingware.com/doc/howtos/web2py
When you run
hg glitch? This would be very bad.
On Dec 18, 10:18 am, DenesL wrote:
> After adding a print key statement in line 1269 I got no error.
> After deleting sql.py and updating hg I can't reproduce the problem.
> Update glitch?.
--
You received this message because you are subscribed to the Google
After adding a print key statement in line 1269 I got no error.
After deleting sql.py and updating hg I can't reproduce the problem.
Update glitch?.
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to web...@
Thanks Denes,
I actually tried this, which precipitated my first post on this group,
which resulted in mdipierro telling me the web-based console didn't
work with sqlite. I didn't think to drop to the shell and do it from
there. Great tip. I've put quite a bit of time into the epydocs, and
yes,
Great video Mengu. Very helpful! Not only did it show a many of the
capabilities of web2py, but i learned some really handy Python idioms
(such as List Comprehensions). Also, i really liked the fact that you
showed the real process- thinking, trying, retrying, diving into the
web2py source... ex
On Dec 16, 4:49 pm, mdipierro wrote:
> Yes, there is a jquery tooltips plugin/
I use ClueTip: http://plugins.learningjquery.com/cluetip/
If you want to see an example of it's integration, I call it like
this:
Copy script to /static/scripts
In my case:
http://trac.sahanapy.org/browser/static/scr
In the first book there was an excelent diagram on page 133 about the
relation between these objects, which unfortunately was missing from
the second edition and would need to be updated anyway.
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
Oops... (I wasn't typing the 'print' part)
Same error here using 1.74.3
Works fine in 1.74.2
Looking into it...
Denes
--
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 unsubscribe
Actually it is correct
print repr(db.instansie)
would print:
but
print db.instansie
is the same as
print str(db.instansie)
and prints only the table name.
On Dec 18, 8:55 am, DenesL wrote:
> Johann,
>
> print db
> seems ok and shows instansie as one of the db tables but
>
> print db.instansie
Johann,
print db
seems ok and shows instansie as one of the db tables but
print db.instansie
is not ok, it should output
maybe there is typo somewhere and db.instansie is being reassigned (=)
instead of compared (==).
Denes.
--
You received this message because you are subscribed to the Goog
i have uploaded the application within this screencast to github. here
you can see: http://github.com/mengu/web2py-screencast
--
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
Just adding my two cents since Denes explained it already.
db=DAL(...)
right now DAL is a function and it may return one of two database
objects (SQLDB or GQLDB). In there future DAL will become a class and
db will be an instance of the DAL class. This will not change the API.
db() is the Set of
Jake,
one of the things that helped me when I started with web2py was
running it in a shell from the command line and using python functions
like dir on the web2py objects, as explained in chapter 4 in the book:
web2py.py -M -P -S your-app-name
epydocs (http://web2py.com/examples/static/epydoc/in
Thanks Mengu, it helps a lot.
On Dec 18, 8:35 am, Mengu wrote:
> Dear Jake
>
> the information goes between db() is the query. for example,
> usersWithNameJake = (db.auth_user.first_name == "Jake") is a query
> which you can use as db(usersWithNameJake).
>
> the select() method takes the table f
Dear Jake
the information goes between db() is the query. for example,
usersWithNameJake = (db.auth_user.first_name == "Jake") is a query
which you can use as db(usersWithNameJake).
the select() method takes the table field arguments to select, like db
(usersWithNameJake).select(db.auth_user.firs
First, let me say that i'm 10 days into Python and Web2Py. I
apologize if this is so rudimentary as to appear stupid.
So there is no DAL class. DAL is a function, exported from the
gluon.sql module, that returns a SQLDB object if not using GAE, so:
db = DAL('foo')
makes db an instance of SQL
Updated the slice:
http://www.web2pyslices.com/main/slices/take_slice/18
Enjoy!
On Dec 8, 11:37 pm, Alex Fanjul wrote:
> Woww!! it seems outstanding!!! with clear and bright design!!
> Alex F
>
> El 08/12/2009 7:01, Darcy Clark escribi :
>
>
>
> > Jon,
>
> > Any chance you could put some notes
10 sorries for the late replies but I have A LOT of work!
I will try to write NOW a tutorial and put it on a slice :D.
The CMS is almost done (and it rcks). I'll keep you informed!
On Dec 8, 11:37 pm, Alex Fanjul wrote:
> Woww!! it seems outstanding!!! with clear and bright design!!
> A
Oh, sorry guys for the 'quotes' woes :D
On Nov 21, 9:50 am, David wrote:
> Using the code select. It's the box on the right hand side of the
> code with an arrow.
>
> I am pasting the text into TextEdit for a test. But it's the same as
> I mentioned above.
> It might be different on a PC or Lin
Your requries says
company must be in company.id and company cannot be in company.id
Your custom error message is probably throwing you off, since company does
not exist in company.id, it throws an error.
You want..
db.paymentdata.company.requires = [IS_IN_DB(db, 'company.id',
'%(companynam
2009/12/15 mdipierro :
> XML(gluon.contrib.markdown.WIKI
> (page.body,safe_mode=False),sanitize=True)}}
>
> should be
>
> XML(gluon.contrib.markdown.WIKI(page.body,safe_mode=False).xml
> (),sanitize=True)}}
>
Thanks. Now the error message is gone.
As a test the following kode:
-
I defined the following table:
db.define_table('paymentdata',
Field
('company',db.company,default='',notnull=True,ondelete='CASCADE',unique=True),
Field('account',length=10,default='',notnull=True),
Field('BIC',length=8,default='',notnull=True),
Field('IBAN',length=34,default='',no
47 matches
Mail list logo