Got it,
thank you very much
On Wed, Dec 26, 2018, 6:54 PM Dave S
>
> On Wednesday, December 26, 2018 at 2:11:22 PM UTC-8, Vlad wrote:
>>
>> Jim, do you mean this for any model (vs control or view), or it's
>> specificially db.py something having global presence?
>>
>
> All the model files have
On Wednesday, December 26, 2018 at 2:11:22 PM UTC-8, Vlad wrote:
>
> Jim, do you mean this for any model (vs control or view), or it's
> specificially db.py something having global presence?
>
All the model files have global presence. It's common (thanks to the
welcome app sample) to use
You might have to make a routes_app entry in the root routes file.
See routes.patterns.example.
On Wednesday, December 26, 2018 at 10:06:27 AM UTC-6, Vlad wrote:
>
> I've created routes.py in Web2py root folder:
>
> default_application = 'app5'
> default_controller = 'home'
> default_function =
Jim, do you mean this for any model (vs control or view), or it's
specificially db.py something having global presence?
On Wed, Dec 26, 2018, 5:00 PM Jim S Can you move the part where you set all the auth/mail settings into
> db.py? Then they'll be available anywhere in your app.
>
> -Jim
>
>
This sounds perfect.
Thank you very much
On Wed, Dec 26, 2018, 5:04 PM Jim S I second what Dave S says.
>
> I use mercurial to store my code repos on bitbucket. I commit/push from
> my workstation to the repo and then I pull/update from my repo to
> PythonAnywhere. Really easy to do and then I
On Wednesday, December 26, 2018 at 2:00:54 PM UTC-8, Jim S wrote:
>
> Can you move the part where you set all the auth/mail settings into
> db.py? Then they'll be available anywhere in your app.
>
> -Jim
>
And I think that anything set in a controller is discarded at the end of
the request
I second what Dave S says.
I use mercurial to store my code repos on bitbucket. I commit/push from my
workstation to the repo and then I pull/update from my repo to
PythonAnywhere. Really easy to do and then I have a record of all changes.
-Jim
On Wednesday, December 26, 2018 at 10:06:27
The problem you're seeing has only to do with printing it to a console
because it uses whatever encoding your console has. The json will be fine.
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
-
Can you move the part where you set all the auth/mail settings into db.py?
Then they'll be available anywhere in your app.
-Jim
On Wednesday, December 26, 2018 at 3:55:27 PM UTC-6, Vlad wrote:
>
> Oh, I have no clue what this even means :)
>
> By any chance, how would I figure out if this
it's just a guess, you must analyze your system (view the log, etc), for
configuration management said above perhaps you can understand in link below
*ref:*
https://en.wikipedia.org/wiki/Comparison_of_open-source_configuration_management_software
best regards,
stifan
--
Resources:
-
>
> I'm on autopilot now, so an extra step is a part of my daily routine.
>
when you say 'autopilot', the word 'ci/cd' across my mind and think you can
use it too as part of sync your code e.g. jenkins, etc
best regards,
stifan
--
Resources:
- http://web2py.com
- http://web2py.com/book
Oh, I have no clue what this even means :)
By any chance, how would I figure out if this thing is running in the
background? I used all default settings and followed Massimo's tutorial, so
haven't done anything custom.
On Wed, Dec 26, 2018, 4:53 PM 黄祥 somehow the system resets the settings back
happy christmas \(^o^)/
--
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 Google Groups
>
> somehow the system resets the settings back to the defaults.
> I don't understand though why in the world I have to set all those
> settings up every time - why the system doesn't keep those settings if I
> call it just once.
>
perhaps you had configuration management installed and
Yeah,
I tried to avoid an extra step, but it's just fine. I'm on autopilot now,
so an extra step is a part of my daily routine.
Thank you for suggestions!
On Wed, Dec 26, 2018, 4:45 PM 黄祥 another way around to not upload to PA, you can use scp, not sure rsync or
> dropbox or version control
read the book, start to build something (start from simple first), share
web2py problem here
*ref:*
http://web2py.com/books/default/chapter/29
best regards,
stifan
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
-
another way around to not upload to PA, you can use scp, not sure rsync or
dropbox or version control (git, mercurial, svn, etc) is supported yet
*ref:*
https://www.pythonanywhere.com/forums/topic/418/
best regards,
stifan
--
Resources:
- http://web2py.com
- http://web2py.com/book
On Wednesday, December 26, 2018 at 8:06:41 AM UTC-8, christ ibata wrote:
>
> *can I have pdf documents on web2py in french? I need it*
>
I don't follow the translations, but the book is an app, and there is a
French translation. You can turn the markmin into PDF with scripts that I
think are
On Wednesday, December 26, 2018 at 8:06:27 AM UTC-8, Vlad wrote:
>
> What do you guys generally do as far an syncing / backup?
>
> I mean, right now I am going back and forth local web2py <->
> PythonAnywhere web2py
>
> So it's tedious to keep track what the latest thing is - I pack up my app
On Wednesday, December 26, 2018 at 8:06:27 AM UTC-8, Vlad wrote:
>
> I've created routes.py in Web2py root folder:
>
> default_application = 'app5'
> default_controller = 'home'
> default_function = 'main'
>
> this works just fine.
>
> However, if I only keep one line in this file:
>
>
The best is Massimo's video course on Vimeo. It's really totally awesome,
not just the best. You can search by Massimo's name, it'll come up.
Would be great if all those videos (plus others; I am sure there are plenty
more) go up on YouTube in one place dedicated to web2py. I guess Massimo is
too
I've figured out how this works, but I am missing the following:
I have a mail_settings() function in the default controller. It's setting
up my smtp settings and other redirect settings (auth.settings.login_next
and the like).
All works like a charm, but it seems that I have to call this
*can I have pdf documents on web2py in french? I need 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
I've created routes.py in Web2py root folder:
default_application = 'app5'
default_controller = 'home'
default_function = 'main'
this works just fine.
However, if I only keep one line in this file:
default_application = 'app5'
,and create one more routes.py in Web2py/applications/app5
Is there any tutorial for mastering web2py?
--
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
What do you guys generally do as far an syncing / backup?
I mean, right now I am going back and forth local web2py <-> PythonAnywhere
web2py
So it's tedious to keep track what the latest thing is - I pack up my app
locally and upload it to PA, and then pack up on PA and upload to local.
Are
Thank you
Le 22 déc. 2018 13:16, "António Ramos" a écrit :
> Im just trying all odds ;)
> Nome works so far
>
> Val K escreveu em sáb, 22/12/2018 às 11:02 :
>
>> Why do you use latin-1 instead of utf8? As far as I remember json accepts
>> utf8 only
>>
>> --
>> Resources:
>> - http://web2py.com
Thanks! Merry Christmas to everybody too.
El 25/12/18 a las 1:10 p.m., Massimo DiPierro escribió:
Merry Christmas everybody
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list
Still cant figure out how to solve my problem :(
However i get my data like this from return response.json(res)
q='["2211052870 BITWORK - SERVI\\u00c7OS DE INFORM\\u00c1TICA ",
"2211051448 COMBITRANS TRANSIT\\u00c1RIOS, LDA. ", "2211050146 OITO
BITS - INFORM\\u00c1TICA, LDA. ",
29 matches
Mail list logo