I love web2py and it's the only framework i feel i am fully capable to do or
learn to do quickly.
However, I remember see that this framework is intended for small to medium
sized deployments. Is this true? What is it that stops us from larger
deployment? Should i pickup django because i may nee
Which data are you referring to? I am unsure what you wish me to
share.
On Nov 12, 10:02 pm, mdipierro wrote:
> Can you share some data?
>
> On Nov 12, 2:01 am, Luther Goh Lu Feng wrote:
>
>
>
>
>
>
>
> > My colleague did a deployment of web2py using today using apache as a
> > reverse proxy. Th
maby it should be like WebGrid :)
On Nov 13, 7:14 am, mdipierro wrote:
> Probably yes. I am not happy with crud.select. I think it should do
> pagination for example too and have sortable columns and perhaps have
> a an option to include crud.select().
>
> Massimo
>
> On Nov 12, 10:47 pm, "mr.fre
Centos 5.5, Apache 2 and mod_wsgi.
I tried using the "New simple application". I gave it a name och pressed
create. I get "unable to create application 'testing'".
Kenneth
What is your setup? apache?mod_wsgi?
On Nov 12, 5:48 pm, Kenneth Lundström
wrote:
> Can you check if this folder
Probably yes. I am not happy with crud.select. I think it should do
pagination for example too and have sortable columns and perhaps have
a an option to include crud.select().
Massimo
On Nov 12, 10:47 pm, "mr.freeze" wrote:
> I know. I'm asking if it should. Would you take a patch?
>
> On Nov
web2py 1.89.1 breaks clockpicker for Field('...','time').
Somehow jquery.clockpicker fails to determine the coordinates of the
location where the INPUT is located.
If anybody knows how to fix this, help is appreciated.
Massimo
On Nov 12, 9:22 am, mdipierro wrote:
> Please give it a try and rep
Did you restart the server?
On Nov 12, 11:13 pm, mart wrote:
> hum... the upgrade broke my running instance of web2py (not a big
> deal, I'll just install (not upgrade) to a different folder). Since,
> this seems to only happen to me, I can assume that it is something I
> have in current web2py f
I'm not sure how pyodbc works internally, but you might try turning on
TCP protocol on the db if it is not already enabled.
On Nov 12, 11:59 pm, Crim wrote:
> thanks a lot for your help xD now the only errors im getting are from
> not being able to connect to my db :P i think that there is someth
thanks a lot for your help xD now the only errors im getting are from
not being able to connect to my db :P i think that there is something
in the conf of the db that is keeping me from connecting :P
ps if you just right click the web2py.py and run with python .. that
works too xD thanks for teach
No problem. Just download this:
http://www.web2py.com/examples/static/web2py_src.zip
and extract it somewhere. From there do:
Start / Run / cmd / Hit enter
cd c:\where_ever_you_put_web2py_src
python web2py.py
If you get grief about python being an unknown command, then it means
the python exe is
wait i take that back it keeps throwing this error
Traceback (most recent call last):
File "C:/Users/SmartAssX/Desktop/test", line 3, in
snt = pyodbc.connect('driver={SQL
Server};server=localhost;database=stuff;uid=sa;pwd=')
Error: ('08001', '[08001] [Microsoft][ODBC SQL Server Driver]
[DBN
i ran the pyodbc.connect( and it work ... it didnt do anything ie no
errors so it seems like its working xD
im using the windows installer so i suppose binary ... i dont mean to
sound like a huge noob but i am a little and would like to know how to
"install" the source file
On Nov 12, 11:13 pm,
hum... the upgrade broke my running instance of web2py (not a big
deal, I'll just install (not upgrade) to a different folder). Since,
this seems to only happen to me, I can assume that it is something I
have in current web2py folder (or on my system)... wish I knew what
the "oddity" was so I could
You would need to do snt = pyodbc.connect(...). It sounds like the
driver is working though. Are you running the binary or source version
of web2py. If you're running the binary version then it is using the
Python 2.5 that ships with web2py. You may want to try the source
version so that it uses yo
python 2.7
the import worked fine i tryed this next in the shell and got the
following error
import pyodbc
snt = connect('driver={SQL
Server};server=localhost;database=stuff;uid=sa;pwd=')
--
Traceback (most recent call last):
File "C:/Users/name/Desktop/test", line 3, in
Start / Run / c:\python26\python.exe (or whatever your python version
is)
import pyodbc
I see that there is only a 64bit driver for python 2.7. What version
are you running?
On Nov 12, 10:55 pm, Crim wrote:
> you mean just
> import pyodbc
> db = DAL('mssql://acc:p...@localhost/stuff', pool_size=
Maybe a bug?
When I create a .LOAD component, the save doesn't seem to work in IE
or Firefox.
On Nov 12, 10:44 pm, mdipierro wrote:
> The fact is after you upgrade you get the new admin which uses a new
> API function. Unless you restart the server that API function is not
> available. This is a
you mean just
import pyodbc
db = DAL('mssql://acc:p...@localhost/stuff', pool_size=0)
??
On Nov 12, 10:51 pm, "mr.freeze" wrote:
> Are you able to open a python shell and do this without error? If not,
> there is a problem with the driver:
> import pyodbc
>
> On Nov 12, 10:47 pm, Crim wrote:
>
Are you able to open a python shell and do this without error? If not,
there is a problem with the driver:
import pyodbc
On Nov 12, 10:47 pm, Crim wrote:
> i do
>
> if it makes a difference im on a 64bit system
>
> On Nov 12, 10:46 pm, "mr.freeze" wrote:
>
> > Do you have the pyodbc driver insta
i do
if it makes a difference im on a 64bit system
On Nov 12, 10:46 pm, "mr.freeze" wrote:
> Do you have the pyodbc driver installed?http://code.google.com/p/pyodbc/
>
> On Nov 12, 10:43 pm, Crim wrote:
>
>
>
>
>
>
>
> > it gives me this in the error snapshot:
> > (global name 'pyodbc' is not d
I know. I'm asking if it should. Would you take a patch?
On Nov 12, 10:42 pm, mdipierro wrote:
> No it does not.
>
> On Nov 12, 8:41 pm, "mr.freeze" wrote:
>
> > Should Crud.select honor record level auth permissions when returning
> > records? Right now it only filters by table.
>
>
Do you have the pyodbc driver installed? http://code.google.com/p/pyodbc/
On Nov 12, 10:43 pm, Crim wrote:
> it gives me this in the error snapshot:
> (global name 'pyodbc' is not defined
> (tried 5 times))
>
> On Nov 12, 10:40 pm, mdipierro wrote:
>
> > Can you post the exact error?
> > There i
The fact is after you upgrade you get the new admin which uses a new
API function. Unless you restart the server that API function is not
available. This is a one time event since we never made such a big
change in admin.
On Nov 12, 7:26 pm, Anthony wrote:
> I had the same exact experience on Win
sry about that no i had fixed that part :(
On Nov 12, 10:42 pm, "mr.freeze" wrote:
> If that is the actual URI, then it is missing a colon after mssql.
>
> On Nov 12, 10:40 pm, mdipierro wrote:
>
>
>
>
>
>
>
> > Can you post the exact error?
> > There is not nothing working with your URI string
it gives me this in the error snapshot:
(global name 'pyodbc' is not defined
(tried 5 times))
On Nov 12, 10:40 pm, mdipierro wrote:
> Can you post the exact error?
> There is not nothing working with your URI string and the password is
> indeed optional.
>
> Massimo
>
> On Nov 12, 10:36 pm, Crim
If that is the actual URI, then it is missing a colon after mssql.
On Nov 12, 10:40 pm, mdipierro wrote:
> Can you post the exact error?
> There is not nothing working with your URI string and the password is
> indeed optional.
>
> Massimo
>
> On Nov 12, 10:36 pm, Crim wrote:
>
> > i wasnt able
No it does not.
On Nov 12, 8:41 pm, "mr.freeze" wrote:
> Should Crud.select honor record level auth permissions when returning
> records? Right now it only filters by table.
What is your setup? apache?mod_wsgi?
On Nov 12, 5:48 pm, Kenneth Lundström
wrote:
> > Can you check if this folder was created?
> > /data/domains/web2py/applications/Boatintra
>
> No it was not created.
>
> > if not it is a file permission issue. What os? was it a binary
> distribution of we
Can you post the exact error?
There is not nothing working with your URI string and the password is
indeed optional.
Massimo
On Nov 12, 10:36 pm, Crim wrote:
> i wasnt able to figure out the meaning of the error...
>
> On Nov 12, 10:32 pm, "mr.freeze" wrote:
>
> > Can you post the traceback of
i wasnt able to figure out the meaning of the error...
On Nov 12, 10:32 pm, "mr.freeze" wrote:
> Can you post the traceback of the error?
>
> On Nov 12, 5:27 pm, Crim wrote:
>
>
>
>
>
>
>
> > so this is all the code i really have for this right now
>
> > db = DAL('mssql//s...@localhost/master')
Can you post the traceback of the error?
On Nov 12, 5:27 pm, Crim wrote:
> so this is all the code i really have for this right now
>
> db = DAL('mssql//s...@localhost/master')
>
> just trying to connect to my localhost ms sql db that i set up using
> the newest version of ms sql server
>
>
so this is all the code i really have for this right now
db = DAL('mssql//s...@localhost/master')
just trying to connect to my localhost ms sql db that i set up using
the newest version of ms sql server
im just trying to use the default account sa to connect ... which
doesnt require a passw
Ok so i have been reading the web2py book and it says to use this sort
of command to connect
db = DAL('mssql://account_name:passwo...@localhost/master') #
the databases name is master and i want to print the tables
print db.tables #so i can check if its working
by looking at my properties
Probably typo in wizard at step 2
The Instructions say:
If you need authentication remove the table "auth_user".
Shouldn't that be:
If you DO NOT need authentication remove the table "auth_user"
On Nov 12, 9:22 am, mdipierro wrote:
> Please give it a try and report any bug.
>
> 1.89.1
>
Should Crud.select honor record level auth permissions when returning
records? Right now it only filters by table.
I had the same exact experience on Windows (in IE). Here's the
traceback I got:
Traceback (most recent call last):
File "C:\web2py\gluon\restricted.py", line 188, in restricted
exec ccode in environment
File "C:\web2py\applications\admin/views\default/site.html", line
182, in
AttributeErr
Thanks, that seems to be working. :)
On Sat, Nov 13, 2010 at 1:15 AM, Martin.Mulone wrote:
> Did you try?
>
> IMG(_src=URL('static', str(T('images/someimage.jpg'
>
> On 12 nov, 20:59, Branko Vukelic wrote:
>> I'm using the URL method as a src attribute for an image like so:
>>
>> IMG(_src=UR
On 11/12/2010 4:58 PM, mdipierro wrote:
ps. may not work on windows
I doubt this is what you meant, but I seem to have hit a snag with the
upgrade.
web2py is running on ubuntu, but I'm managing it from chrome on win7.
After upgrading, the redirect back failed. Attempting to reload the
admin
Did you try?
IMG(_src=URL('static', str(T('images/someimage.jpg'
On 12 nov, 20:59, Branko Vukelic wrote:
> I'm using the URL method as a src attribute for an image like so:
>
> IMG(_src=URL('static', 'images/someimage.jpg'))
>
> This image contains some text that must be translated, so there
I'm using the URL method as a src attribute for an image like so:
IMG(_src=URL('static', 'images/someimage.jpg'))
This image contains some text that must be translated, so there could
be someimage_pt-br.jpg, someimage_sr-rs.jpg, etc. I thought this would
be a good idea:
IMG(_src=URL('static', T(
On Nov 12, 2:14 pm, demetrio wrote:
> I hope you find this something useful.
Thank you.
> Can you check if this folder was created?
> /data/domains/web2py/applications/Boatintra
No it was not created.
> if not it is a file permission issue. What os? was it a binary
distribution of web2py?
Linux, source. All files permissions apache:web2py. I tried to change
file permissions of
Can you check if this folder was created?
/data/domains/web2py/applications/Boatintra
if not it is a file permission issue. What os? was it a binary
distribution of web2py?
On Nov 12, 5:30 pm, Kenneth Lundström
wrote:
> Just installed the newest version of web2py (1.89.1) and tested the
> wiz
There are two things you can do.
1) session.secure() # will force session over https
2) call auth.logout() to delete all auth information from the session
(this will not change the session cookie)
3)
auth.settings.logout_onlogout=lambda user:
os.unlink(response.session_filename)
This will delete
Just installed the newest version of web2py (1.89.1) and tested the
wizard to create a new appl.
I came to step 6 when I got a error.
Version
web2py™ Version 1.89.1 (2010-11-12 15:14:36)
Python
Traceback
Traceback (most recent call last):
File "/data/domains/web2py/gluon/restricted.py", line 1
Hi, long time no see, guys
I did exact thing like in the book
from gluon.contrib.login_methods.linkedin_account import LinkedInAccount
auth.settings.login_form=LinkedInAccount(request,KEY,SECRET,RETURN_URL)
(yeap I had inserted key etc, and yes, I haven't sent it in my ticket
to all the public, I
I've inspected web2py cookies, and I think I'm on to a problem.
Say, I'm going into a public internet cafe. I'm getting into a web2py
websute, that use the default auth. I'm looking at the cookie data,
saving it
then, I'm sitting in the next chair, and some other guy goes to the
same website, and l
ps. may not work on windows
On Nov 12, 3:11 pm, Andrew Thompson wrote:
> On 11/12/2010 10:22 AM, mdipierro wrote:
>
> > Please give it a try and report any bug.
>
> > 1.89.1
> > - new admin layout (thanks Branko Vukelic)
> > - new admin search
> > - new admin language selector (thanks Yair)
> > -
Excellent! Thanks!
On Nov 12, 11:51 am, mdipierro wrote:
> auth.settings.login_onaccept=lambda form: do_something(form)
>
> same with logout, etc.
>
> On Nov 12, 11:50 am, Alex wrote:
>
>
>
> > Hello,
>
> > I have a question regarding authentication. I would like to find a
> > way to do certai
yes
On Nov 12, 3:11 pm, Andrew Thompson wrote:
> On 11/12/2010 10:22 AM, mdipierro wrote:
>
> > Please give it a try and report any bug.
>
> > 1.89.1
> > - new admin layout (thanks Branko Vukelic)
> > - new admin search
> > - new admin language selector (thanks Yair)
> > - new Welcome app (thanks
In the latest version 1.89.1 ti does what you say if you set
default=None
On Nov 12, 3:10 pm, baloan wrote:
> Hi,
>
> I have defined a table:
>
> username = auth.user and auth.user.username
>
> db.define_table('email',
> Field('email', 'string', length=40, notnull=False,
> unique=
options=[str(my_macaddr[i].MacAddr) for i in range(len(my_macaddr))]
form=SQLFORM.factory(Field('macs',requires=IS_IN_SET(options,multiple='multiple')))
if form.accepts(request):
dbset=db4((db4.data_table.ReqTime>='2010-11-08T21:00')&(db4.data_table.ReqTime<='2010-11-08T22:00'))
if form.var
A few more days of debug yielded a rather simple solution in the end.
Compiling pyodbc with mingw32 was actually the correct answer. I had
tried building pyodbc on a different system and then just copying over
the *.pyd & *.egg-info. That's not good enough. You have to actually
install mingw on
Hi,
I'm getting the following error in my local installation with
postgresql when using auth.define_tables(migrate=True):
(relation "auth_user" already
exists)
web2py™ Version 1.89.1 (2010-11-12 15:14:36)
Python Python 2.6.4: C:\Python26\python.exe
Traceback (most recent call last):
File "C:
This looks great! Amazing work, everyone.
The language selection in admin isn't working for me in IE on Windows
(works fine in FF). When I select a language other than en, it does
reload the page, but the language remains in English (and en remains
selected in the drop-down).
Also, I'm still havi
there was a problem loading my static files in the designer
I would push it but our project uses git here is a patch.
/***
fix web2py bug when static path matches
ex:
filepath =/test/dojox
path = /test/dojo
passes '/'.join(file_path).startswith
On 11/12/2010 10:22 AM, mdipierro wrote:
Please give it a try and report any bug.
1.89.1
- new admin layout (thanks Branko Vukelic)
- new admin search
- new admin language selector (thanks Yair)
- new Welcome app (thanks Martin Mulone)
I've been recently just updating with the link in the admi
Hi,
I have defined a table:
username = auth.user and auth.user.username
db.define_table('email',
Field('email', 'string', length=40, notnull=False,
unique=True, represent=lambda s: s),
Field('active', 'boolean', default=True),
Field('expires', 'dat
for me as well, since 1.89.1 clockpick appears as villas describes.
On Nov 12, 9:23 pm, villas wrote:
> Hi All,
>
> The latest upgrade seems to have broken Clockpick. The times now
> appear in the top teft corner of the screen instead of adjacent to the
> input. I've played around with it, but
Hello,
I observed that the "Welcome" in the navbar not translate anymore.
I try to solve by adding a T() at line 1051 of tool.py, but it didn't works.
Richard
Hi All,
The latest upgrade seems to have broken Clockpick. The times now
appear in the top teft corner of the screen instead of adjacent to the
input. I've played around with it, but I couldn't see what's wrong.
To test it, just add a DB table to the Welcome app containing a time
field and the
This is a fantastic update. web2py has been improving very quickly.
Love the new web2py website, love the new admin look!
Great work everybody!
On Nov 12, 9:22 am, mdipierro wrote:
> Please give it a try and report any bug.
>
> 1.89.1
> - new admin layout (thanks Branko Vukelic)
> - new admin se
Massimo,
Thanks, that works great!
What do I do to get it to only run on submit instead of load?
BTW, one of the things that's most awesome about web2py is your activity on the
list and how helpful you are. I for one really appreciate that!
On Nov 12, 2010, at 10:12 , mdipierro wrote:
> opti
new admin, new welcome, and gae deploy button are, wizard... each day
prettier and easier.
thanks to you, the community.
On Fri, Nov 12, 2010 at 7:04 PM, Bruno Rocha wrote:
> Great!
>
> each day I like web2py more!
>
> 2010/11/12 mdipierro
>
> Congratulations to all those how contributed (whose
2010/11/12 Mirek Zvolský :
> That's not the case of
> http://zvolsky.alwaysdata.net/crm2.jpg
DISCLAIMER: I'm not experienced with large-scale database designs.
Now that I've gotten that out of the way...
What's the meaning of 'created_by' in this set-up? If it's meant to be
taken as 'record crea
2010/11/12 Mirek Zvolský :
>>> Mariano Reingart
>
> Thanks for your response and practical experience with large system.
>
> I think the problem is clear:
> In current web2py philosophy the same data model becames valid or
> invalid based on the order of table definition commands. And if a
> model
> Is there a reason for not sticking the record creation inside of its own
> table?
Hi Tadeus,
This is just an example. I have used it to show Massimo and others,
that the simplest part of CRM application model, if you change
"created_by" from type "string" to type "reference..", then there is
no
Hi,
I have a web2py application which have a link in it's index.html which
is something like this
http://blog.example.com";>blog
the application is itself hosted in http://example.com,
the subdomain is external application which maps to a blog hosted by
blogger.com, I figured there should be a
Great!
each day I like web2py more!
2010/11/12 mdipierro
> Congratulations to all those how contributed (whose names are in the
> hg logs) because this is a beautiful version.
>
> If your name is not mentioned in the who.html page and you think it
> should be please assume this is an oversight
Love the file search function! Nice work!
-S
On Nov 12, 12:09 pm, appydev wrote:
> Really beautiful!
Here is attached the pt-br.py file for translating /admin application into
portuguese.
I hope this can be useful for someone who speaks portuguese, and this needs
a review before being integrated into web2py /admin
any portuguese speakers could help reviewing the translation strings?
Note: Some
auth.settings.login_onaccept=lambda form: do_something(form)
same with logout, etc.
On Nov 12, 11:50 am, Alex wrote:
> Hello,
>
> I have a question regarding authentication. I would like to find a
> way to do certain events (ie. store stuff in the cache, update a last
> login time in the DB, e
Hello,
I have a question regarding authentication. I would like to find a
way to do certain events (ie. store stuff in the cache, update a last
login time in the DB, etc.) when a user logs in and logs out.
I'm currently just using the built in "auth" object and was wondering
if there was a simp
I got it. I had a type mutation.
Richard
On Fri, Nov 12, 2010 at 11:50 AM, Richard Vézina <
ml.richard.vez...@gmail.com> wrote:
> Ok I think I found...
>
> Is it because I am referring to the same table??
>
> Richard
>
>
> On Fri, Nov 12, 2010 at 11:43 AM, Richard Vézina <
> ml.richard.vez...@gm
Right. I get it now.
Is there a reason for not sticking the record creation inside of its own
table?
--
Thadeus
2010/11/12 Mirek Zvolský
> hich person is an employee of which company,
> 2) which person has created the company record,
> 3) which person has created the person records,
> all 3
Thanks. I uploaded a new version to pypi.
--
Thadeus
On Fri, Nov 12, 2010 at 10:27 AM, Andrew Evans wrote:
> Hey Thadeus!
>
> where would you like me to submit it? I can upload it here to this news
> group. The only thing I changed was what you suggested ;) adding self.r.args
> to the genera
Really beautiful!
Ok I think I found...
Is it because I am referring to the same table??
Richard
On Fri, Nov 12, 2010 at 11:43 AM, Richard Vézina <
ml.richard.vez...@gmail.com> wrote:
> Ok thanks!
>
> I wondering about an other thing :
>
> I have this :
>
> db['table1'].nottableidfield_id.represent=\
> lambd
Ok thanks!
I wondering about an other thing :
I have this :
db['table1'].nottableidfield_id.represent=\
lambda nottableidfield_id: A("%(someotherfield)s"
%db.table1[nottableidfield_id],\
_href=URL(r=request,f='read',args='someothertable'+'/'+str(nottableidfield_id)))
And I get
format ma
this is not possible (because it is a DAL not an ORM)
You can do:
db.TABLENAME.FIELDNAME.represent=lambda value: value
for row in db().select(db.TABLENAME.FIELDNAME):
print db.TABLENAME.FIELDNAME.represent(row.FIELDNAME)
This would be the closest thing
On Nov 12, 10:27 am, Richard Vézina
w
Hello,
I would know how I can get a print out of my field.represent=lambda
something in command line web2py environnement.
Hope I am clear.
For example if I do
print (db().select(db.TABLENAME.FIELDNAME))
I get the values of the field. In case I have create a representation of the
field can I g
Hey Thadeus!
where would you like me to submit it? I can upload it here to this news
group. The only thing I changed was what you suggested ;) adding self.r.args
to the generate links function ;)
def generate_links(self):
self.backward = A('<< previous()', _href=URL(r=self.r,
args=self.r
We do not have a widget for that but it is time to make one. It is not
difficult.
If I have time I will do this over the week-end. Other users may have
already something working.
On Nov 12, 10:17 am, Joe Wakefield wrote:
> So I'm trying to migrate an old rails app that broke a while back, and
> I
I found I had put a import to redirect that was causing the crash.
Strange thing is that it looks like it was neeed in past (I don´t
remember why)
and now it crashes but removing ti everything is normal.
On Nov 11, 4:19 pm, yamandu wrote:
> One thing that could have to do with this is that I down
So I'm trying to migrate an old rails app that broke a while back, and
I came across a rather difficult situation. I boiled the problem down
to this simplified mockup: http://yfrog.com/ghbeanjarsp
The real app has nothing to do with jelly beans, but this is the issue
at hand. Basically there are t
options=[str(my_macaddr[i].MacAddr) for i in range(len(my_macaddr))]
form=SQLFORM.factory(Field('macs',requires=IS_IN_SET(options,multiple='multiple')))
dbset=db4((db4.data_table.ReqTime>='2010-11-08T21:00')&(db4.data_table.ReqTime<='2010-11-08T22:00'))
if form.accepts(request) and form.var
It s absolutely beautiful on windows.
On Fri, Nov 12, 2010 at 4:46 PM, mdipierro wrote:
> Congratulations to all those how contributed (whose names are in the
> hg logs) because this is a beautiful version.
>
> If your name is not mentioned in the who.html page and you think it
> should be please
Sorry I wasn't clear.
I'm using a select multiple element in my form. When more than one (in my
example, it's a MAC address) item is chosen, I need to return a result set for
each choice and display them together.
I could do it with a query like: "choice 1 OR choice 2" or I could do it by
Wow it worked that way! Thanks for your patience and time Mr. DiPierro
On 11 nov, 17:42, mdipierro wrote:
> Now I get it
>
> source=os.path.join(request.folder,'uploads/Image.image.a278723.jpg')
> dest=os.path.join(request.folder,'uploads/advertisement.jpg')
> shutil.copy(source,dist)
>
> On Nov
Congratulations to all those how contributed (whose names are in the
hg logs) because this is a beautiful version.
If your name is not mentioned in the who.html page and you think it
should be please assume this is an oversight on my site (I try to keep
track but I can do mistakes) so please do no
You can add field auth_user (client with default to request.client)
then in db.py
if auth.user and auth.user.client!=request.client:
session.flash="oops"
redirect(URL('user/logout'))
On Nov 12, 8:39 am, Paul Gerrard wrote:
> Two machines with FF would be more reliable :O)
>
> I have a r
Thank you for all the reported corrections. I think I have
incorporated them all. Please check.
Branko is already at work for a better layout.
Massimo
On Nov 12, 4:06 am, Paul Gerrard wrote:
> Here are my comments on the Guidelines page. Some of these are
> duplicates with other peoples' comme
Please give it a try and report any bug.
1.89.1
- new admin layout (thanks Branko Vukelic)
- new admin search
- new admin language selector (thanks Yair)
- new Welcome app (thanks Martin Mulone)
- beter wizard
- admin support for DEMO_MODE=True
- admin exposes GAE deployment button (always)
- MENU
Two machines with FF would be more reliable :O)
I have a related question. Is there are way of stopping a user account
being used by more than one person simultaneously? Is there anything
in Web2p to help with thsi or would I need to have some form of DB/
session solution?
Thanks.
On Nov 11, 5:2
Well, ExtendedLoginForm is not working, but I am trying to fix it and send a
patch.
By now, I am using another solution, If someone else needs the same.
to have both auth modes [built-in and RPX] just like in:
http://natalanimal.com.br/init/default/user/login and web2pyslices.com
At models afte
crud.settings.update_next = URL(c=request,f='select')
should be
crud.settings.update_next = URL(r=request,f='select')
or
crud.settings.update_next = URL('select')
On Nov 12, 6:52 am, leone wrote:
> Hi,
> peraphs a bias in
>
> def mycontroller():
> crud.settings.update
http://www.web2py.com/book/default/chapter/06#find,-exclude,-sort
On Nov 12, 6:19 am, apple wrote:
> items=db(db.dataitems.templatename==session.templatename).select(db.dataitems.ALL)
> item=filter(lambda item: item.id==r.itemid, items)[0]
> item.delete_record()
>
> This deletes the record from t
You can use pyfpdf or reportlab. I let Mariano explain how to use
pyfpdf.
To use reportlab just unzip the pure python implementation in web2py/
site-packages
import it in any of your actions.
call if from your controller actions and/or view.
(p.s. web2py actions also can return a file-like obje
IS_NOT_IN_DB(db,'friend_name')
should be
IS_NOT_IN_DB(db,'friend.name')
On Nov 12, 5:29 am, Kostas M wrote:
> I am trying to reproduce the "What is going on with web2py?" video
> (http://vimeo.com/13485916). At the 'friend' section, when I try to
> enter a new friend eg. "Max" I am getting this
The admin (admin) has a selector at the bottom, it uses cookies to
keep the preferred selected language.
On Nov 12, 3:10 am, Stefan Scholl wrote:
> That's how I do it with multilingual sites: The browser language
> determines the first page you reach. Every language has its own
> directory in the
1 - 100 of 119 matches
Mail list logo