When I install the packaged app using the admin interface on Pythonanywhere
I have to name the app init otherwise I am not allowed to install the app.
I wonder why this is happening. Is there any way to avoid this? I end up
with a URL like this:http://www.mydomain.com/init/default/index
Actually
Track changes is really meant for testing and not for production and I
cannot exclude something strange can happen in a highly concurrent
environment. If the module is in the app modules/ folder, all workers
should update it but something else may be going on. As Leonel says
restarting uwsgi-em
I agree with Joe. Now we are all curious.
On Wednesday, 23 September 2015 18:55:18 UTC-5, Joe Barnhart wrote:
>
> Not to worry Grahme -- I find most web2py'ers are an adventurous lot.
> Massimo (our BDFL) is probably more adventurous than anyone! You won't
> get in trouble for "impure thinkin
Is there any @auth.require* protection for the url that serves the xls
document? The viewer is a google app and it does not share your
credentials. It wants the doc to be public.
On Wednesday, 23 September 2015 08:50:35 UTC-5, A3 wrote:
>
> Hi Massimo:
> I tried it: browser is no longer complai
each app (provider and consumer) has its own session cookies. An
authentication gets passed between the two at login, similarly to oauth.
On Sunday, 20 September 2015 18:54:44 UTC-5, Luis Valladares wrote:
>
> After some discussion with my team we come with this architecture:
>
> We will have a s
You have to define the "images" object somewhere (presumably it is a Rows
object, which is the result of querying the database). Typically it would
be defined in the controller action and returned in the action's dictionary
(though it could also be defined in a model file if it is needed by
mul
Yeah I pretty much just restart uwsgi-emperor or touch the affected
application config file in /etc/uwsgi/vassals
--
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 Issu
Sadly I've tried that too
--
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
"web2
I am trying to learn from "my tiny website" app and use the slide show that
it is used there in the "images/images.html" view.
I created a new view like default/mynewpage.html and copied
"images/images.html" view into it; when I ran it there was an error "
"images" is not defined.
I did some de
perhaps it about web2py custom import
e.g.
models/db.py
## uncomment when running on development
from gluon.custom_import import track_changes; track_changes(True)
best regards,
stifan
--
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (S
Running w2p on nginx/ubuntu 14.04. When I change a module's code, the
changes dont show up when I load the app again (ie a class that returned 2
but now returns 1 still returns 2). Ive turned sendfile off in Nginx and
have reloaded the thing over and over. Sometimes it works and sometimes I
I think this is a quite subtle bug. It's caused because auth only
instantiates Wiki on the first call to auth.wiki. Later when you make a
second call with extra set it doesn't do anything. To fix it open
gluon/tools.py in your web2py installation and then where it says:
else:
I made a new application and only added the code to the index: and now it
works.
Then I tried to do the same in my earlier application.
Replaced index:
Replaced view/index
Replaced model/db
This had no effect.
Op donderdag 24 september 2015 16:18:22 UTC+2 schreef Leonel Câmara:
>
> Do you have
What happens when it gets to this part of the code in
/controllers/appadmin.py:
https://github.com/web2py/web2py/blob/R-2.12.3/applications/welcome/controllers/appadmin.py#L55
Does it call gluon.fileutils.check_credentials(request)? What is in the
admin session at that time? Can you access the
I confirm, i can access appadmin, if i enter
https://my.domain.somewhere/myapp/appadmin without beeing asked for admin
password. This happens with all cookies deleted and explictly logout of former
sessions too.
Can someone confirm this?
2.12.3-stable+timestamp.2015.08.19.00.18.03
(Running on
Thank you Niphold
Thanks for the explanation: My specific individual problem was that it took
me a while to find out where to inject the tz script that I generate (in my
case in the index() function). Since the index function is the first page
in my application I just had to add {{=tz}} in the h
first time I hear someone having 2.5 issues, nice!
let's see if we can clear them up
1.
The plugin basically works invoking a nice js library that does its best to
determine client-side what timezone the user is in.
This info is POSTed to web2py, and stored in the user session.
Since the "au
I have the following 2.5 issues with user time zone
1. I installed the timezone plugin and followed the instructions up to that
line:
As soon as you call this page, session.plugin_timezone_tz is filled
automatically with the detected timezone
which comes just after the:
from plugin_timez
Do you have any call to auth.wiki before this one? Say in the models?
--
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 yo
see root_static.
BTW:
the
https://github.com/web2py/web2py/blob/master/examples/routes.parametric.example.py
is quite full of useful comments.
On Thursday, September 24, 2015 at 9:52:15 AM UTC+2, Dmitri Ermolaev wrote:
>
> If I use Parameter-based system
>
> http://web2py.com/books/default/ch
I tried to extend the auth.wiki using the extra option but I cannot get it
to work.
I set auth.wiki(resolve=False) in the models
and used the following controller:
def index():
checked = lambda text: '%s' % text + ' ✓'
return auth.wiki(render='markmin',extra=dict(checked=checked))
in a
Hi all,
I have a sentry server running for my logs and bugs from my Django projects
which are running.
But i have also a couple web2py projects running.
Is it possible to send the traceback from web2py too a sentry server?
I believe there is still no support for python web2py from sentry's side
If I use Parameter-based system
http://web2py.com/books/default/chapter/29/04/the-core?search=favicon
how make route for http:/my_site.com/favicon.ico ???
that nnot worked
routes_in = (
('/favicon.ico', '/examples/static/favicon.ico'),
('/robots.txt', '/examples/static/robots.txt'),
)
rout
23 matches
Mail list logo