On Nov 26, 10:36 am, mdipierro <mdipie...@cs.depaul.edu> wrote:
> technically you can reload routes without restarting. From the admin
> web based shell
>
> from gluon.rewrite improt *
> load()
>
> On Nov 26, 12:02 pm, Yarko Tymciurak <resultsinsoftw...@gmail.com>
> wrote:
>
> > routes.py is read when web2py starts - be sure to re-start whatever
> > server you are using (or restart web2py, if you are using the builting
> > server).
>

A line in routes.py like
   x = 6/0
does indeed produce a divide by zero error when web2py starts.


The routes:
routes_in=(
  ('^127\.0\.0\.1:.*',
      '/examples/default/index'),
)
has no effect, even after a startup of web2py

Using the web based shell
 >>>from gluon.rewrite import *
produces "error : undefined"

I'm using version 1.72.3

Karl

--

You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.


Reply via email to