It seems that I cannot send emails as html (they are displaying as
text).
mail = Mail()
mail.settings = ...
mail.send(to=user.email, subjest=subject, message=(message_text,
message_html))
Any clues?
Check this out (needs a lot of work)
http://bitbucket.org/jonromero/pyactiverecord/src/324551741662
On May 11, 8:10 am, vihang wrote:
> I had seen the alterego posting. but that is more from using a Table
> instance. I am looking at true ORM capability where I create a class
> with methods which
Will do :D
On Apr 19, 6:10 pm, mdipierro wrote:
> OK. when you make the slice please call it auth_user. ;-)
>
> On Apr 19, 10:00 am, Jon Romero wrote:
>
>
>
> > yes, sorry :)
>
> > db.define_table('users',
> > Field(&
nd so on.
When I find some time, I have to make a proper slice.
On Apr 19, 5:56 pm, mdipierro wrote:
> I do not see this using db.auth_user at all. Did you rename it
> db.users?
>
> On Apr 19, 9:50 am, Jon Romero wrote:
>
>
>
> > sadly no :(
>
> > Take a l
sadly no :(
Take a look at it here:
http://codepad.org/tadGosTd
I am using my prototype activerecord for some database calls (that
should explain the find_by_id).
On Apr 19, 5:31 pm, mdipierro wrote:
> wow? Is this implemented as a gluon/contrib/login_method?
>
> On Apr 19, 9:26 am, J
sy to do
> but has not been done yet.
>
> On Apr 19, 2:42 am, Rohan wrote:
>
>
>
> > hi Jon,
>
> > Can you please share updates on integration between fbconnect and
> > auth.user()?
>
> > Thanks
>
> > On Feb 2, 4:34 pm, Jon Romero wrote:
>
It seems like it's not working on AppEngine
--
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 mor
default/action/hello')
> ('.*:https?://goodbye.example.com:(get|post) /', 'example.com/init/
> default/action/goodbye')
> ]
>
> .* means from every client ip
> https? means both http and https
> (get|post) means get and post requests
> / is the path you are mapp
Even though I've read a post here about subdomains, I can't make it
work.
what I really need is this
hello.example.com -> example.com/init/default/action/hello
goodbye.example.com -> example.com/init/default/action/goodbye
it it doable?
--
You received this message because you are subscribed to
This doesn't seem to work when you are running on AppEngine!
It works perfectly outside but when I am running it using
dev_appserver, it doesn't work.
Is this a bug?
On Mar 18, 4:54 pm, mdipierro wrote:
> You should put them in web2py/site-packages
>
> On Mar 18, 9:35 am, PanosJee wrote:
>
>
>
value')])
>
> > Massimo
>
> > On Jan 31, 3:11 am, Jon Romero wrote:
>
> > > Yeap the speadup is HUGE (one query toinsert100 rows). Inserting in
> > > gae is slow and if you try toinsert100 one by one you get timeout
> > > errors. I am using the ga
Ok, then how about, bulk update?
If you retrieve the model, make a small change and then "put" it back,
it should be updated.
I think that would work if I was using the bulk insert you've made but
it's not.
It just adds new rows.
Any ideas for bulk update?
On Mar 21, 6:20 p
.put()
> > rid = Reference(tmp.key().id())
> > (rid._table, rid._record) = (self, None)
>
> > On Mar 18, 6:42 pm, Jon Romero wrote:
>
> > > It works!!! Thanks!
>
> > > On Mar 18, 6:37 pm, mdipierro wrote:
>
> > > >
42 pm, Jon Romero wrote:
> It works!!! Thanks!
>
> On Mar 18, 6:37 pm, mdipierro wrote:
>
>
>
> > It is a bug. Thanks for checking it.
> > Please help me test the fix.
>
> > In gluon/contrib/gae.py replace line 277
>
> > parsed_items.append(field
s))
>
> Does it work now?
>
> Massimo
>
> On Mar 18, 11:04 am, Jon Romero wrote:
>
>
>
> > Yeap it works now for MySQL but not for GAE.
>
> > Expected one of (,); Got a
> > dict()
>
> > On Mar 18, 4:51
'surname': data['surname'],
> 'registered': False} for data in some_data])
>
> The star was missing.
>
> On Mar 18, 9:19 am, Jon Romero wrote:
>
>
>
> > It doesn't seem to work.
> > This is my code
> > db.ta
blems:
On not GAE, I have this problem:
Expected one of (,); Got a
dict()
On MySQL, was getting an error that it was expecting a map not a list.
I tried this and it doesn't work:
db.table_name.insert(dict(field='smth'))
Any hints?
On Jan 31, 5:01 pm, Jon Romero wrote:
> I
1. Building video online contests (beyourstar.gr)
2. Many small sites (andrianiart.com)
3. Augmented reality services (http://layar.com/awmn-nodes-greece/)
4. Advertising servers (openshare.emotionull.com)
5. Social mashups (socialcaddy.com)
6. To many to put here :D
On Mar 13, 7:31 am, spiffytech
You can check it here
http://openfest.teipir.gr/communities/
We have web2py on our posters (around Athens) and you can watch live
streaming!
I'll post my presentation tomorrow :D
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this g
t to use db will result in "database closed". This
> is the hard part.
>
> On Mar 9, 10:33 am, Jon Romero wrote:
>
>
>
> > On Mar 9, 6:28 pm, mdipierro wrote:
>
> > > Let me think about this.
> > > We could:
> > > 1) save the response.
nsactions? when do
> we close them?
Whatever happened before the "crush", should be stored (db.commit()).
After that, it's like the normal web2py shell (user has to commit by
himself).
>
> Massimo
>
> On Mar 9, 10:17 am, Jon Romero wrote:
>
>
>
> > I
I've seen that Pylons has an AWESOME debugger.
Every time an error occurs, you have an AJAX console where you can
inspect elements!
This is waaay more useful than tickets (at least on development)
where you click a ticket, go to the new page, read the error, do a
print in your code so you can
>
> Since I've done little with web2py forms and auth, they're not
> covered. Feel free to change the article to include how to test them.
>
> On Mar 2, 8:59 am, Jon Romero wrote:
>
> > I'll post a full example in bitbucket and then a slice :)
>
> &g
I'll post a full example in bitbucket and then a slice :)
On Mar 2, 2:30 pm, mdipierro wrote:
> Would you post a web2pyslice?
>
> On Mar 2, 4:39 am, Jon Romero wrote:
>
> > ok I managed to do unit testing on forms:
>
> > def testForm(self):
> >
Good job!
I am still having problem with unit testing forms. It seems that I
cannot do a post.
# Set variables for the test function
request.env.request_method = 'POST'
request.post_vars["body"] = "body"
#request.vars = Storage(body = "bod")
resp = ind
Yeap, spiffytech where you able to run tests (no doctests) using the
database?
On Feb 25, 11:20 am, Nicol van der Merwe
wrote:
> Hi guys
>
> This stuff is very interesting. I would like to request, if possible, that
> someone makes a web2pyslice or proper AlterEgo entry on how to setup and run
>
Nevermind.
It's correct.
On Feb 24, 9:59 am, Jon Romero wrote:
> How we can specify the url to Google's cron in order to execute a url
> webpy?
> I tried something like that but it fails
>
> cron:
> - description: daily stats
> url: /init/default/stat
put of ``python web2py.py --help``
>
> > -Thadeus
>
> > On Tue, Feb 23, 2010 at 5:23 AM, Jon Romero wrote:
> > > ust put a prin "Hello world!" inside the test file, everything
> > > works ok. So, I suppose that this file tries to load AGAIN the web2py
> > >
How we can specify the url to Google's cron in order to execute a url
webpy?
I tried something like that but it fails
cron:
- description: daily stats
url: /init/default/stats
schedule: every day 21:20
timezone: Europe/Athens
Anyone using gae cron with web2py?
--
You received this message
Thanks! That was what I was looking for!
The problem now is that is you try to run the unit test the way it is
described here (http://www.web2py.com/AlterEgo/default/show/213 ), I
get this error:
> python web2py.py -S init -M -R applications/myapp/tests/default.py
option -S not recognized
Usage: w
I've read about web2py and unit testing and I tried many things.
These are my thoughts (please correct me If I am wrong)
1. web2py uses doctests. doctests must be inside the controller
(increasing the noise) and are not flexible. Also, is not trivial to
use them in another automated built/test sys
the problem seems to happen when you try to query by the id field and
then delete (I could delete when I chose a different field)
On Feb 7, 2:18 am, Jon Romero wrote:
> Some thing happens to me. When I do:
> db(db.table.id == some_id_that_exists).delete, I get the same count
> error
>
Happens on gae dev environment and on the normal gae server.
On Feb 7, 2:18 am, Jon Romero wrote:
> Some thing happens to me. When I do:
> db(db.table.id == some_id_that_exists).delete, I get the same count
> error
>
> On Feb 4, 3:16 am, mdipierro wrote:
>
> > do you u
Some thing happens to me. When I do:
db(db.table.id == some_id_that_exists).delete, I get the same count
error
On Feb 4, 3:16 am, mdipierro wrote:
> do you use 2.5 or something else locally?
>
> On Feb 3, 6:11 pm, Carl wrote:
>
> > This may be related toGAEupdate_record() has subtle difference
>
sorry my bad (routes_onerror)
On Feb 3, 1:30 am, Jon Romero wrote:
> Is there an easy way to change the default error page to something
> else?
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, s
Is there an easy way to change the default error page to something
else?
--
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
But then how auth.user is updated?
>All auth does on successful login is:
>from gluon.storage import Storage
>session.auth=Storage()
>session.auth.user = db(db.auth_user.id==logged_in_user_id).select
().first()
>session.auth.user_id = session.auth.user.id
>session.auth.last_visit = request.now
>
utologin plugin,
> could you please share it with us? it's very interesting for all the
> projects.
> thanks in advance,
> alex
>
> El 31/01/2010 16:08, Jon Romero escribi :
>
>
>
> > I have created a new facebook connect plugin where the user can login
> > to
>
> from gluon.storage import Storage
> session.auth=Storage()
> session.auth.user = db(db.auth_user.id==logged_in_user_id).select
> ().first()
> session.auth.user_id = session.auth.user.id
> session.auth.last_visit = request.now
>
> set session.auth=None on logout.
>
&
I have created a new facebook connect plugin where the user can login
to auth using FBConnect.
The thing that I am doing is after the user has logged in (and I have
his fb_uid) I create a new session like this:
if not auth.is_logged_in():
user_obj = Storage(user_table._filt
I am going to stress test it this week :)
On Jan 31, 4:44 pm, mdipierro wrote:
> needs testing but please check in trunk
>
> db.table.bulk_insert([dict(field='value'),dict(field1='value')])
>
> Massimo
>
> On Jan 31, 3:11 am, Jon Romero wrote:
>
>
>
> from gluon.contrib.gql import gae
>
> gae.put(...)
>
> and access the low lever gae api.
>
> On Jan 30, 6:21 pm, Jon Romero wrote:
>
>
>
> > It doesn't seem that's easy to dobulkinserts for AppEngine using
> > web2py (please correct me if I am wrong).
&
he new DAL? Is there a way to have
access to db (gae) so I can do a put?
On Jan 16, 5:08 am, Jon Romero wrote:
> Is there any way to dobulkinserts in GAE?
>
> Check here number 5 (http://googleappengine.blogspot.com/2009/06/10-
> things-you-probably-didnt-know-about.html)
--
You
I suggest the same as mdipierro.
Take a look at syncServer property.
On Jan 18, 9:51 am, mdipierro wrote:
> http://keith-wood.name/countdown.html
>
> On Jan 18, 12:17 am, Jason Brower wrote:
>
> > I want a countdown that works for that session that will never be
> > interupted by the refresh of
ction that exists) but it's
working :)
If anyone has ideas for features that can be added, I am all ears
On Jan 17, 10:03 pm, Alex Fanjul wrote:
> It sounds very cool for fast prototyping too.
> Alex F
>
> El 17/01/2010 14:44, Jon Romero escribi :
>
>
>
> > I created
I created a small lib which adds an abstraction over DAL and makes it
feel like Rails' Activerecord.
For example:
user = User.find_by_name("Jon")
It creates queries on the fly (you don't have to create a function
'find_by_name' - it creates it dynamically based on your table
fields).
I plan to ex
Is there any way to do bulk inserts in GAE?
Check here number 5 (http://googleappengine.blogspot.com/2009/06/10-
things-you-probably-didnt-know-about.html)
--
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to web.
Yeap, here you go:
http://bitbucket.org/jonromero/openshare/src/
On Jan 7, 12:31 pm, "K.R.Arun" wrote:
> Is source is available??
>
> I haven't seen it. Please provide me the link.
> No one ever want's to start from scratch (most of the time).
>
> On Jan 7
> facebook connect (*) (1) (jon romera / massimo)
It's Jon Romero :D
Also I have submitted code that scaffolds admin areas for functions in
controllers. Should I make it a plugin?
On Jan 9, 7:42 am, Thadeus Burgess wrote:
> Ok here is a list as I know it. I need some help sorting
Just to add, two BIG projects are about to launch in web2py. One in
Greece (we are talking for exposure to all media TV/Radio/Magazines
etc) and
another one in NY which today we got our seed funding!
It's nice to see that more people starting to use web2py for their
businesses (we've been using it
done in my original fb
> example) so that I can be embedded in a facebook page but I do not
> necessarily want that. Am I missing something?
>
> On Jan 6, 8:21 pm, Jon Romero wrote:
>
> > The source code also exists
> > here:http://github.com/jonromero/fbconnect-web2
The source code also exists here: http://github.com/jonromero/fbconnect-web2py
First of all you have to create a facebook application. The are plenty
of tutorials (even though you just need to change one path). Then you
copy the API and SECRET key.
You must put on facebook app settings -> "Connect"
e is a cut-down version of a commercial product we created for
a company that was doing exactly what you describe, so most of the
stuff are there.
On Jan 6, 7:49 pm, "K.R.Arun" wrote:
> On Jan 6, 1:50 am, Jon Romero wrote:
>
> > You can hack OpenShare (http://openshare.emotion
You can see it live here (and you can download the source):
http://fbconnect-demo.emotionull.com/
I am uploading the source also on github and I'll make also a blog
post about it (even though it's TRIVIAL to use fbconnect in web2py).
I have made a change in facebook.py (a new function called
"fac
You can hack OpenShare (http://openshare.emotionull.com/). It's on
bitbucket, written on web2py, running on GAE.
On Jan 5, 10:36 pm, mdipierro wrote:
> do not assume we know exactly what ASP ad_rotator does. Make a wish
> about the functionlity you expect/need and somebody may want to write
> a p
I've read some threads about it but what's the status?
I see Django supports CouchDB and I think that's easy to do it also in
web2py (and then mongoDB and tokyo tyrant).
http://lethain.com/entry/2008/aug/18/an-introduction-to-using-couchdb-with-django/
any ideas?
thanks
--
You received this mes
I know crud is good and admin panel is slick but sometimes I just need
to hack an add/edit/delete based on a table. So, I made this a
decorator :D
http://www.web2pyslices.com/main/slices/take_slice/45
Hope you like it!
Enjoy!
--
You received this message because you are subscribed to the Google
Any chance you could put some notes on your approach together ? I
> > think it would really help promote Web2py as a platform for CMS work.
> > All we need now is a good plugin for state-based workflow ? ;)
>
> > On Nov 26, 2:36 am, Jon Romero wrote:
>
> >>
ugin for state-based workflow ? ;)
>
> > On Nov 26, 2:36 am, Jon Romero wrote:
>
> >> Sorry for the late reply!
> >> I have already integrateCKEditorWITH uploading into web2py (check a
> >> screenshot here:http://emotionull.com/blog_files/ckeditor.png) for 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
Sorry for the late reply!
I have already integrate CKEditor WITH uploading into web2py (check a
screenshot here: http://emotionull.com/blog_files/ckeditor.png) for a
new CMS my company is building (yeap, in web2py and probably it will
be released as opensource).
You just need to create an action/v
I am creating a CMS for web2py and I've decided using CKEditor due to
the fact that you can upload images/files directly from it.
Take a look here (http://docs.cksource.com/CKEditor_3.x/
Developers_Guide/File_Browser_(Uploader)).
Also, I have made a snippet (on web2pyslices and on my blog) on how
Is it possible to do something like that in the db declarations or I
have to put code inside the controller?
For example in Rails you specify functions that will run before or
after an insert/update/delete/select inside the declaration of model.
That makes the code very easy to read/reuse.
I thin
the row.
>
> db.table.field.after_update.append(lambda row: print row)
>
> -Thadeus
>
> On Tue, Nov 3, 2009 at 2:56 PM, Jon Romero wrote:
>
> > Is it possible to do something like that in the db declarations or I
> > have to put code inside the controller?
list or using
> the list.append() afterwords, it will work the same.
>
> db.table.field.after_update = []
>
> db.table.field.after_update = [lambda row: print row]
>
> db.table.field.after_update.append(lambda row: del row)
>
> -Thadeus
>
> On Tue, Nov 3, 2009 at 3:37 PM,
inside your code put:
print post.body
and then check the console/terminal from which you've started web2py.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To post to this group, send email to
I've made a short tutorial on using CKEditor with widgets.
http://jon.is.emotionull.com/post/227873650/using-widgets-in-web2py-integrating-ckeditor
Hope you enjoy it!
PS: Also, is this the correct place to announce small hints/tutorials
or everything should go directly to web2pyslices?
--~--~-
how about this:
The (main) problem (as I see it) with Massimo's approach is polluting
directories with plugin files (and maybe making it more difficult to
add/remove plugins).
Besides that, I think it is a very easy way to add plugin capabilities
to web2py (without changing much of its architectur
) gave me the opportunity to talk
about the "still-working-after-an-upgrade" feature of web2py.
I made the presentation 2-3 hours before the presentation, so please
excuse me for any errors :P
On Oct 18, 5:12 am, Álvaro Justen [Turicas]
wrote:
> On Sat, Oct 17, 2009 at 12:56, Jon
\I gave a 20-30 minutes presentation and a demo at Athens Digital Week
(here in Greece) and the audience loved it!
Here is the presentation
http://www.slideshare.net/jonromero/rails-vs-web2py
Enjoy!
--~--~-~--~~~---~--~~
You received this message because you are su
Yes, you are right. And now that we have this thread, someone how is
interested in adding a countries dropdown can implement it easily (I
was searching around but didn't find anything elegant)
On Oct 7, 5:08 pm, mdipierro wrote:
> I can add 1) but this means web2py becomes dependent on geopoliti
I've just release OpenShare on bitbucket. You can see it running (and
submit your opensource projects) here: http://openshare.emotionull.com
http://bitbucket.org/jonromero/openshare/
Enjoy!
--~--~-~--~~~---~--~~
You received this message because you are subscribed
quires=IS_IN_SET(country_names_as_a_list))
> ...
> )
>
> This way you don't force yourself to know something difficult (though
> not that difficult if you really know widgets well).
>
> On Oct7, 8:05pm, Jon Romero wrote:
>
> > ok, I've imported gluon.html
k.
Also, what do you think about a db field, countries? Should I commit
something like that?
On Oct 7, 2:44 pm, Jon Romero wrote:
> I have created a module (inside my application/modules) and I use
> SELECT.
> I tried importing gluon.tools but no go. A
I have created a module (inside my application/modules) and I use
SELECT.
I tried importing gluon.tools but no go. All I get is this error:
NameError: global name 'SELECT' is not defined
--~--~-~--~~~---~--~~
You received this message because you are subscribed to
I think this is awesome and it was missing from web2py.
The only thing I found strange, is that you have to place the files
inside your application in multiple places. How about creating a
plugin directory (see Rails "vendor/plugins") where you could just
place the whole plugin structure there (l
> It should be
>
> routes_in = (('^.*?:https?://www.mydomain.com:(get|post) /', '/myapp/
> default'),)
>
> let us know if it works
>
> On Sep 24, 7:46 pm, Jon Romero wrote:
>
> > Whoa! This is an excellent thread (I didn't find it will I
ak wrote:
> Perhaps read thru the thread here - I thought Massimo did a nice job of
> explaining the flexibility and operation of routes.py here:
>
> http://groups.google.com/group/web2py/browse_thread/thread/4768cc04ad...
>
> On Thu, Sep 24, 2009 at 12:37 PM, Jon Romero wrote:
&
pping with domains.
On Sep 14, 5:17 pm, mdipierro wrote:
> Yes. You map domains into apps using routes. This in the manual,
> chapter 4.
>
> On Sep 13, 6:17 pm, Jon Romero wrote:
>
> > When a request comes, the dispatch.fcgi is executed which contains
> > this:
>
&
any ideas? anyone?
On Sep 22, 12:48 pm, Jon Romero wrote:
> Thanks.
> I was looking the examples from the old book (thinking that there
> won't be any major changes) but I was wrong.
> This is in the old book:
>
> routes_in=(
> ('140.192.\d+.\d+:.*',
Thanks.
I was looking the examples from the old book (thinking that there
won't be any major changes) but I was wrong.
This is in the old book:
routes_in=(
('140.192.\d+.\d+:.*','/welcome/default/index'),
)
I thought that doing that:
routes_in=(
('http://mydomain.com:.*','/myapp/default/index'
I am writing a full tutorial on how to setup web2py on shared hosting
accounts and I have this problem (Massimo suggested some solutions -
based on routes.py but I could find a solution).
I've posted the question and on the stackoverflow (http://
stackoverflow.com/questions/1454384/htaccess-trans
ok, last post!
You can just kill the processes (it's 4 in the morning here in Athens,
so please excuse me), so routes.py will be read again.
On Sep 20, 4:04 am, Jon Romero wrote:
> I have renamed the example of routes to routes.py (and I even created
> a new file from scratch, j
Ok, nevermind. I've just remember that you must restart the server in
order for routes to be read again.
But what happens on a shared hosting account, where you have no access
to apache?
On Sep 20, 4:04 am, Jon Romero wrote:
> I have renamed the example of routes to routes.py (an
I have renamed the example of routes to routes.py (and I even created
a new file from scratch, just in case) but I don't think it is
executed.
My routes_in is:
routes_in = (
('/', '/applicationname/stats/old'),
)
I wanted to map this:
www.myapplication -> www.myapplication/applicationname/st
I think that appadmin on GAE is broken (I get an invalid request) and
I saw on this thread (http://groups.google.com/group/web2py/
browse_thread/thread/a8307a3619fbbd00#) that it is fixed in the trunk.
Any ideas about when it will be released?
On Sep 15, 10:51 am, Jon Romero wrote:
> oh gr
Thanks :)
Maybe today, I'll also publish the code on github :P
On Sep 16, 4:00 am, Alex Fanjul wrote:
> Nice Service Jon!!!
> I'll give it a try with my blog...
> Alex F
>
> El 24/08/2009 17:53, Jon Romero escribió:
>
> > Hello, I've built OpenShare
nd applications/admin/models/access.py and
> make admin readonly.
>
> On Sep 14, 6:39 am, Jon Romero wrote:
>
> > I am creating a VERY simple controller, that mimics the functionality
> > of the admin app,
> > so it is possible to have simple administration availa
I am creating a VERY simple controller, that mimics the functionality
of the admin app,
so it is possible to have simple administration available in GAE and
in shared hosting accounts.
Is there something already available (that I couldn't find) or I am
reinventing the wheel?
If there is nothing a
Is having multiple installations of web2py the only solution?
On Sep 14, 2:17 am, Jon Romero wrote:
> When a request comes, the dispatch.fcgi is executed which contains
> this:
>
> #!/usr/local/bin/python2.6
> import os
> import sys
>
> os.chdir('/ho
u can
> do
>
> routes_in=(('/index','/myapp/default/index'),)
>
> to do the mapping you ask.
>
> Massimo
>
> On Sep 13, 5:00 pm, Jon Romero wrote:
>
> > I am writing a tutorial on how to install web2py on shared hosting
> > acounts.
>
I am writing a tutorial on how to install web2py on shared hosting
acounts.
I have managed to install and use it successfully but I have a problem
with routes.
So, I have created a domain pointer to /home/myuser/www/web2py
(yeap I know I should put web2py outside of public but this senario
will m
> Nice app, and great idea. Is there a way to restrict by the kind
> of ads one would add to his website?.
By choosing the category of your site, your banner is displayed only
to sites from the same category (and you are getting relevant banners
for your site).
This feature for now is disable
it's ready :)
I would be very glad if web2py.com was using the service and of course
other opensource developers.
On Aug 25, 12:53 pm, Jon Romero wrote:
> yeap, I am uploading it now!
>
> On Aug 24, 11:29 pm, Joe Barnhart wrote:
>
> > That's a good idea and a ni
yeap, I am uploading it now!
On Aug 24, 11:29 pm, Joe Barnhart wrote:
> That's a good idea and a nicely done site. In light of Massimo's plea for
> more visibility, do you think you could put a "created using web2py" message
> somewhere on the page?
>
> O
Hello, I've built OpenShare (http://openshare.emotionull.com) using
web2py and is running in Google App Engine and I would like to know
what you think about it.
I am planning to release the source (github or bitbucket) as soon as I
fix some issues.
If you want to help with the design/coding/what
> db.define_table('site',
> Field('pic1', 'upload', label ="Banner (125x125)"))
>
> def download(): return response.download(request,db)
>
> this works on GAE too because GAE will automatically create the
> uploadfield for you.
I didn't know that! I haven't found it in any docum
I have this table:
db.define_table('site',
Field('pic1', 'upload', uploadfield='data', label =
"Banner (125x125)"),
Field('data','blob',default=''))
I also changed this in my controller:
def download():
return site[db.site.pic1.uploadfield]
Now I have some que
Now that the syntax has changed (but keeping the old one for backwards
compatibility), maybe the error message can also be updated
SyntaxError: SQLField: unkown field type: timestamp for added_on
--~--~-~--~~~---~--~~
You received this message because you are sub
99 matches
Mail list logo