Re: How to get real web2py website sample sourcecode ?

170 views
Skip to first unread message

Anthony

unread,
May 18, 2013, 5:01:27 PM5/18/13
to web...@googlegroups.com
You're not going to find nearly as many web2py sites (open source or otherwise) as Django sites. Anyway, it looks like most of the sites listed at djangosites.org are not open source -- it's more like http://web2py.com/poweredby. Most of the Django open source stuff is at https://www.djangopackages.com/. web2py has such things scattered across several places -- links are in the "Code" section of the Docs & Resources page.

Note, a few of the sites listed at http://web2py.com/poweredby are open source (the ones with "demo" in the title). Probably the most complex listed there is Sahana Eden. Also, www.web2pyslices.com is based on the open source Movuca.

Anthony

On Saturday, May 18, 2013 3:26:42 PM UTC-4, Osswalt wrote:
I'm intrigued by web2py that only recently I've been aware of.
Really cool framework indeed.

I'm a professional programmer and now I'm looking for some web2py website samble with code...
The one provided by web2py.com and particularly the appliances are just very basic scholar demos.

Is there any directory of complex sites built on web2py where you get the source code too?
I'm mostly interested in image/photograpic website (photo share, image collections...)

Yes, I'm aware of http://web2py.com/poweredby but there I don't get the source.

I'd looking something like http://www.djangosites.org.

Thanks for any help.

Greg 

Osswalt

unread,
May 18, 2013, 5:17:14 PM5/18/13
to web...@googlegroups.com
Thank you Anthony.
I didn't know most of the "powered by" are open source. So I can google the name or find into github or other repository.
I'm going to try.

Greg

Anthony

unread,
May 18, 2013, 5:42:27 PM5/18/13
to web...@googlegroups.com
No, most of the poweredby sites are not open source -- only a few are (the ones with "demo" in the title, as well as web2pyslices, and maybe a few others).

Anthony

Osswalt

unread,
May 18, 2013, 5:48:06 PM5/18/13
to web...@googlegroups.com
Ok so a few of them then...

Meanwhile I found others into github searching for "web2py".
There's something interesting, like Scrumforme, Skytoop and some others...

Yes here there are not so many sample as in Django.
The worst thing in Django is it's not backward compatible.

Greg

samuel bonilla

unread,
May 19, 2013, 10:07:12 AM5/19/13
to web...@googlegroups.com

Osswalt

unread,
May 19, 2013, 10:50:17 AM5/19/13
to web...@googlegroups.com
Thank you Samuel.

Tried to play around with Foxter...
If I run it from my web2py I got this internal error:

<type 'exceptions.AttributeError'> 'NoneType' object has no attribute 'uri'

Traceback (most recent call last):
  File "/home/myname/Dropbox/py/web2py/gluon/restricted.py", line 212, in restricted
    exec ccode in environment
  File "/home/myname/Dropbox/py/web2py/applications/Foxter/controllers/default.py", line 90, in <module>
  File "/home/myname/Dropbox/py/web2py/gluon/globals.py", line 194, in <lambda>
    self._caller = lambda f: f()
  File "/home/myname/Dropbox/py/web2py/applications/Foxter/controllers/default.py", line 18, in index
    home = Home(['featured', 'featured_members', 'ads', 'homeblocks', 'articles'])
  File "applications/Foxter/modules/handlers/base.py", line 32, in __init__
    self.start()
  File "applications/Foxter/modules/handlers/home.py", line 12, in start
    self.db = DataBase([User, ContentType, Category, Article, Ads, Page])
  File "applications/Foxter/modules/movuca.py", line 35, in __init__
    DAL.__init__(self, self.config.db.uri,
AttributeError: 'NoneType' object has no attribute 'uri'

Maybe I must arrange some setting before ?

Greg

Anthony

unread,
May 19, 2013, 11:59:45 AM5/19/13
to web...@googlegroups.com
Looks like that line should refer to self.config._db.uri rather than self.config.db.uri.

samuel bonilla

unread,
May 19, 2013, 4:16:56 PM5/19/13
to web...@googlegroups.com


2013/5/19 Anthony <abas...@gmail.com>
--
 
---
You received this message because you are subscribed to a topic in the Google Groups "web2py-users" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/web2py/FRfkO8SdPFI/unsubscribe?hl=en.
To unsubscribe from this group and all its topics, send an email to web2py+un...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.
 
 

samuel bonilla

unread,
May 19, 2013, 4:23:00 PM5/19/13
to web...@googlegroups.com


2013/5/19 samuel bonilla <pytho...@gmail.com>
Reply all
Reply to author
Forward
0 new messages