Dear Web2py users,
I just launched the beta version of Web2py Instant
Adminhttp://sramana.in/web2py-instant-admin,
a (supposedly) django-like admin interface for Web2py applications.
The demohttp://w2padmin.appspot.com/is here, documentation is
here
It looks pretty interesting. Is the idea that it would complement or replace
appadmin?
Those output files are short living objects with tmp names and tmp
dir. Too short living, to put them to Static. Transformation to html
is specific as there could be more output files and as far as I
understand, missing images will be requested by browser. So, I will
just alter html to point
On Jul 29, 11:17 am, flebber flebber.c...@gmail.com wrote:
On Jul 27, 11:45 pm, Johann Spies johann.sp...@gmail.com wrote:
On 27 July 2011 14:08, flebber flebber.c...@gmail.com wrote:
I installed web2py into a virtualenv in my ubuntu install. When
reading the book it states to
Thank you very much, Bruno, I already knew PowerGrid,
however jQgrid is a project requirement, so...
Regards.
On 28 jul, 15:37, Bruno Rocha rochacbr...@gmail.com wrote:
I dont know about jQgrid, but in PowerGrid[1] you can pass any callback
function which returns JSON.
Yes this is correct but you still need to set
response.headers['Content-Type']=''
manually.
On Aug 1, 12:22 am, Charles Law charles@gmail.com wrote:
I've noticed that when I stream() files using the streamer I get
content type warnings in chrome:
Resource interpreted as Document
This is fantastic! I also see it is already packaged as a plugin.
I only took a quick look at the source code. It is well written. I
noticed you use the has_permission decorator everywhere therefore this
is more suitable to be an admin to be exposed to users than an admin
for the administrator.
Hi Guys, Some info update, I've just tried with the latest release
1.98.1 and the problem still persists.
best,
Zeng
On Jul 22, 10:25 am, Heng Zeng Aun zeng...@gmail.com wrote:
Good day Massimo,
the following are the snippets:
AppAuth/models/db.py
db =
Please open a ticket about this.
On Jul 22, 2:25 am, Heng Zeng Aun zeng...@gmail.com wrote:
Good day Massimo,
the following are the snippets:
AppAuth/models/db.py
db = DAL('sqlite://storage.sqlite')
session.connect(request, response, db)
auth = Auth(globals(), db)
crud =
Ramana, looks really really nice. Congrats!
On Aug 1, 2:09 am, Ramana srama...@gmail.com wrote:
Dear Web2py users,
I just launched the beta version of Web2py Instant
Adminhttp://sramana.in/web2py-instant-admin,
a (supposedly) django-like admin interface for Web2py applications.
The
A proposal
1) we change
auth.requires_permission() with auth.requires(is_admin or
has_permission(...))
2) we move everything that is not under */plugin_instant_admin under
plugins/plugin_instant_admin
3) we rename instant_admin into iadmin
4) we include it into welcome app
5) we
Hope you do not mind ;-)
http://www.reddit.com/r/Python/comments/j5jhw/new_web2py_admin_plugin/
On Aug 1, 1:09 am, Ramana srama...@gmail.com wrote:
Dear Web2py users,
I just launched the beta version of Web2py Instant
Adminhttp://sramana.in/web2py-instant-admin,
a (supposedly) django-like
hello, i just created the second user in an app.
With the login of this user i can go to appadmin
How to prevent this?
thank you
António
i tried but got this error
File gluon/restricted.py, line 192, in restricted
File D:/web2py10/web2py/applications/Vendas/models/db.py, line 55, in
module
KeyError: 'auth_user'
the line 55 is
*auth.settings.extra_fields['auth_user'].append(Field('Skype')) *
2011/7/30 pbreit
superb. Ramana, silently, you made a great job, also with docs!. Congrats!.
2011/8/1 Massimo Di Pierro massimo.dipie...@gmail.com
Hope you do not mind ;-)
http://www.reddit.com/r/Python/comments/j5jhw/new_web2py_admin_plugin/
On Aug 1, 1:09 am, Ramana srama...@gmail.com wrote:
Dear
Which you suer you are logged in as is irrelevant. appadmin ignores
the app users and permissions. appadmin grants you access if you are
the administrator (i.e. if you loggin into the admin app) and the
admin app has only one user.
On Aug 1, 4:39 am, António Ramos ramstei...@gmail.com wrote:
Got it.
Thank you
2011/8/1 Massimo Di Pierro massimo.dipie...@gmail.com
Which you suer you are logged in as is irrelevant. appadmin ignores
the app users and permissions. appadmin grants you access if you are
the administrator (i.e. if you loggin into the admin app) and the
admin app has
pls
after some time dont sent any mail to my e-mail.
this way works
auth.settings.extra_fields['auth_user'] = [Field('Skype')]
Em 1 de agosto de 2011 10:46, António Ramos ramstei...@gmail.com escreveu:
i tried but got this error
File gluon/restricted.py, line 192, in restricted
File D:/web2py10/web2py/applications/Vendas/models/db.py, line
Hi Massimo,
This problem exists for quite some time, today I trace it to these old
source.
[1] The diagnosis.
http://groups.google.com/group/web2py/browse_thread/thread/bb9f92e255323a94
[2] The fix.
http://groups.google.com/group/web2py/browse_thread/thread/b9ad5c501df50be6
Would you please
No objection but can you please email me the new file as an
attachment?
On Aug 1, 5:26 am, Iceberg iceb...@21cn.com wrote:
Hi Massimo,
This problem exists for quite some time, today I trace it to these old
source.
[1] The
WinXP, web2py 1.98.1 (latest stable) for windows.
C:\uniart4\uniart4\eb2py.exe -W install
web2py Web Framework
Created by Massimo Di Pierro, Copyright 2007-2011
Version 1.98.1 (2011-07-31 10:15:50)
Database drivers available: SQLite3, pymysql
Starting hardcron...
Installing service web2py
I want to keep this low profile for now because there is still much to
do. But if anyone is interested in trying my beta web2py website,
please go ahead. It's at http://beta.yakitome.com. Don't expect it to
be super stable nor have all features available, but the basics are
there. So far, it only
looks neat :)
On Mon, Aug 1, 2011 at 7:06 AM, weheh richard_gor...@verizon.net wrote:
I want to keep this low profile for now because there is still much to
do. But if anyone is interested in trying my beta web2py website,
please go ahead. It's at http://beta.yakitome.com. Don't expect it to
Hello guys,
Some should now be aware, but I took the liberty to disclose this great
plugin made for web2py. It's instant web2py admin [2], which is a module for
managing your application in web2py. He was a Sramana developers [1]. It's
worth a look. It's pretty good!
[1] - http://sramana.in/
On Monday, August 1, 2011 6:23:03 AM UTC-4, Ramos wrote:
this way works
auth.settings.extra_fields['auth_user'] = [Field('Skype')]
Yes, this will create auth.settings.extra_fields['auth_user']. Once created,
you should be able to add additional fields via append().
Anthony
Looks very promising, but I cannot log into the demo (I've tried all the
provided demo logins, but they all result in Invalid login).
On Monday, August 1, 2011 2:09:23 AM UTC-4, Ramana wrote:
Dear Web2py users,
I just launched the beta version of Web2py Instant
First, if you're in the shell, you need to do db.commit() for your DB
transactions to be committed (see
http://web2py.com/book/default/chapter/06#commit-and-rollback). Also, if
you're using the web-based shell via the 'admin' app, sometimes it doesn't
work so well -- you might be better off
Hello Massimo,
This issue is still there :
http://code.google.com/p/web2py/issues/detail?id=348
Thanks you anyway for the continuous improvement work.
I really appreciate and enjoy web2py.
Richard
On Sun, Jul 31, 2011 at 4:49 PM, Massimo Di Pierro
massimo.dipie...@gmail.com wrote:
As often
Show your code, it must be closing bracket or something... It is easy to
miss one out not closed when making sub-sub-menu, code get confusing
sometimes.
There is no other threads.
Richard
On Sat, Jul 30, 2011 at 6:08 AM, Casey Schroeder vizqu...@gmail.com wrote:
Hi Richard, i ran into a
I am trying out PowerGrid. As I could not find good documentation that
explains how to use it, I was following the examples to try and figure out
how to use it.
So far I had no success at all after a little bit more than 2 hours of
trying.
It will help users like me with very little
I am writing some docs and solving some issues.
Thanks
http://zerp.ly/rochacbruno
Em 01/08/2011 11:28, Johann Spies johann.sp...@gmail.com escreveu:
I am trying out PowerGrid. As I could not find good documentation that
explains how to use it, I was following the examples to try and figure out
Hi everyone!
I'm very proud to announce the project openMyWork based on the Web2py
framework.
openMyWork has been created for the Basque Government in Spain, and
it's gonna be the Basque Government's center of future liberations of
open source applications.
The source code available is a beta
Shall we do a shameless self-promoting award for best web2py apps of
the year? Drum up interest in web2py as well as for our respective
apps? It is very heartening to see so many great apps coming out of
the back offices after much toiling by the various authors.
hi, what do i have to do to make a request to this address :
example.com/345 go to example.com/show_item/345 ???
i've already set up the default application and controller
Arek
On Aug 1, 2011, at 8:55 AM, agend wrote:
hi, what do i have to do to make a request to this address :
example.com/345 go to example.com/show_item/345 ???
i've already set up the default application and controller
Is show_item intended to be the default function? Are you using the parametric
Web2py is trivial to install but sometimes Python is not, especially on
older MacBook Pro's that are not worth upgrading to the latest version of OS
X.
Anyway this morning I remembered using the Plone Unified installer some time
ago and to make a long story short, it is still able to install a
Opps,
Mercurial users will want to do this instead:
hg clone
https://code.google.com/p/uc-unified-python-installer/uc-unified-python-installer
(remove my gmail user name...)
C.
-- Forwarded message --
From: Chris Steel chris.st...@gmail.com
Date: Mon, Aug 1, 2011 at 12:28 PM
Hi, I'm new to programming in python, and thought I would start
experimenting with web frameworks as
well. However, I keep getting 'NameError: name 'copyright' is not defined'
when I try to run the web2py
web app. When I try to install in the terminal,
python web2py.py, I get a 'file not
On Monday, August 1, 2011 12:53:46 PM UTC-4, Michael McMahon wrote:
Hi, I'm new to programming in python, and thought I would start
experimenting with web frameworks as
well. However, I keep getting 'NameError: name 'copyright' is not defined'
when I try to run the web2py
web app.
Help appreciated. I do not see the error in this code and neither do
my editors. All i did was make a new app from scratch (not with the
very latest release, but downloaded fresh a week ago) using the wizard
and inserted this in menu.py to get this problem (I have tried 5
different new
Wow, ambitious project! Looks good.
+1
@Anthony, can you please add it to poweredby?
On Aug 1, 12:59 pm, pbreit pbreitenb...@gmail.com wrote:
Wow, ambitious project! Looks good.
On Monday, August 1, 2011 2:05:26 PM UTC-4, Massimo Di Pierro wrote:
+1
@Anthony, can you please add it to poweredby?
I'd be happy to list it on the web2py Poweredby page. Daniel, what would be
the most appropriate link/page to list:
http://forjas.infloss.com/portal/default/index,
The correct url should be http://forjas.infloss.com/forja (i hope to have ready
www.openmywork.org on september)
And the correct name sholud be openMyWork.
Thanks to everybody
El 01/08/2011, a las 20:30, Anthony abasta...@gmail.com escribió:
On Monday, August 1, 2011 2:05:26 PM UTC-4,
Looks very good, but I can't login with superuser credentials
(usearname = a, password = a)
I get this message: We're sorry. Please enter a password with at
least six characters.
On Aug 1, 2:16 pm, Anthony abasta...@gmail.com wrote:
Looks very promising, but I cannot log into the demo (I've
Hi everyone,
Am having a hard time with figuring out this rather simple split. I
have python code (actual code) store in the database, with the
following table (f_codetest is the table, the result are three after):
'f_codetest': ' functionOne(1, 2)\r\nTrue\r\n functionOne(2, 1)\r
\nFalse\r\n
me likey!!! web2py gets better every moment :) thanks all
On Mon, Aug 1, 2011 at 1:42 PM, Francisco Costa m...@franciscocosta.comwrote:
Looks very good, but I can't login with superuser credentials
(usearname = a, password = a)
I get this message: We're sorry. Please enter a password with at
Internal error and ticket is issued. you know the rest
major project, looking good!
OK, done. I'll update it when www.openmywork.org is ready.
Anthony
On Monday, August 1, 2011 2:37:37 PM UTC-4, demetrio wrote:
The correct url should be
http://forjas.infloss.com/forjahttp://forjas.infloss.com/portal/default/index
(i
hope to have ready www.openmywork.org on
http://www.web2py.com/book is currently generating an error.
Same here.
On Monday, August 1, 2011 3:01:10 PM UTC-4, w2padawan wrote:
Internal error and ticket is issued. you know the rest
I got the same error running the OS X binary installation. OS X 10.4
Looks very promising weheh.
Chris
all i did was set routes.py to :
routers = dict(
BASE = dict(default_application='polow'),
)
# where polow is my app name
Arek
On Aug 1, 6:07 pm, Jonathan Lundell jlund...@pobox.com wrote:
On Aug 1, 2011, at 8:55 AM, agend wrote:
hi, what do i have to do to make a request to this
I just download Web2py source and unpack. Since Web2py does not require
installing in a traditional sense this works fine.
personally I use pip to install virtualenv but since the pip installer
breaks up web2py into non-traditional directories I don't install Web2py
with pip
C.
are you using ninjaui? http://ninjaui.com/objects
On Mon, Aug 1, 2011 at 9:06 AM, weheh richard_gor...@verizon.net wrote:
I want to keep this low profile for now because there is still much to
do. But if anyone is interested in trying my beta web2py website,
please go ahead. It's at
I know that in one of the latest release of web2py, list menu have been
replace by tuple menu... So, it surely still possible to use the list menu,
but maybe the tuplue menu not compatible with earlier version of web2py...
There is also a tiny little detail that could be cause some problem to you
If you use the wizard maybe there could be a bug somewhere and the menu get
it.
You should map you menu to your controller function by hand... Start with a
single level menu and copy paste sub menu, by trial and error you should be
able to figure what the proper syntax you should use base on the
Maybe it helps for me to explain my use-case. I mainly use virtual fields as
lazy methods, to help traverse related tables. I was actually surprised that
lazy evaluation wasn't the default. I noticed a few implications of this:
- Large queries are slowed by virtualfields, even if they won't be
Hello,
I've been trying to do a helper method but I get an error, below:
#helpers.py
def load(c=None, f='index', args=[], vars={},
extension=None, target=None,ajax=False,ajax_trap=False,
url=None, user_signature=False, content='loading...',
**attr):
target
+1 Internal Error :S
On Mon, Aug 1, 2011 at 2:05 PM, Anthony abasta...@gmail.com wrote:
Same here.
On Monday, August 1, 2011 3:01:10 PM UTC-4, w2padawan wrote:
Internal error and ticket is issued. you know the rest
I solved the problem. I'd been making some mistakes.
Solution:
#helpers.py
def load(self, c=None, f='index', args=[], vars={}, extension=None,
target=None, ajax=False, ajax_trap=False,url=None,
user_signature=False, content=None, **attr):
target = target or 'c'+str(random.random())[2:]
content
On Aug 1, 2011, at 12:13 PM, agend wrote:
all i did was set routes.py to :
routers = dict(
BASE = dict(default_application='polow'),
)
# where polow is my app name
To do what you ask (below), you need to specify show_item as the default
function (only the default function is
Thanks Anthony,
It's mostly working !
I ran web2py from the shell (for the first time) and I was able to
successfully add a row. I did forget to do a commit. Thanks for the
tip.
print db._lastsql also works. Sounds like I shouldn't bother with
the shell in the admin screen.
The
As web2py grow bigger and bigger :
- There are many many features which are not used, just sits around.
- If we dont want , have to remove them by hand from web2py
- If we just want to release a standalone application, web2py is already too
big
- if i want to strip down features i have to look
thanks, i've changed my routes.py to :
routers = dict(
BASE = dict(
default_application='polow',
default_function='show_item',
functions=['index', 'show_item', 'add_item']),
)
and it's working - but is there any way to not have to specify all my
functions in the list - it's a bit of
When I add this plugin to my existing app, following the instructions
3.Under ‘upload plugin file’, select the
web2py.plugin.instant_admin.w2p file you just downloaded and click on
upload.
4.Visit http://127.0.0.1:8000/your_app/plugin_instant_admin/welcome.
(Replace your_app with the name of the
On Monday, August 1, 2011 6:06:11 PM UTC-4, Phyo Arkar wrote:
As web2py grow bigger and bigger :
- There are many many features which are not used, just sits around.
- If we dont want , have to remove them by hand from web2py
- If we just want to release a standalone application, web2py is
On Aug 1, 2011, at 3:21 PM, agend wrote:
thanks, i've changed my routes.py to :
routers = dict(
BASE = dict(
default_application='polow',
default_function='show_item',
functions=['index', 'show_item', 'add_item']),
)
and it's working - but is there any way to not have to
I'm not sure this would make sense. Right now, the only extra things you get
besides Core + DAL are the applications and some docs which are simple to
delete.
Maybe I'd need to see a real example of what you are talking about. Can't
you just distribute a package with your app in /applications?
ninjaui looks good. but i'm using jquery ui
On Aug 1, 3:43 pm, Bruno Rocha rochacbr...@gmail.com wrote:
are you using ninjaui?http://ninjaui.com/objects
On Mon, Aug 1, 2011 at 9:06 AM, weheh richard_gor...@verizon.net wrote:
I want to keep this low profile for now because there is still much
I haven't test yest.
But i am not sure if i remove a module it will break some other features as
web2py does magic import not static.
And if new version of web2py comes , i just want to upgrade it in my app.
And i don't want to remove them all again (also new files).
On Tue, Aug 2, 2011 at
What specifically do you want to remove?
I believe you can safely delete these directories:
/doc
/scipts
/applications/admin
/applications/examples
/applications/welcome
In your app, you can delete controllers/appadmin.py
I always advise installing via Mercurial clone if possible.
hg clone https://code.google.com/p/web2py/ web2py
I guess you can't delete /admin if you are starting web2py with rocket and
cron enabled.
On Mon, Aug 1, 2011 at 7:51 PM, pbreit pbreitenb...@gmail.com wrote:
What specifically do you want to remove?
I believe you can safely delete these directories:
/doc
/scipts
/applications/admin
On Aug 1, 2011, at 3:59 PM, Bruno Rocha wrote:
I guess you can't delete /admin if you are starting web2py with rocket and
cron enabled.
How come?
[Isn't 'how come' an odd idiom?]
Most of gluon/contrib could probably go away, depending on the environment. And
gluon/tests.
On Mon, Aug 1,
ok, thanks a lot
Arek
On Aug 2, 12:39 am, Jonathan Lundell jlund...@pobox.com wrote:
On Aug 1, 2011, at 3:21 PM, agend wrote:
thanks, i've changed my routes.py to :
routers = dict(
BASE = dict(
default_application='polow',
default_function='show_item',
I had trouble logging in but was finally successful by granting an existing
auth_user superuser membership. I ran into the same password must be 6
chars error.
One thing I noticed is that it did not seem to pick up my auth_user table (I
don't see it listed in the right side nav). I am using a
Variables:
self.applicationsset(['BASE', 'admin', 'error', 'examples', 'init', 'lab',
...])self.functionsset([])selfgluon.rewrite.MapUrlOut objectself.args[Table
{'tax_state': gluon.dal.Field object at ...rouping': gluon.dal.Field
object at 0x12dea10}]self.controllersset(['appadmin',
On Monday, August 1, 2011 6:45:52 PM UTC-4, Phyo Arkar wrote:
I haven't test yest.
But i am not sure if i remove a module it will break some other features as
web2py does magic import not static.
Right, I guess you can't actually delete DAL because it is automatically
imported by the
; ) Mercurial rocks...
The pip install needs to be fixed or be removed else it will confuse
new users. I will need help to fix it.
On Aug 1, 7:34 pm, Christopher Steel chris.st...@gmail.com wrote:
; ) Mercurial rocks...
Have you tried using the source version instead of the exe? I've got the
source version running as a service on 2 machines. It may be that the exe
is missing something that's required for running web2py as a service. (If
you do try from source, make sure you also install the win32 python
Ramana,
Gorgeous plugin, I think we should make it part of the Web2py Welcome app as
well. It is a great example of a plugin and if fills an important need for
site administration.
I was able to find urls for all the requirements with the exception of path
which obviously brings up a lot of
minor bug or one time glitch?
Not sure if this is a bug or a one time glitch not but after installing
auth_group for the reader shows up with bars at both ends and none of the
other auth_group showed this
|plugin_instant_admin_reader|
rather than
plugin_instant_admin_reader
This
all of my sites have some form of content management. they all are
specialized enough that i would not call any of them a general CMS. I
actually don't really use CRUD itself too much, i have lots of custom forms.
cfh
I frequently use some plugins that I created, and I also created a micro-CMS
calles SimplrCMS which is very based in radiant cms. But I do not finish
it for release yet.
On Sunday, July 31, 2011 8:21:09 AM UTC-4, spiffytech wrote:
What's the complexity of site you guys normally build with web2py? Is
it mostly CRUD stuff, or anything more complicated? Has anyone built a
CMS in web2py?
Check out http://web2py.com/poweredby, though keep in mind that many
Hello!
I'd like to replace few of my PHP sites sites with Python technology in order
to be able to tweak them according to our needs and we prefer Python for PHP.
Basically, my needs are to have decent CMS+blog+shop which can be tweaked
easily and, so far, I was looking at Django along with two
91 matches
Mail list logo