I lost my admin password how i can recover it
--
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
Thank you Mathieu,
I found the place to create issue... Actually, I wanted to better qualify
the issue before open it, restarting from a clean project, and I cannot
reproduce the very first issue!
I encounter some other issues related to binary encoding but now I prefer
triple check before spea
Sure! Let me see how to do that and I will. Thank you
Le mercredi 28 mars 2018 18:49:08 UTC+2, Massimo Di Pierro a écrit :
>
> I think this is. Can you please open an issue about it?
>
> On Tuesday, 27 March 2018 13:32:15 UTC-5, alexand...@gmail.com
> wrote:
>>
>> Hello All,
>>
>> I'm an absolut
Hello All,
I'm an absolute newbie with web2py so I'm not sure if the issue lies in
web2py/3.6 or my own mistakes... My apologies in advance.
I encounter this error in a db.my_table.update_or_insert(..)
UnicodeDecodeError: 'utf-8' codec can't decode byte 0xfe in position 96328:
invalid start by
So I have my table (as seen below) and I want to make it display in the
view below but I don't want it to show all the records, just the records
with the same 'auth_user.teacher_id' as the currently logged in user. How
would I do this?
My Controller:
def default_obs():
obs = db().select(d
I'm on the latest version from the repo,
2.10.0-beta+timestamp.2014.10.16.15.58.50,
though I had this issue on the mainline 2.9.11 as well.
Henry
On Friday, October 24, 2014 12:37:15 AM UTC-7, Niphlod wrote:
>
> what web2py version are you on ?
>
> On Friday, October 24, 2014
-23 17:54:46,470 DEBUG test.py test():16 : {"id":1, "is_read":true}
Note that request data is not parsed into request.post_vars. This would
make sense to me; since request.post_vars is a Storage object which
inherits from a Python dictionary, there would be no dictionary key t
under
request.body.
Thanks for letting me know that request.restful() wouldn't parse it
automatically, Niphlod.
Henry
On Monday, October 13, 2014 12:25:54 PM UTC-7, Niphlod wrote:
>
> you have to code your own methods.
>
> On Sunday, October 12, 2014 11:32:23 PM UTC+2, Henry Nguyen
I have a function in my controller decorated with the @request.restful()
decorator. I would like to be able to accept a JSON array of objects,
[{"id": 1, "new_value": 1},{"id": 2, "new_value": 2}]
, on a POST, PUT, or DELETE. For example, I'd like the client to be able to
update a series of va
authorized.')))
return function(*args, **kwargs)
return check_is_logged_in
@request.restful()
@requires_login
def function():
...
Thanks again for the help, Leonel.
Henry
On Thursday, September 4, 2014 11:22:41 AM UTC-7, Henry Nguyen wrote:
>
> That is definitely a viable option..
That is definitely a viable option... not as clean as the decorator but
certainly functional. Thank you Leonel :)
Henry
On Thursday, September 4, 2014 11:17:47 AM UTC-7, Leonel Câmara wrote:
>
> Ohh, in this case, instead of modifying tools.py I would drop the
> auth.requires_login()
Primarily because I would like to display custom messages sent from the
API, and I want them controllable from the API side. Specifically, our UI
framework has a feature built in which allows us to display custom messages
from the API by specifying the message characteristics in the response
bo
I have a method decorated with the following decorators:
@request.restful()
@auth.requires_login()
On an unauthenticated (non-logged-in) request, I get a 403 response with
"Not authorized" in the response body, per default settings. I would like
to be able to modify this response to be JSON. I
I'm using SQLFORM.grid() to display a list of users from db.auth_user for
an administrative interface. I'd like to display deleted users as well as
active users. Is there any way to modify SQLFORM.grid() to display rows
where is_active == False in addition to where is_active == True? Using
quer
Nice... thank you, Niphlod... I hadn't even considered checking that field
attribute directly like that.
Henry
On Wednesday, April 16, 2014 1:14:21 PM UTC-7, Niphlod wrote:
>
> it's not that far-fetch to include a control for writable = False
> fields.
>
> def
hoping there'd be an easier way to specify validation constraints for
the REST calls, similar to db.table.field.writable = False. Unfortunately,
this only applies to the built-in SQLFORMs.
Henry
On Wednesday, April 16, 2014 11:06:42 AM UTC-7, Derek wrote:
>
> You're right, I g
27;] = row.sms_log
logs.append(log)
return dict(content=logs)
It's a little more manual than I would've liked but it seems to be the only
way. Thanks again for your elucidation of this.
Henry
On Saturday, April 12, 2014 11:48:39 AM UTC-7, Niphlod wrote:
>
> simply put, you can
ay, returning the data for a GET request
efficiently instead of returning a large number of empty fields.
Thank you for your time and any help on this. The rest of web2py is proving
to be a dream to work with.
Henry
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http:
Our product is using the @request.restful() decorator to specify REST
endpoints for our resources. During testing, I noticed that I can specify a
PUT request var of "id=x" where x is some new id and the id of that row
will change to x. This is even WITH "db.table.id.writable = False."
The PUT
requires_membership("buyers")
> or explicitly
> if auth.has_membership(role="buyers"): ...
>
>
> On Monday, 16 December 2013 21:38:08 UTC-6, Henry Nguyen wrote:
>>
>> Hello,
>>
>> Our product has features which can be enabled o
Hello,
Our product has features which can be enabled or disabled depending on what
the user has purchased. I would like to use the built-in Auth permissions
functionality to achieve this effect. However, I'm not sure of what's the
best way to proceed with its implementation. The two scenarios I
The following is contained under the Reference Manual Chapter 9 under the
Restrictions on Registration section:
If you want to allow people to register and automatically log them in after
> registration but still want to send an email for verification so that they
> cannot login again after
Pythonic this really is but it got the job done. Sessions will
be much cleaner, though, so I'll go with that. Thank you again.
On Sunday, December 8, 2013 9:28:16 AM UTC-8, Jonathan Lundell wrote:
>
> On 8 Dec 2013, at 8:43 AM, Jonathan Lundell >
> wrote:
>
> On 8 Dec 2013, at 1
Hello,
I have an application in which users can have sub_users. Within the app, a
user can select a sub_user, at which point, all controls become targeted to
that selected sub_user. For example, if I select sub_user 1 and then goto
"settings/show_settings.html," I want the show_settings.html to
On Sun, Nov 1, 2009 at 7:12 PM, David Henry
> wrote:
> uld I need symlinks to the virtualhost directory as we
>
>
> >
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To
:
> I use virtualhosts on a per domain basis. You are wanting the same
> app, with the same data, but different layouts depending on domain,
> or do you want two completely separate apps per domain?
>
> -Thadeus
>
>
>
>
> On Sun, Nov 1, 2009 at 7:12 PM, David Henry
&
ierro wrote:
>
> Yes. You have to use routes to map the different hostnames into
> different web2py applications which served by the same instance.
> Almost everybody here does it.
>
> Massimo
>
> On Nov 1, 6:21 pm, David Henry wrote:
>> I am new to web2py. I boug
I am new to web2py. I bought the book yesterday and have been reading
through it but haven't completed it as of yet.
I wanted to know if web2py can be setup to do multisite. I'd like to
write the application once and have the users manage the layouts/
templates.
I want to do something like
We are also well networked with other active buyers. This means we can
even help with properties that don't match our current needs.
http://www.greenmiraclesinc.com/inv.php?pg=10
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Goog
29 matches
Mail list logo