Managing ressources (rooms,equipment and so on)
Le 28 janv. 2016 12:09 AM, "Massimo Di Pierro"
a écrit :
> It is french. No idea what it does. :-(
>
> On Wednesday, 27 January 2016 02:23:56 UTC-6, Laurent Lc wrote:
>>
>> Hi,
>>
>> Do you know if there
di you get it ?
I am interested
Le mercredi 26 octobre 2011 21:19:40 UTC+2, Ismael Serratos a écrit :
>
> Hi! Everybody!! I've been looking for a good booking system example, I
> found the web2py.app.booking.w2p app, but the link is not working.
> How could I get it?? Is there any good example?
Hi,
Do you know if there is an existing app similar as grr
(http://grr.devome.com/fr/) for web2py ?
thanks
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
-
Did you find a solution ?
Thanks
Le vendredi 5 juin 2015 06:26:00 UTC+2, Mat Miles a écrit :
>
> I upgraded Web2py to version 2.10.4 on Pythonanywhere which has created a
> problem with SQLFORM.grid. I have a table that has a date field. When you
> attempt to search by this date field in a SQLFO
Hi,
I have a table that has a date field. When you attempt to search by this
date field in a SQLFORM.grid, the date picker no longer appears, just a
test box !!
How can i do ?
thanks
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (
Hi
i have created a custom validator in the the directory modules
*customvalidators.py*
class COUNT_TEXT():
def __call__(self, value):
size = 25
error = None
try:
if len(value.split()) > size:
error="too much words"
except:
g a library helps
> the process of making tabs pretty trivial...
>
> here's jquery ui's information
> http://jqueryui.com/tabs/
>
> bootstrap:
> http://getbootstrap.com/components/#nav-tabs
>
> hope that helps
>
> On Friday, December 4, 2015 at 11:51:31
sorry to have bothered for this little problem. I made so many changes as I
do not see the essantiel
Le samedi 5 décembre 2015 06:32:20 UTC+1, Anthony a écrit :
>
> On Friday, December 4, 2015 at 11:47:17 PM UTC-5, Laurent Lc wrote:
>>
>> the field : Field('Abstract'
I think that I can do differently creating a function register in
default.py and use "onvalidation".
What do you think about that ?
But i would like to understand why it does not run
thank you
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py
Hi,
I'd like to know the best way to present a big form with a lot of fields,
using tabs for example and anchors ?
thank you
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list
the field : Field('Abstract', type = 'text' ),
Le samedi 5 décembre 2015 05:02:13 UTC+1, Laurent Lc a écrit :
>
> Traceback (most recent call last):
> File "C:\Users\chambon\Documents\web2py\gluon\restricted.py", line 227, in
> restricted
>
n't a string (and is missing the split()
> attribute), but the tb may show something different.
>
> /dps
>
>
>> On Friday, December 4, 2015 at 4:30:28 PM UTC-5, Laurent Lc wrote:
>>>
>>> Hello,
>>>
>>> i try to create my own val
Hello,
i try to create my own validator : the goal is to count the number of words
"app/module/customvalidators.py"
class COUNT_TEXT(Validator):
def __call__(self, value):
size = 25
error = None
try:
if len(value.split()) > size:
error="too m
d writable attributes of a field anywhere.
>
> Anthony
>
> On Wednesday, November 25, 2015 at 3:08:01 AM UTC-5, Laurent Lc wrote:
>>
>> Thank you
>> But i want to change in the view
>> Le 25 nov. 2015 8:37 AM, "Alessio Varalta" <
>> alessio.vara...@eth
You are right but i do not want to display some fields in the view and not
all
Le 25 nov. 2015 10:58 AM, "Nico de Groot" a écrit :
> You can also set the attribute 'readable' in the controller.
>
> Nico
>
> --
> Resources:
> - http://web2py.com
> - http://web2py.com/book (Documentation)
> - http:
n form
>
> On Wednesday, 25 November 2015 03:01:19 UTC+1, Laurent Lc wrote:
>>
>>
>> How do i do if i want to see some fields (and not all) when i click on
>> show
>> thanks
>>
> --
> Resources:
> - http://web2py.com
> - http://web2py.com
hi
i return a grid
how can i do if i want to see some fields (and not all) when i select show
for a record
thanks
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Iss
How do i do if i want to see some fields (and not all) when i click on show
thanks
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this mess
I 'd like to see markers on a Map , i ve folowed a tuto but i do not
understand why it does not run.
I have only one point in fact.
If i delete "new GMaps .." there is no map
Could you helpe me
thanks
My View
{{extend 'layout.html'}}
https://maps.google.com/maps/api/js?sensor=true";>
{{f
Thank you
Is there a new version of conf2py or à similar app ?
Le 11 nov. 2015 3:56 PM, "Richard Vézina" a
écrit :
> I guess there is things not compatible with recent version of web2py...
> 2010... It just yesterday... :-P
>
> Richard
>
> On Wed, Nov 11, 2015 a
Could you tell me why it is impossible to run this app.
If i want to create an user it crash the app ..
Th os where i ve installed this app is a debian
Thank you
The most recent version is 2010 ?
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2
idem
Le lundi 11 novembre 2013 22:14:46 UTC+1, Jaeseong You a écrit :
>
> The conf2py seems to suffer from a crash when one is trying to register.
> Is there any past resolution of this bug? Would it be possible for you to
> help me clarify the problem?
>
--
Resources:
- http://web2py.com
- ht
Hello,
I d like to know why ..
menu.py
URL('a', 'c', 'f', args=['x', 'y'], vars=dict(z='t'))
c.py
len(request.args) is always empty
but len (request.vars.keys()) is not empty
i don 't understand
thank you 4 your explanation
--
Resources:
- http://web2py.com
- http://web2py.com/book (Docu
Hi,
i'd like a very simple example please (i begin) :
could you tell me how to do for updating a field when i use sqlform.grid.
Example:
my db :
db.define_table('message',
Field('firstname',requires=IS_NOT_EMPTY()),
Field('lastname',requires=IS_NOT_EMPTY()),
Field('team',requires=IS_NOT_
Hi,
i'd like a very simple example please (i begin) :
could you tell me how to do for updating a field when i use sqlform.grid.
Example:
my db :
db.define_table('message',
Field('firstname',requires=IS_NOT_EMPTY()),
Field('lastname',requires=IS_NOT_EMPTY()),
Field('team',requires=IS_NOT_
Solved
Sorry sometimes you need to write stupid things for finding
Le lundi 19 octobre 2015 21:42:42 UTC+2, Laurent Lc a écrit :
>
> Forget the menu sorry
>
> Le lundi 19 octobre 2015 21:11:31 UTC+2, Laurent Lc a écrit :
>>
>> In fact it does n
Forget the menu sorry
Le lundi 19 octobre 2015 21:11:31 UTC+2, Laurent Lc a écrit :
>
> In fact it does not work :
> My function :
>
> @auth.requires_login()
> def update():
> query = (db1.user.id == request.args(0))
> records = SQLFORM.grid(query=query,user_sign
In fact it does not work :
My function :
@auth.requires_login()
def update():
query = (db1.user.id == request.args(0))
records = SQLFORM.grid(query=query,user_signature=True)
return dict(records=records)
Le lundi 19 octobre 2015 21:00:13 UTC+2, Laurent Lc a écrit :
>
> For
Forget my question i think that a SQLFORM.GRID should be ok, i gonna test
Le lundi 19 octobre 2015 20:49:56 UTC+2, Laurent Lc a écrit :
>
> Hi,
>
> Could you tell me how in can change this line in a a response editable
>
> form = db1(db1.user.id == request.args(0)).select()
&g
Hi,
Could you tell me how in can change this line in a a response editable
form = db1(db1.user.id == request.args(0)).select()
Thank you
Nb: i 'd like to know why one field of my menu disapears when i browse my
app
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
-
For sure you are right.
I have already began an app but i am a beginner. I would to like to show
calendar and permit to add events as grr do or Google calendar
Thank you for your answer
Le 16 oct. 2015 9:57 PM, "Dave S" a écrit :
>
>
> On Friday, October 16, 2015 at 2:12:06 A
Hi,
Does exist *an app already built ti manage* the shared usage of physical
resources among a community of users. Resources may be *rooms*, vehicles,
beamers as grr can do
Thank you
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (
It works for me thank you :)
Le mercredi 21 janvier 2009 11:35:13 UTC+1, voltron a écrit :
>
> Hi Massimo!
>
> thanks for your help. Sadly, that did not work either , another idea?
>
> Thanks
>
> On Jan 21, 11:31 am, mdipierro wrote:
> > try edit wsgihandler.py and replace this line
> >
> >
fields=[db.personnel.nom,db.personnel.burtelephone,db.personnel.mail,db.personnel.groupe,
db.personnel.picture],orderby=db.personnel.nom)
return dict(grid=grid)
Le lundi 5 octobre 2015 16:27:01 UTC+2, Laurent Lc a écrit :
>
> Hi,
>
> I'd like to show pics for each records when
Hi,
I'd like to show pics for each records when i return a grid. My function is
:
def showonly():
query=(db1.test.present=='present')
grid = SQLFORM.grid(query=query, user_signature=False, maxtextlength =
40,deletable=False, \
editable=False, create=False, detail
Could tou give the good code because it does not run for me and i do not
see what's going wrong
cheers
Le vendredi 20 septembre 2013 20:19:18 UTC+2, 黄祥 a écrit :
>
> hi,
>
> i have an table that contain an upload field for store image, i want to
> show the image in sqlform grid. i tried to usi
Hi,
i have a web site built with spip.
I'd like to create a form inside spip (ok i know how to do ;) , but the
action would be http://localhost/app/contro/function.
Now i need to capture the args from the form and embeded the results in
spip.
how to do that ?
thanks
Laurent
--
Resources:
- ht
thank you
Le vendredi 2 octobre 2015 10:59:39 UTC+2, pa...@cancamusa.net a écrit :
>
> You can also use this:
>
> http://mpld3.github.io/index.html
>
> If I understand correctly, once you provide some static libraries, you can
> serve your plots as plain html, or even json, in your views.
>
--
Sorry i found just put the function draw in a model
and add write in the controller:
def mychart():
response.headers['Content-Type']='image/png'
return draw()
Le jeudi 1 octobre 2015 10:36:27 UTC+2, Laurent Lc a écrit :
>
> I found something :
>
> In a c
I found something :
In a controller (the import is done in a model) :
def mychart():
return dict(a=IMG(_src=URL('draw'+'.png')))
def draw():
x = [datetime.date(2014, 1, 29), datetime.date(2014, 4, 15),
datetime.date(2014, 3, 29)]
y = [2, 4, 1]
fig, ax = plt.subplots()
ax.pl
I 'd like to view in a view this part of code :
import datetime
import matplotlib.pyplot as plt
x = [datetime.date(2014, 1, 29), datetime.date(2014, 4, 15),
datetime.date(2014, 3, 29)]
y = [2, 4, 1]
fig, ax = plt.subplots()
ax.plot_date(x, y, markerfacecolor='CornflowerBlue',
markeredgecolor='
Thank you very much
Le 29 sept. 2015 11:20 AM, "Massimiliano" a écrit :
> You can use belongs()
>
>db1.test.groupe.belongs(groupe) & ...
>
>
>
> On Mon, Sep 28, 2015 at 4:36 PM, Laurent Lc wrote:
>
>> function in controller
>>
>>
function in controller
def showselectionfunding():
groupe = request.vars['groupe']
ask_date = request.vars['ask_date']
query=((db1.test.groupe == groupe)&(db1.test.datefincontrat > ask_date))
#query=((db1.test.groupe == groupe)&(db1.test.financement==
financement)&(db1.test.datefi
Sorry i found
distinct=True
Le vendredi 25 septembre 2015 16:25:42 UTC+2, Laurent Lc a écrit :
>
> Hi,
>
> i'd like to create a form from a database.
> form = SQLFORM.factory(
> Field('groupe',requires=IS_IN_DB(db1,db1.test.id
> ,'%(gr
Hi,
i'd like to create a form from a database.
form = SQLFORM.factory(
Field('groupe',requires=IS_IN_DB(db1,db1.test.id,'%(groupe)s',multiple=False)),
Field('financement',requires=IS_IN_DB(db1,db1.test.id,'%(financement)s')),
#Field('quantity','integer',requires=IS_I
Hi,
I'd like to know the best way to permit an user wiht no computer knowledge
to create web pages, sections
thank you
Laurent
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/l
you were right, it was not exactly the same code.
Now i put the code in db.py, and i use the request to set default values in
a form. Is it a good way ?
Le mercredi 16 septembre 2015 16:48:19 UTC+2, Anthony a écrit :
>
> On Wednesday, September 16, 2015 at 10:33:39 AM UTC-4, Laurent Lc
yes copy/paste
it works because in the view associated i can see the var "firstname"
Le mercredi 16 septembre 2015 16:48:19 UTC+2, Anthony a écrit :
>
> On Wednesday, September 16, 2015 at 10:33:39 AM UTC-4, Laurent Lc wrote:
>>
>> like this :
>> myvar="t
like this :
myvar="toto"
for row in dbRH(dbRH.test.login==myvar).select():
firstname = row.firstname
the sql request doesn't work beacause myvar does not exist in sql but in
python. so i don't know how to do
Le mercredi 16 septembre 2015 16:20:11 UTC+2, Leonel Câmara a écrit :
>
> What do
when the request is written like this :
for row in dbRH(dbRH.test.login=="Laurent").select():
firstname = row.firstname
It works .
Now i want to replace "Laurent" by" myvar" and it doesn't work , how to do
please help. It should be very simple but but .. it still doesn't work for
me
--
R
id>0).select()
> or
> dbRH(dbRH.test.login=="Laurent").select()
> ?
>
>
>
> Dne středa 16. září 2015 12:34:09 UTC+2 Laurent Lc napsal(a):
>>
>> Hi
>> could you explain me why it does not work :
>> my file db.py (a part of file)
>>
&g
Hi
could you explain me why it does not work :
my file db.py (a part of file)
loginsession = auth.user.username
dbRH = DAL('mysql://xxx:xxx@localhost/RH', pool_size=0)
dbRH.define_table('test',
SQLField('login', type = 'string' , length = 20 ),
SQLField('nom', type = 'string' , length = 2
gt;
> Richard
>
> On Mon, Sep 14, 2015 at 4:38 PM, Laurent Lc > wrote:
>
>> i am looking for a very simple example
>> thanks
>>
>> --
>> Resources:
>> - http://web2py.com
>> - http://web2py.com/book (Documentation)
>> - http://githu
do i have to use HTTP_AUTHORIZATION with WSGIPassAuthorization On ?
Le mardi 15 septembre 2015 11:52:34 UTC+2, Laurent Lc a écrit :
>
> Hi,
>
> a part of my db.py is :
> .
> .
> from gluon.tools import Auth, Service, PluginManager
>
> auth = Auth(db)
>
Hi,
a part of my db.py is :
.
.
from gluon.tools import Auth, Service, PluginManager
auth = Auth(db)
service = Service()
plugins = PluginManager()
auth.define_tables(username=True)
auth.settings.create_user_groups=False
.
.
I would like to get the session's username and use it for reseaching
It works,i can login through my server cas, but i do not know how to get the
login needed for aurhenticate
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--
i am looking for a very simple example
thanks
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subscribed to the
Did you find a solution ?
lchambo...@gmail.com
Thank you
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you are subsc
Hi
i use these lines of code and the goal is to retreive the login. Ive looked for
Auth_user, cookies but nothing works, how can i do ?
In fac the purpose is to replace PHP_AUTH_USER by ... i don't know. Could you
help me ?
thanks
from gluon.tools import Auth, Service, PluginManager
#auth =
Hi,
i'd like to retrieve the login of people when they authentificate through a
cas server.
With PHP no problem with $_SERVER['PHP_AUTH_USER']
How do we do with web2py
thank you
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source c
Hi,
I have a central server https://cas.monuniversite.fr
I would like to use it as i do with phpcas for example.
Could you tell me how to do :
eg:
1. modify the model db and add ..
2. crate a controller and add
3. modify apache ..
I am a beginner so ... i ve read the doc but i do not understand
Hi
Is it possible to convert a csv file to sqlite quiclly
thanks
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
---
You received this message because you ar
..
Le jeudi 18 juin 2015 13:25:04 UTC+2, Laurent Lc a écrit :
>
> sorry i do not understand i follow the overview (the exemple blogs) and
> when i want to create the group "manager" i cannot see database
> administration db.auth_grou
>
> why ?
> thank you ver
gt; http://...//appadmin
>
> ?
>
>
> On Thursday, 18 June 2015 06:25:04 UTC-5, Laurent Lc wrote:
>>
>> sorry i do not understand i follow the overview (the exemple blogs) and
>> when i want to create the group "manager" i cannot see database
sorry i do not understand i follow the overview (the exemple blogs) and
when i want to create the group "manager" i cannot see database
administration db.auth_grou
why ?
thank you very much
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/w
Sorry,
I have followed the tuto and i cannot create the group "manage" (via
appadmin). could you give me the way to do that
I cannot see auth_users, auth_groups too
Please give simple code for a viewer and a controler or a way to succeed.
Thanks
--
Resources:
- http://web2py.com
- http://web2p
66 matches
Mail list logo