First, I'd advise against doing this, at least initially. Take what Web2py
gives you for free and concentrate on your app.
2nd, web2py URLs do not end in ".html"
3rd, i think you would use this for
login:
http://web2py.com/books/default/chapter/29/09/access-control#Manual-Authentication
On
Sorry, Anthony. Yes, I meant the MySQL archive tables (mediatitles_archive
in this case).
I'm looking at the table(s) using the command line MySQL console. This is
what it says:
...a couple of sample records from the mediatitles table (id 511 is an
updated record created after logging in
What do you mean by archive "file" -- archived records are written to a
database table? How are you checking for the archived records?
Anthony
On Thursday, June 15, 2017 at 11:06:57 PM UTC-4, jim kaubisch wrote:
>
> Hi,
>
>
> I’m stuck. Have looked at all documentation/discussion groups I
Hi,
I’m stuck. Have looked at all documentation/discussion groups I think, but
the following just doesn’t write records to an archive file
I’ve been struggling with this for a while now, so help would be VERY
appreciated.
The environment is MacOS 10.12.5,, Python 2.7, Web2py 2.14.6,
I ended up updating the database fields in the callback function in web2py
controller, then return a True to indicate ajax to do a location.reload()
to render the page. it does what I need. Apologize for all these questions
and answers myself, but I thought i would share with someone who may
Hello,
I'm trying to get a custom js confirmation popup working. This is pretty
much verbatim from the 2nd answer at -
https://stackoverflow.com/questions/887029/how-to-implement-confirmation-dialog-in-jquery-ui-dialog
When I add this code below to the view, this kills the rest of the js on
With web2py.exe more complete screenshot
C:\Dev\web\web2py_win\web2py_2_14_06>web2py.exe -S welcome
web2py Web Framework
Created by Massimo Di Pierro, Copyright 2007-2017
Version 2.14.6-stable+timestamp.2016.05.10.00.21.47
Database drivers available: psycopg2, pymysql, imaplib, MySQLdb, sqlite3,
Sorry for the late response
There is definitly a different if I use web2py shell source to send mail
or web2py.exe
It works fine with source and failes with web2py.exe
My python installation is 2.7.13
here is my source execution :
C:\Temp\web2py_src\web2py>python web2py.py -S welcome
No
SQLFORM.grid(~db.sometable.somefield.contains('some string'), ...)
The first argument can be a DAL Query object. Use .contains() with the
query preceded by ~ for negation.
Anthony
On Thursday, June 15, 2017 at 10:08:53 AM UTC-4, Pranshul Chitransh wrote:
>
> I want to filter my results by
I want to filter my results by providing a *does not contain *condition.
Does anyone knows how can it be made possible? Thanks in advance.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
-
On Wed, Jun 14, 2017 at 6:22 PM, Anthony wrote:
> On Wednesday, June 14, 2017 at 2:33:58 PM UTC-4, Richard wrote:
>>
>> Anthony,
>>
>> What are the issue with Calendar?? I know it outdated, support seems to
>> shade away (http://www.dynarch.com/ -> Website down and a link to
Hi, it seems to be working in my apps, can you share how are you using
it, and the web2py version?
Greetings.
El 14/06/17 a las 15:21, rajjmatt...@gmail.com escribió:
Did anyone had any success on inserting metadata on layout or SEO
( http://www.web2pyslices.com/slice/show/2048/simple-seo)
Is it possible to use the split_multicell option to show a text field from
a template stored in the DB ? 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
On Tuesday, June 13, 2017 at 8:44:28 AM UTC-7, Alessio Varalta wrote:
>
> I send my data with this javascript
>
> $.ajax({
> url: url,
> dataType: 'json',
> type: 'POST',
> contentType: 'application/json',
> success: function (data) {
>
On Wednesday, June 14, 2017 at 11:31:11 PM UTC-7, skylab.ch...@gmail.com
wrote:
>
> Hi Team,
>
> Application developed and hosted in the web2py. When I am trying to access
> any page even simple page, it is taking minimum 5 to 20 seconds. I am using
> m4.10x large EC2 instance. I have lot of
I made a custom signin form using javascript and ajax to check for
duplicated user/wrong username-password combination.The ajax request I made
is like this
$.ajax({
url:'../default/signin.html',
type:'POST',
data:{
username:username,
password:password,
email:email
},
Thanks. Once logged in I'll fix it.
Regards
On Jun 15, 2017 09:19, "Anthony" wrote:
> On Thursday, June 15, 2017 at 1:48:51 AM UTC-4, Maurice Waka wrote:
>>
>> Sorry. Am not sure about value of Auth.user_id
>>
>
> It is the id of the current logged in user. You can simply
Thx, i understand, that its all must be in model - im testing)
So, how i must write, that web2py understand "tabnum" like "id"?
In book i found:
db.mytable.other_id.represent = lambda id, row: row.myfield
and
primarykey=['accnum','acctype']
im trying, but still error.
--
Resources:
-
What makes you think it is a memory problem? What does your code look like?
What happens if you access the /welcome/default/index, or /admin? Do those
pages also take 5-20 seconds?
Anthony
On Thursday, June 15, 2017 at 2:31:11 AM UTC-4,
skylab.chennai2...@gmail.com wrote:
>
> Hi Team,
>
>
I have this custom field Widget
Field('cliente', widget=SQLFORM.widgets.autocomplete(request,
db.clientes.razon, limitby=(0, 10), min_length=1))
...
And this function in the
I have a button in a function A() and on clicking it I need to send a value
to function B() which will process it and send the desired output to view
of function C(). Using callback I am able to send the value to function B()
but it only gets displayed in view of function B() if I set a target
Hi Team,
Application developed and hosted in the web2py. When I am trying to access
any page even simple page, it is taking minimum 5 to 20 seconds. I am using
m4.10x large EC2 instance. I have lot of memory. How to increase memory for
application in web2py? I am not finding any document for
web2py will still create the auth_group and auth_membership tables (they
are not only used for the groups controlled by the
auth.settings.create_user_groups setting, which only determines whether
each user gets their own personal group). Anyway, I think the problem you
are having is due to
On Thursday, June 15, 2017 at 1:48:51 AM UTC-4, Maurice Waka wrote:
>
> Sorry. Am not sure about value of Auth.user_id
>
It is the id of the current logged in user. You can simply display it on
the page or print it to the console to inspect it.
Anthony
--
Resources:
- http://web2py.com
-
just an idea, why not put the default value for that fields?
e.g.
default = auth.user_id
best regards,
stifan
--
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
My mistake!
Please forgive me for wasting your time. I can't replicate that situation
where I received above mentioned message. Suddenly I can do everything that
I want.
Working with web2py is fun!
On Thursday, June 15, 2017 at 12:21:11 AM UTC-4, Anthony wrote:
>
> It's still not clear what is
26 matches
Mail list logo