I don't know that you'd want to re-check and possibly re-load all the 
routes on every request in production, but I suppose it might be nice in 
development (like tracking changes in modules).

Anthony

On Wednesday, May 22, 2013 4:01:47 AM UTC-4, Jurgis Pralgauskis wrote:
>
> Thanks, 
>
> but still would be nicer - if defining in app would be enough (kind of 
> KISS style)
> and maybe even without need to restart web2py (if just app level changes)?
>
>
> On Tue, May 21, 2013 at 7:06 PM, Anthony <abas...@gmail.com 
> <javascript:>>wrote:
>
>> You can app-specific routes in the app folder, but then you still need to 
>> specify routes_app in the root routes.py to tell web2py which apps have 
>> app-specific routes.
>>
>> Anthony
>>
>>
>> On Tuesday, May 21, 2013 10:01:41 AM UTC-4, Jurgis Pralgauskis wrote:
>>
>>> but even app-specific routes must be specified outside app folder (in 
>>> web2py root)?
>>>
>>>
>>> On Tue, May 21, 2013 at 3:01 PM, Anthony <abas...@gmail.com> wrote:
>>>
>>>> routes_onerror can specify app-specific routes.
>>>>
>>>>
>>>> On Tuesday, May 21, 2013 4:48:01 AM UTC-4, Jurgis Pralgauskis wrote:
>>>>
>>>>> I mean routes.py is in web2py root, not in app folder..
>>>>>
>>>>>
>>>>> On Tue, May 21, 2013 at 11:47 AM, Jurgis Pralgauskis <
>>>>> jurgis.pr...@gmail.com> wrote:
>>>>>
>>>>>> but rootes are described per web2py, not per app..?
>>>>>>
>>>>>>
>>>>>> On Tue, May 21, 2013 at 10:49 AM, Niphlod <nip...@gmail.com> wrote:
>>>>>>
>>>>>>> there are routes to manage custom error pages.....
>>>>>>> http://web2py.com/books/**defaul**t/chapter/29/04#Routes-**on-**
>>>>>>> error<http://web2py.com/books/default/chapter/29/04#Routes-on-error>
>>>>>>>
>>>>>>> Il giorno martedì 21 maggio 2013 09:40:09 UTC+2, Jurgis Pralgauskis 
>>>>>>> ha scritto:
>>>>>>>
>>>>>>>> Hi, 
>>>>>>>>
>>>>>>>> clicking ticket link each time becomes frustrating (time wasting) 
>>>>>>>> [SOLVED] :)
>>>>>>>>
>>>>>>>> I looked arround and tried example from http://www.dev-explorer.**c
>>>>>>>> ****om/articles/full-page-iframe<http://www.dev-explorer.com/articles/full-page-iframe>
>>>>>>>> you only need to escape % for sizing.
>>>>>>>> my routes.py: 
>>>>>>>> http://pastebin.**com****/bfKYEhet<http://pastebin.com/bfKYEhet>
>>>>>>>>
>>>>>>>>
>>>>>>>>
>>>>>>>>  ps.: could error message be customized per app? 
>>>>>>>> then I could include in my demo (skeleton) app for students - as my 
>>>>>>>> students work through web interface (and I don't want to bother them 
>>>>>>>> too 
>>>>>>>> much with other issues)...
>>>>>>>>
>>>>>>>>  -- 
>>>>>>>  
>>>>>>> --- 
>>>>>>> You received this message because you are subscribed to a topic in 
>>>>>>> the Google Groups "web2py-users" group.
>>>>>>> To unsubscribe from this topic, visit https://groups.google.com/d/**
>>>>>>> to**pic/web2py/Qg1O99ojkdo/**unsubsc**ribe?hl=en<https://groups.google.com/d/topic/web2py/Qg1O99ojkdo/unsubscribe?hl=en>
>>>>>>> .
>>>>>>>  To unsubscribe from this group and all its topics, send an email to 
>>>>>>> web2py+un...@**googlegroups.com.
>>>>>>>
>>>>>>> For more options, visit 
>>>>>>> https://groups.google.com/**grou**ps/opt_out<https://groups.google.com/groups/opt_out>
>>>>>>> .
>>>>>>>  
>>>>>>>  
>>>>>>>
>>>>>>
>>>>>>
>>>>>>
>>>>>> -- 
>>>>>> Jurgis Pralgauskis
>>>>>> tel: 8-616 77613;
>>>>>> Don't worry, be happy and make things better ;)
>>>>>> http://galvosukykla.lt 
>>>>>>
>>>>>
>>>>>
>>>>>
>>>>> -- 
>>>>> Jurgis Pralgauskis
>>>>> tel: 8-616 77613;
>>>>> Don't worry, be happy and make things better ;)
>>>>> http://galvosukykla.lt 
>>>>>
>>>>  -- 
>>>>  
>>>> --- 
>>>> You received this message because you are subscribed to a topic in the 
>>>> Google Groups "web2py-users" group.
>>>> To unsubscribe from this topic, visit https://groups.google.com/d/**
>>>> topic/web2py/Qg1O99ojkdo/**unsubscribe?hl=en<https://groups.google.com/d/topic/web2py/Qg1O99ojkdo/unsubscribe?hl=en>
>>>> .
>>>> To unsubscribe from this group and all its topics, send an email to 
>>>> web2py+un...@**googlegroups.com.
>>>> For more options, visit 
>>>> https://groups.google.com/**groups/opt_out<https://groups.google.com/groups/opt_out>
>>>> .
>>>>  
>>>>  
>>>>
>>>
>>>
>>>
>>> -- 
>>> Jurgis Pralgauskis
>>> tel: 8-616 77613;
>>> Don't worry, be happy and make things better ;)
>>> http://galvosukykla.lt 
>>>
>>  -- 
>>  
>> --- 
>> You received this message because you are subscribed to a topic in the 
>> Google Groups "web2py-users" group.
>> To unsubscribe from this topic, visit 
>> https://groups.google.com/d/topic/web2py/Qg1O99ojkdo/unsubscribe?hl=en.
>> To unsubscribe from this group and all its topics, send an email to 
>> web2py+un...@googlegroups.com <javascript:>.
>> For more options, visit https://groups.google.com/groups/opt_out.
>>  
>>  
>>
>
>
>
> -- 
> Jurgis Pralgauskis
> tel: 8-616 77613;
> Don't worry, be happy and make things better ;)
> http://galvosukykla.lt 
>

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to