Re: Django Macros Url. Routing must be simple!

2014-06-03 Thread Alexandr Shurigin
I make mistake. I have context of course :) Added support for include() in view parameter. Now it build (normalize) right patterns without endng dollar sign if include view was passed. All works automatically and like default django url function. Version bumped to 0.1.1. On Tuesday, June 3, 20

Re: Django Macros Url. Routing must be simple!

2014-06-03 Thread Alexandr Shurigin
Sorry for my english. Not my primary language :( I trying to learn it :-) -- You received this message because you are subscribed to the Google Groups "Django users" group. To unsubscribe from this group and stop receiving emails from it, send an email to django-users+unsubscr...@googlegroups.

Re: Django Macros Url. Routing must be simple!

2014-06-03 Thread Alexandr Shurigin
Just readed about "POSIX style regular expression named character sets". Good idea too. But for now this is utility application with simple syntax, i hope soon django core team think about implementing this as core part and they will choose best naming style i hope :) I just used ROR naming sta

Re: Django Macros Url. Routing must be simple!

2014-06-03 Thread Alexandr Shurigin
Hi, thank you for review :) Yes this s just thing to make groups more clean and simple. used :name as pattern from Ruby On Rails naming. Looks simple and avoid errors. You can combine base macro types with your names by underscope. For example /:book_id/:product_id/:id You will have 3 differe

Re: Django Macros Url. Routing must be simple!

2014-06-02 Thread Tom Evans
On Mon, Jun 2, 2014 at 7:49 PM, Alexandr Shurigin wrote: > Hi all! > > Yestarday i released beta version of new django routing helper component. > > Routing must be simple. Now we talking with django core team about making > django routing simpler by default. > > If anybody is interested about it,

Django Macros Url. Routing must be simple!

2014-06-02 Thread Alexandr Shurigin
Hi all! Yestarday i released beta version of new django routing helper component. Routing must be simple. Now we talking with django core team about making django routing simpler by default. If anybody is interested about it, you can use right now my component to make your routes simple, clean