On Wednesday, October 19, 2016 at 7:56:55 PM UTC-4, Anthony wrote:
>
> On Wednesday, October 19, 2016 at 5:04:24 PM UTC-4, PRACHI VAKHARIA wrote:
>>
>>
>> The goals is learning – to see and understand the process and working
>> happening in the background to make everything work – to see the
I tried cloning this to try it out (it might be the answer to my API
question) but it did not work and there is no w2p extension file. How can I
install to try it?
thanks
On Friday, October 14, 2016 at 10:41:25 AM UTC-7, Massimo Di Pierro wrote:
>
> So I made this:
>
>
On Wednesday, October 19, 2016 at 5:04:24 PM UTC-4, PRACHI VAKHARIA wrote:
>
>
> The goals is learning – to see and understand the process and working
> happening in the background to make everything work – to see the web2py in
> action from inside.
>
> Currently, web2py works so well that one
RESTFUL API I meant to write
On Wednesday, October 19, 2016 at 2:42:52 PM UTC-7, greenpoise wrote:
>
> First, I am new to API. I did read and went through the web2py book
> section of API but I am still a bit lost. Is there a good example for this?
> Am I asking/searching the right way?
>
problem solved by simple use another ec2 instance with ubuntu version 10.04
ubuntu-trusty-14.04-amd64-server-20160714
Then I strictly followed the book, and with a few small issues I could
google myself I could make it work.
I used the scripts/setup-web2py-nginx-uwsgi-ubuntu.sh
This script
First, I am new to API. I did read and went through the web2py book section
of API but I am still a bit lost. Is there a good example for this? Am I
asking/searching the right way?
thanks
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
-
> See http://web2py.com/books/default/chapter/29/04/the-core#Logging. Note,
> the framework itself will only issue a limited number of INFO logs, so you
> won't have much visibility into the framework.
>
> You can also set up profiling and logging of the HTTP requests (i.e., a
> list of each
The goals is learning – to see and understand the process and working
happening in the background to make everything work – to see the web2py in
action from inside.
Currently, web2py works so well that one does not need to worry about
things like that, which is great, but it also hides the
On Wednesday, October 19, 2016 at 7:34:40 AM UTC-4, Mirek Zvolský wrote:
>
> I think in the alphabetically first model I will use
>
> if request.controller == '':
>response.models_to_run = ...
>
>
Are you saying you will specifically use the value '' for
request.controller? Your code should
On Wednesday, October 19, 2016 at 5:26:18 AM UTC-4, Nico de Groot wrote:
>
> You could use conditional models. Just make an empty folder in /models
> with the name of a (new) controller. Put the functions that don't need any
> models inside that controller.
Making an empty model folder
http://www.jetbrains.com/help/pycharm/2016.2/web2py.html
On Wednesday, October 19, 2016 at 1:37:48 PM UTC-4, Ty oc wrote:
>
> Hi there, I know I can debug web2py from pycharm (but sometimes a little
> slow response time). It also include a nice git interface... so.
>
> Thought I will like more
Hi there, I know I can debug web2py from pycharm (but sometimes a little
slow response time). It also include a nice git interface... so.
Thought I will like more intellisense help or jump to definition (because
some things in web2py are global), setting some folders to ignore and other
to
2016-10-17 21:11 GMT+02:00 Niphlod :
> BTW: please start adapting your code to use mysched.queue_task()
> instead of db.scheduler_task.insert(...) .
> Next releases could change the format of the scheduler_task table and only
> the queue_task method is the supported one
When I download & run a fresh copy of the web2py_osx app, I get the usual
warnings about it not being from a known source (b/c it is unsigned, I
presume). In previous versions, when I told the Security System Preference
panel to open it anyway, it did, and all was well. But now, soon after it
this starter is awsome.
https://github.com/mjbeller/web2py-starter
The code is very well written.
2016-10-18 22:46 GMT+01:00 Marco Mansilla :
> I'm used to:
>
> $python web2py.py -S newapp
>
> There are very few things I do outside the console, so this method feels
>
*e.g.*
*models/db.py*
if request.function == 'user' :
response.models_to_run = ['db_schema_0_auth.py', 'db_schema_1_test.py',
'menu.py']
elif 'order' in request.function :
response.models_to_run = ['db_schema_0_auth.py', 'db_schema_1_test.py',
'menu.py']
elif request.controller == 'settings' :
You might be right, How can I change it ?
However running the following commands tells me that python 2.7 is the
default:
$ python --version
Python 2.7.12
$python
Python 2.7.12 (default, Jul 1 2016, 15:12:24)
[GCC 5.4.0 20160609] on linux2
Type "help", "copyright", "credits" or "license"
Hi,
supposed:
db.define_table('color', Field('blue'),Field('yellow'),Field('red'))
COLORED_THINGS = {
'blue': ['sky', 'jeans', 'powerline insert mode'],
'yellow': ['sun', 'banana', 'phone book/monitor stand'],
'red': ['blood', 'tomato', 'test failure']}
using
Hi Massimo
Thanks for your response. But I not understand your answer. Perhaps my
question was not clear. Login with the email address works fine on a
desktop. Same URL - same login procedure on a smartphone I get the message
"invalid email" and this as mentioned on an pythomanywhere
I think in the alphabetically first model I will use
if request.controller == '':
response.models_to_run = ...
On Wednesday, 19 October 2016 08:52:08 UTC+2, Mirek Zvolský wrote:
>
> Hi,
> I am trying implement fine-uploader for upload files (used in import from
> other software).
>
>
Great !!!
Thanks.
On Wednesday, 19 October 2016 11:26:18 UTC+2, Nico de Groot wrote:
>
> You could use conditional models. Just make an empty folder in /models
> with the name of a (new) controller. Put the functions that don't need any
> models inside that controller.
>
> See
>
You could use conditional models. Just make an empty folder in /models with the
name of a (new) controller. Put the functions that don't need any models inside
that controller.
See http://www.web2py.com/books/default/search/29?search=Conditional+models
Nico de Groot
--
Resources:
-
Upload size:
In Javascript it is possible read the height/width/size of the image and if
they are to large, then you can resize them.
No special library is needed. This can be done using html5 canvas.
Here is my code.
The first line of code is from work with js cropper
Hi,
I am trying implement fine-uploader for upload files (used in import from
other software).
Fine-uploader generates lot of ajax calls with each chunk of each imported
file.
These Ajax calls just need read and save the chunk (or join chunks with the
last call).
They don't need any model.
I
24 matches
Mail list logo