You have to register yourself.
Am Sonntag, 1. April 2012 08:05:38 UTC+2 schrieb jayvandal:
windows server 2008 , python 2.7 and i am using apache , what is rocket ??
When you start the web2py server via the command line, you are setting the
password. Then, when you access the admin interface, you have to provide
the password that you set when you started the server.
Anthony
On Sunday, April 1, 2012 8:27:06 AM UTC-4, Ovidio Marinho wrote:
Because
II do not think there is content in the setup scripts that really require
any form of license or copyright. I am happy to declare them public domain
and you can do whatever you want.
Massimo
On Saturday, 31 March 2012 23:13:09 UTC-5, Site Admin wrote:
Hi all,
I have set up a site for
Il 31/03/2012 17:25, Anthony ha scritto:
Github is probably best (or possibly Bitbucket or Google Code). I
think the plan is for web2pyslices to add a plugin content type for
posting plugins (you would still probably host the actual code at
Github or elsewhere and link to it from
Ok from now you can find the updated code on github at this link:
https://github.com/manuelep/plugin_lookout
You should replace the Sourceforge link on the web2pyslices post with the
above link.
See http://web2py.com/books/default/chapter/29/7#Custom-forms
and http://web2py.com/books/default/chapter/29/7#SQLFORM-in-HTML. Forms are
also web2py HTML helper objects, so if you just need to make little tweaks,
you can use the server-side DOM to manipulate the form object before
serializing
Is there a good reason why auth.messages.logged_out doesn't flash upon
logout unless there is a next argument?
# this flashes
def logout():
auth.messages.logged_out = 'bye bye'
return dict(form=auth.logout(next=URL(c='mycontroller', f='index')))
# this does not flash
def logout():
do you have an auth.settings.logout_next = ... somewhere? Try add a
print request.env.path_info
in the db.py.
I suspect somehow in the latter case you have two redirects and that causes
the flash do be eaten by the first redirect
On Sunday, 1 April 2012 12:55:28 UTC-5, weheh wrote:
Is
Il 01/04/2012 18:25, Anthony ha scritto:
You should replace the Sourceforge link on the web2pyslices post with
the above link.
already added it in a comment... what's the problem with sourceforge?
M.
Il 01/04/2012 19:52, CtrlSoft ha scritto:
i have the follwing tables:
||
db.define_table('topmenu',
Field('parent',type='integer', requires=IS_EMPTY_OR(IS_IN_DB(db,
'topmenu.id', '%(title)s'))),
Field('link', type='string', label=T('Link')),
Field('title',
it's a good idea, but i'm using sqlform.grid in app admin and this will
create confusion in rows ..., i need to hide rows that are in sidemenu or
in top menu.
i will dig it regards.
Bussiere
Le dimanche 1 avril 2012 18:33:48 UTC+2, Anthony a écrit :
See http://web2py.com/books/default/chapter/29/7#Custom-forms and
http://web2py.com/books/default/chapter/29/7#SQLFORM-in-HTML . Forms are
also web2py HTML helper objects, so if you just need to
It works, thanks simon.
By the way, is it possible to add some extra attribute to the form works as
a validator, so that the validator could be run before submit, if it
returns false, just stop submit. In that case, this will decrease a little
bit work.
On Mon, Apr 2, 2012 at 2:32 AM, simon
Hi there,
Assuming I've got a simple webservice that accepts a company_id, and
photo_image via a form POST.
db.table('person',
Field('company', 'integer', required = True),
Field('photo_image', 'upload', required = True, requires = IS_IMAGE())
def webservice_name():
person_id =
SpatiaLite support using new DB adapter now in trunk:
db=DAL('spatialite://...')
NOTES:
After installation of the required SpatiaLite libraries Windows users
*must* rename libspatialite-2.dll as libspatialite.dll for it to be
picked-up by web2py.
Support under Linux and Mac has not been
Im curious on this as well. Also, is list:reference valid for mysql?
On Apr 1, 2012 2:23 PM, bussiere adrien bussi...@gmail.com wrote:
ok i see the example :
db.define_table('tag',Field('name'),format='%(name)s')
db.define_table('product',
Field('name'),
In the method which defines the registration form, I return upload_form
alongside as :
return(reg_form=reg_form,upload_form=upload_form)
The problem is that the _formkey and _formname hidden fields are created
when you call form.accepts() -- so you have to call form.accepts() both
when
how to hide tables based on user membership?
i have following functin in controller:
def view():
table = request.args(0)
grid = SQLFORM.grid(db[table],args=request.args[:1], ui =
dict(widget='',
header='',
content='',
default='',
cornerall='',
You can use auth.has_membership(role='some_role') to test whether the
logged in user has membership in a given group. You can use that to
conditionally display the links in the view as well as to restrict access
to the grid (i.e., redirect somewhere if access is restricted).
Anthony
On
db.define_table(articles,
Field('reference', db.sidemenu, requires=IS_IN_DB(db, 'sidemenu.id',
'%(title)s')), *# here i need smth like : db.sidemenu | db.topmenu ... and
is_in_db(db,'sidemenu.id' or 'topmenu.id')*
Field('image', 'upload'),
Field(title,label=T('Title
Hey Anthony,
Thanks for that suggestion will try your approach.
Thanks again,
Matt
On Monday, 2 April 2012 12:00:55 UTC+12, Anthony wrote:
db.table('person',
Field('company', 'integer', required = True),
Field('photo_image', 'upload', required = True, requires = IS_IMAGE())
def
why the renaming? Any way we can make it automatic?
On Sunday, 1 April 2012 18:20:51 UTC-5, DenesL wrote:
SpatiaLite support using new DB adapter now in trunk:
db=DAL('spatialite://...')
NOTES:
After installation of the required SpatiaLite libraries Windows users
*must* rename
Not efficient in searches but supported by all backends.
On Sunday, 1 April 2012 18:30:31 UTC-5, Kenny wrote:
Im curious on this as well. Also, is list:reference valid for mysql?
On Apr 1, 2012 2:23 PM, bussiere adrien bussi...@gmail.com wrote:
ok i see the example :
Nice work Manuele,
I'll keep an eye on that project.
On Sun, Apr 1, 2012 at 4:48 PM, Manuele Pesenti
manuele.pese...@gmail.com wrote:
Il 01/04/2012 18:25, Anthony ha scritto:
You should replace the Sourceforge link on the web2pyslices post with the
above link.
already added it in a
Folks,
I've a question. I'm using a semi automated approach to deploying my app. I
manage my code through a private BitBucket repo. On my server I have a cron
job checking for changes a few times per day. When it finds changes in the
repo stops apache (mod_wsgi), pulls source, restarts apache.
In gluon/tools.py there is self.settings.logout_next = URL('index')
On Sunday, 1 April 2012 22:37:12 UTC-5, weheh wrote:
I did a global search with eclipse and couldn't find anything that set
auth.settings.logout_next. I am inspecting request.env.path_info through
eclipse and it takes on a
28 matches
Mail list logo