Hi all,
I am new to web2py and decided to use web2py to construct my website.
website contains some of the features similar to apps available in
web2py appliances.
can I use/refer source code of apps from web2py appliances?
thanks in advance
I buy the 80-20 rule. But that is a self-fulfilling prophecy. I think
you are all doing a great job developing web2py, however, in my
opinion Web2py tends to cater too much to users who develop web 2.0
applications, to some degree disregarding users who use web2py to
provide a web interface for
I am not the owner of those appliances but in my opinion you can get
the answer by reading their license statement. Most of them are using
GPL-compatible license.
http://mdp.cti.depaul.edu/appliances
On May20, 3:12pm, durga durgaprasadmoga...@gmail.com wrote:
Hi all,
I am new to web2py and
I have joined here from Drupal. Although Drupal is not the best but
there are many things we should learn from it.
1. Rich documents/tutorial
2. Forum
3. Groups
4. Project/Issue tracking
I think we should move this group to web2py offical website, we can
use other compoments for missing as
I have sent you an email with my changes.
Best regards,
Nicolas
On 7 mai, 10:53, NicolasB nicolas.bn...@gmail.com wrote:
Finally, I keep working on it. I will suggest to add a few other
modification.
Still testing and then posting it.
Regards,
Nicolas
On 6 mai, 18:34, mdipierro
I do not get it. What does the JS proxy do?
Sorry, it was off topic and I will work on this later.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
web2py Web Framework group.
To post to this group, send email to
Only models and appadmin controllers are compiled, there are no any
views or user controllers compiled.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
web2py Web Framework group.
To post to this group, send email to
Today I managed to make ticketing kind of work on GAE.
The 'kind of' because I did an ugly hack - in model.py I did:
request.db = db
so that later I was able to pick it from there while handling exception.
Also the link on crash page points to nowhere, but I think I'll eventually fix
it.
I am using:
{{menu=MENU(response.menu)}}
{{menu.ul_class_0 = 'web2py-menu web2py-menu-horizonal'}}
{{=menu}}
with this in menu.db:
response.menu = [
['Index', False,
URL(request.application,'default','index')],
['another', False,
Yes, each of them as a different license. If I wrote them they are
usually BSD, unless they use GPL JS code, in that case they are GPL.
Some are public domain.
On May 20, 2:40 am, Iceberg iceb...@21cn.com wrote:
I am not the owner of those appliances but in my opinion you can get
the answer by
thanks.
On May 20, 4:11 am, NicolasB nicolas.bn...@gmail.com wrote:
I have sent you an email with my changes.
Best regards,
Nicolas
On 7 mai, 10:53, NicolasB nicolas.bn...@gmail.com wrote:
Finally, I keep working on it. I will suggest to add a few other
modification.
Still testing
Hello.
I've made web2py work with lighttpd correctly. It works fine (also the
admin) unitl I keep it in the root of the host, but now I need to have
web2py in a subfolder, because my single lighttpd manages other
applications too. I know I could start more lighttpd instances on
different ports,
Please get 1.62.3 and use
{{=MENU(response.menu,_class='web2py-menu web2py-menu-horizontal'}}
there is a typo in the code below and it is deprecated anyway,
Massimo
On May 20, 7:51 am, murray3 ch...@murraypost.net wrote:
I am using:
{{menu=MENU(response.menu)}}
{{menu.ul_class_0 =
Hello,
I tried to configure a menu with your help yesterday.
It was possible.
But with the current nested lists, one can easily confuse and get a
lot of syntax errors with [ and ]
What about a more dictionary data structure?
Or someting like:
mymenu = MENU()
then:
mymenu.add_topmenu('title',
I guess it can be added as methods of the MENU class.
It needs some thought and has to be backward compatible so
{{=MENU(response.menu)}} has to work if response.menu follows the old
syntax and
response.menu=MENU()
response.menu.add_item()
response.menu.add_cascade()
etc.
can also be
record=db.mytable[myrecord]
this is the same as db(db.mytable.id==myrecord).select()[0] if the
record exists. returns 0 otherwise.
I am not sure about your other questions. I got lost in the thread.
can you summarize them.
--~--~-~--~~~---~--~~
You received
On May 19, 10:42 am, TheDude officed...@gmail.com wrote:
What website is it?
I am like so wanting to go check it out. I guess it is a secret of
sorts.
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
web2py Web
it calls to you... like the spider to the fly... I won't lead you to _that_
web...
On Wed, May 20, 2009 at 9:56 AM, Skylar Saveland
skylar.savel...@gmail.comwrote:
On May 19, 10:42 am, TheDude officed...@gmail.com wrote:
What website is it?
I am like so wanting to go check it out. I
that did the trick.
thanks massimo!
note to myself: always append 'b' to the mode of the file open command
to make it work on all platforms (including windows).
On May 20, 6:07 pm, mdipierro mdipie...@cs.depaul.edu wrote:
It works for me but I think the problem is that
your module is a module and only sees things that are imported.
You must pass db to the function that you import so that they can use
it.
On May 20, 11:24 am, Carl carl.ro...@gmail.com wrote:
I've created my own module and placed it in applications/myapp/modules
In default.py I've added
but that configuration doesn't fit my needs.
I've tried setting the following config, but it always results with an
Invalid request. I suppose it's due to the uri parsing, but I can't
solve it as I'm quite new to Lighttpd.
Any ideas?
Giovanni,
I had the same problem with web2py, apache2
, sales.amount.sum()
with just one summed row per sales.product, sales.date,
continent.name !
basically a sales total per product, day and continent.
something like
Banana 20090520 Europe 123
Apple 20090520 Europe 234
Apple 20090520 Asia 456
db.define_table
couldn't agree more with Annet
On May 20, 11:32 am, annet.verm...@gmail.com wrote:
I buy the 80-20 rule. But that is a self-fulfilling prophecy. I think
you are all doing a great job developing web2py, however, in my
opinion Web2py tends to cater too much to users who develop web 2.0
It works for me but I think the problem is that
shutil.copyfileobj(request.vars.filename.file,open(path,'w'))
should be
shutil.copyfileobj(request.vars.filename.file,open(path,'wb'))
else when you read it back some of the binary info in the file will be
messed up.
Massimo
On May 20,
I need a list of
sales.product, sales.date, continent.name, sales.amount.sum()
with just one summed row per sales.product, sales.date,
continent.name !
basically a sales total per product, day and continent.
something like
Banana 20090520 Europe123
Apple 20090520 Europe234
I've created my own module and placed it in applications/myapp/modules
In default.py I've added import
applications.myappliance.modules.mymodule as mymodule
In mymodule.py I reference db but db isn't accessible. The ticket
states global name 'db' is not defined.
What am I missing in
Thanks Alvaro.
On May 19, 9:03 pm, Álvaro Justen [Turicas] alvarojus...@gmail.com
wrote:
On Wed, May 20, 2009 at 1:00 AM, Michael Chean mp.ch...@gmail.com wrote:
This is what I see:
Ok, your web2py is updated but your admin app isn't.
Please remove applications/admin/* and uncompress
https://www.web2py.com/jpolite
https://www.web2py.com/jpolite/default/main#t7
The RSS readers to not work for me. I suppose that we are aware of
this?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
web2py Web
No way, url rewrite doesn't solve it. Maybe it's my ignorance, but it
seems that the lighttpd fastcgi system override it, or maybe only for
web2py as we involke the fastcgihandler as a 404-error handler.
If someone has tips to share, he's very welcome! :)
giovanni
On 20 Mag, 19:30, giohappy
20090520 Europe 123
Apple 20090520 Europe 234
Apple 20090520 Asia 456
db.define_table('sales',
SQLField('product'),
SQLField('date'),
SQLField('country','reference country',requires=IS_IN_DB
(db,'country.id','%(name)s
So what are you proposing?
On May 20, 1:40 pm, vihang vihan...@gmail.com wrote:
couldn't agree more with Annet
On May 20, 11:32 am, annet.verm...@gmail.com wrote:
I buy the 80-20 rule. But that is a self-fulfilling prophecy. I think
you are all doing a great job developing web2py,
Thanks Mark.
I've digged the problem with a rudimental debug, and I can see from
the response headers that it's an invalid application error, as
web2py looks for /var/www/lighttpd/web2py/applications/w2p, while the
last key should be stripped.
Lighttpd comes with a strip-request-uri, but it seems
Do not do this:
#strip-request-uri = w2p/
instead in the web2py folder create a file routes.py that contains
routes_in=(('/w2p/(?a.*)','/$a'),)
routes_out=(('/(?a.*)','/w2p/$a'),)
this should solve your problem assuming you build all your inner
references using
Yes, I just have not connected, the part that interest me most is
containing forms in components.
On May 20, 11:14 am, Skylar Saveland skylar.savel...@gmail.com
wrote:
https://www.web2py.com/jpolite
https://www.web2py.com/jpolite/default/main#t7
The RSS readers to not work for me. I
I fixed the RSS. Just for fun. Here is the web2py RSS code:
def rss():
import gluon.contrib.feedparser as feedparser
d = feedparser.parse(request.vars.q)
r = TAG.channel(P(A(d.channel.title,_href=d.channel.link),XML
(d.channel.description)))
[
could you reproduce it on your side?
On May 18, 4:34 pm, mdipierro mdipie...@cs.depaul.edu wrote:
Thank you. I will look into this later today.
On May 18, 7:35 am, Hans johann.scheibelho...@easytouch-edv.com
wrote:
diff did not help since excel files are considered binary format.
the
thanks M.
I mis-thought that with 'db' being global it would be available to
modules.
thanks for clarifying.
(sorry for the basic Python question)
On May 20, 7:23 pm, mdipierro mdipie...@cs.depaul.edu wrote:
your module is a module and only sees things that are imported.
You must pass db to
Yet more improvements now RSS works and forms stay in the boxes if
form has class='ajaxform1'. It also enforces all web2py_ajax
constraints in 'integer', 'date' fields, etc.
Massimo
On May 20, 12:16 pm, mdipierro mdipie...@cs.depaul.edu wrote:
I fixed the RSS. Just for fun. Here is the web2py
Ops, right, I should have seen it!
I'm sorry but it doesn't solve... I'm still receiving invalid
application.
I will go trying...
On 20 Mag, 22:28, mdipierro mdipie...@cs.depaul.edu wrote:
Sorry. My bad
routes_in=(('/w2p/(?Pa.*)','/$a'),)
routes_out=(('/(?Pa.*)','/w2p/$a'),)
On May 20,
The strange is that request.folder still contains /w2p/ at the end.
Why isn't it remapped?
On 20 Mag, 23:26, giohappy gioha...@gmail.com wrote:
Ops, right, I should have seen it!
I'm sorry but it doesn't solve... I'm still receiving invalid
application.
I will go trying...
On 20 Mag,
Is it supposed to say response.title at the top?
On Tue, May 19, 2009 at 1:06 PM, mdipierro mdipie...@cs.depaul.edu wrote:
I turned jpolite into a web2py app.
https://www.web2py.com/jpolite
(there is a download link to the w2p file, requires web2py 1.62.1)
The form submission needs more
To anyone who would join me on this:
How hard do you think it would be to make a translatable type for
SQLField, where whatever text you enter will show up in the translator
section of the app even though it's in a db and not a controller/view
file? I'm thinking about writing something like this
Is anyone aware of a Python implementation of Ruby Shoes http://shoooes.net/
a small gui for Ruby?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
web2py Web Framework group.
To post to this group, send email to
I want to create my own login forms and need to create users programmatically.
I expected some function such as login(username, cleartextpassword) in
the auth class, and also something like cryptpwd(cleartextpassword)
Auth however seems to break the MVC paradigm completely.
Questions:
1) what do
On Wed, May 20, 2009 at 8:33 PM, mdipierro mdipie...@cs.depaul.edu wrote:
I am not in favor of this because it mixes two different levels of
web2py that should be separate. The reason they should be separate is
that T is thought for static strings not for dynamic strings. You will
run into
Here is how you manually create a user and the associated
user = auth.get_or_create_user(dict(email='...',password='...'))
the password must be encrypted. How the password is encrypted depends
on the algorithms you choose in
auth.settings.table_user.password.requires
IF
It opens a big can of worms. It will make GAE apps very slow.
I do not think this should be a priority.
Massimo
On May 20, 8:24 pm, Álvaro Justen [Turicas] alvarojus...@gmail.com
wrote:
On Wed, May 20, 2009 at 8:33 PM, mdipierro mdipie...@cs.depaul.edu wrote:
I am not in favor of this
I have not set response.title='jPolite and web2py'
On May 20, 4:36 pm, Wes James compte...@gmail.com wrote:
Is it supposed to say response.title at the top?
On Tue, May 19, 2009 at 1:06 PM, mdipierro mdipie...@cs.depaul.edu wrote:
I turned jpolite into a web2py app.
I would be more interested in having tickets in db on GAE. It is not
difficult but it will be difficult to do it in an elegant way.
Massimo
On May 20, 10:09 pm, mdipierro mdipie...@cs.depaul.edu wrote:
It opens a big can of worms. It will make GAE apps very slow.
I do not think this should be
Aha, I see. That function
db.mytable.myfield.represent=lambda value: T(value)
seems to be what I was looking for. Much easier than modifiying
gluon.languages. Shouldn't build what you don't need. Thanks again
Massimo.
-Matt B.
--~--~-~--~~~---~--~~
You
hello,
I can't access admin because request.env.remote_addr is invalid.
From localhost request.env.remote_addr is defined as: '::1' and from
127.0.0.1 as: ':::127.0.0.1'.
Has anyone seen this before?
Does it sound like a server configuration problem? I followed this
tutorial to set up
Massimo,
Perhaps we should have more details on that in the guide.
Horst,
You create your view in the same file you created the controller.
If you created Auth() in default.py then you create
a /default/login.html and it works.
Same with register and so forth.
That password hash, I can't remember
52 matches
Mail list logo