El 12/09/16 a les 09:58, Cédric Krier ha escrit:
On 2016-09-06 00:27, Cédric Krier wrote:
> On 2016-09-05 11:07, edbo.des...@gmail.com wrote:
> > I'm also liking this. But instead putting it in __init__.py is it possible
> > to put it in a separate file? e.g. webextension.py
>
> There are no strict rule but for me, it has the same semantic as the
> register method which is registering available resources.
> But I do not think it is right to use the name webextension.py because
> routes are not limited to web-extension. Probably routing.py will be
> better.
I updated to put all routes in routes.py file
For me It looks cleaner using a separate file, so probably this will be a good practice but not a strict rule.

--
Sergi Almacellas Abellana
www.koolpi.com
Twitter: @pokoli_srk

--
You received this message because you are subscribed to the Google Groups 
"tryton-dev" group.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/tryton-dev/9da521e5-d77b-9a8f-9811-a7982e0c7767%40koolpi.com.

Reply via email to