;>> translation file.
>>>
>>> I don't understand why the code does a seek(0)/truncate if not opened
>>> for truncate, maybe it's
>>> a windows issue? It's not working on UNix!
>>>
>>> danny
>>>
>>>
--
Re
7.2, seek(0) on an opened file for append does not seek to
> the begining - read the manual.
>
> so LockedFile(...) used by languages, is screwing up the language
> translation file.
>
> I don't understand why the code does a seek(0)/truncate if not opened for
> tr
is screwing up the language
> translation file.
>
> I don't understand why the code does a seek(0)/truncate if not opened for
> truncate, maybe it's
> a windows issue? It's not working on UNix!
>
> danny
>
>
--
Resources:
- http://web2py.com
- http://web2p
t's
a windows issue? It's not working on UNix!
danny
--
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 su
Hi,
I'm watching Massimo's lessons, and was wondering if there are sources for
the applications he is teaching
thanks,
danny
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web
SOLVED!
I moved the session.connect(...) from the end of my db.py to the top, and
now it's ok!
thanks,
danny
On Wednesday, October 15, 2014 8:29:57 AM UTC+3, da...@mail.hebrew.edu
wrote:
>
>
> I created a new application, changed db.py so that session.connect(…) uses
> post
problem for a
long time.
thanks,
danny
On Tuesday, October 14, 2014 4:46:59 PM UTC+3, Anthony wrote:
>
> I cannot reproduce this problem. Could you attach a minimal app the
> reproduces the behavior?
>
> Anthony
>
> On Tuesday, October 14, 2014 9:19:59 AM UTC-4, da...@mai
sorry, some correction:
the value of auth.user is None, auth is an object.
which explains why auth.is_logged_in() is False even after a successful
login
On Tuesday, October 14, 2014 2:25:20 PM UTC+3, Anthony wrote:
>
> What exactly is None (i.e., what do you mean that auth is None)? Is auth
ile, all is ok, but when using db
> (session.connect(..., db)) after loginin,
> the user_id is None. (in glueon/tools.py)
> btw, I'm using the latest version of web2py
>
> cheers,
> danny
>
>
>
>
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documen
hi,
when session is stored in file, all is ok, but when using db
(session.connect(..., db)) after loginin,
the user_id is None. (in glueon/tools.py)
btw, I'm using the latest version of web2py
cheers,
danny
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
-
so far I have great success using web2py and forms, but
my knowledge of html/css etc tends to zero, so is there a simple way to
have a form in hebrew? i.e
hebrew input data : hebrew field name
thanks,
danny
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http
d(pam_auth)
solved that, then some more changes in
gluon/contrib/login_methods/pam_auth.py
finally got it working.
so what gives?
cheers,
danny
--
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and s
Perhaps you can try other methods to model parent-child relationship?
These are related to Closure Table but also talk about other methods:
http://stackoverflow.com/questions/192220/what-is-the-most-efficient-elegant-way-to-parse-a-flat-table-into-a-tree
http://dirtsimple.org/2010/11/simplest-wa
zed, such as the one
for logging out:
auth.messages.logged_out = T('You are logged out.')
Now session.flash (actully response.flash after the redirect) will have
whatever message I set.
On Wednesday, 7 March 2012 00:02:08 UTC, danny wrote:
>
> Hello. I'm trying to customiz
Hello. I'm trying to customize the login and register forms as follows:
- user() function does not return auth(), instead display two forms
separately like this:
{{if not auth.is_logged_in():}}
{{login_form = auth.login()}}
{{=login_form.custom.begin}}
...
{{=
ile. You
> can delete it. Note, we didn't change the name of web2py_ajax.html in the
> views folder because that would have created more difficulties with
> backward compatibility of layout plugins.
>
> Anthony
>
>
>
>
>
>
>
> On Monday, December 19, 2011 9:41:
Hi, in the lastest version of web2py (can't remember if this is the
case for older versions), there are two files that are nearly
identical in the default applications (admin, examples, welcome) js
folder: 'web2py.js' and 'web2py_ajax.js'.
It looks like 'web2py.js' is the newer of the two, should
17 matches
Mail list logo