I make mistake, i have context of url settings.
Added support for include function. Now it works right way, add dollar sign
to end of pattern only if real view was passed. If was passed include tag,
then it doesnot add dollar sign.
All works cool and pretty clean!
You must try it :)
--
You
...@polytechnique.org
Reply: django-developers@googlegroups.com django-developers@googlegroups.com
Date: 2 июня 2014 г. at 18:49:15
To: django-developers@googlegroups.com django-developers@googlegroups.com
Subject: Re: Make url patterns group kwargs more simple
> Le 2 juin 2014 à 11:36, Alexandr Shuri
> Le 2 juin 2014 à 11:36, Alexandr Shurigin a
> écrit :
>
> And about urls normalization, i think 99% people use ^ and $ in urls. This
> must be by default too. What you think about it?
Probably true for ^, but not for $ which must not be present for includes.
--
in Alexandr alexandr...@gmail.com
Reply: Shurigin Alexandr alexandr...@gmail.com
Date: 29 мая 2014 г. at 3:07:17
To: django-d...@googlegroups.com django-d...@googlegroups.com
Subject: Re: Make url patterns group kwargs more simple
happy Urls doesn’t look simpler, just splitter configuration to parts .
e managed by settings value for example named URL_MACRO_ALLOW_SHORT =
> False by default.
>
> --
> Alexandr Shurigin
>
> From: Mardini Moayad moaya...@gmail.com
> Reply: django-developers@googlegroups.com
> django-developers@googlegroups.com
> Date: 2 июня 2014 г. at 13:51:53
pers@googlegroups.com django-developers@googlegroups.com
Date: 2 июня 2014 г. at 13:51:53
To: django-developers@googlegroups.com django-developers@googlegroups.com
Subject: Re: Make url patterns group kwargs more simple
Hi Alexandr,
Thanks for the nice suggestion. It's good to try to improve Django in an
t;
> Thanks
>
> --
> Alexandr Shurigin
>
> From: Shurigin Alexandr alexandr...@gmail.com
> Reply: Shurigin Alexandr alexandr...@gmail.com
> Date: 29 мая 2014 г. at 3:07:17
> To: django-d...@googlegroups.com
> django-d...@googlegroups.com
> Subject: Re: Make url
django-developers@googlegroups.com
Date: 29 мая 2014 г. at 2:51:41
To: django-developers@googlegroups.com django-developers@googlegroups.com
Subject: Re: Make url patterns group kwargs more simple
I'm in favour of introducing another URL resolver, as a simpler option not as a
replacement. My
@googlegroups.com
Date: 29 мая 2014 г. at 2:51:41
To: django-developers@googlegroups.com django-developers@googlegroups.com
Subject: Re: Make url patterns group kwargs more simple
I'm in favour of introducing another URL resolver, as a simpler option not as a
replacement. My motivation is not "be
@googlegroups.com
Date: 29 мая 2014 г. at 2:56:57
To: django-developers django-developers@googlegroups.com
Subject: Re: Make url patterns group kwargs more simple
On Wed, May 28, 2014 at 2:51 PM, Marc Tamlyn <marc.tam...@gmail.com> wrote:
I'm not saying any of this is not currently po
On Wed, May 28, 2014 at 2:51 PM, Marc Tamlyn wrote:
> I'm not saying any of this is not currently possible - it is. But I'd
> prefer to introduce a stable, robust API and then look at exact
> implementations of format.
>
> I completely agree -- rather than pick something
hink?
>
> alex.
>
> --
> Alexandr Shurigin
>
> From: Graham Tim timogra...@gmail.com
> Reply: django-developers@googlegroups.com
> django-developers@googlegroups.com
> Date: 29 мая 2014 г. at 0:19:00
> To: django-developers@googlegroups.com django-developers@googlegro
gt; Sorry for my english. Not native language.
>
> --
> Alexandr Shurigin
>
> From: Berger Shai sh...@platonix.com
> Reply: django-d...@googlegroups.com
> django-d...@googlegroups.com
> Date: 28 мая 2014 г. at 23:53:52
> To: django-d...@googlegroups.com
> django-d...@g
lopers@googlegroups.com django-developers@googlegroups.com
Date: 29 мая 2014 г. at 0:01:43
To: django-developers@googlegroups.com django-developers@googlegroups.com
Subject: Re: Make url patterns group kwargs more simple
You might want to check out Surlex[1], written by Cody Soyland. It basically
does wh
@googlegroups.com django-developers@googlegroups.com
Date: 28 мая 2014 г. at 23:53:52
To: django-developers@googlegroups.com django-developers@googlegroups.com
Subject: Re: Make url patterns group kwargs more simple
Hi Alexendr,
On Wednesday 28 May 2014 18:54:05 Alexandr Shurigin wrote:
> Hi
You might want to check out Surlex[1], written by Cody Soyland. It
basically does what you want.
[1] http://codysoyland.com/projects/surlex/documentation/
On Wed, May 28, 2014 at 8:54 AM, Alexandr Shurigin <
alexandr.shuri...@gmail.com> wrote:
> Hi all.
>
> What do you think about adding some
Hi Alexendr,
On Wednesday 28 May 2014 18:54:05 Alexandr Shurigin wrote:
> Hi all.
>
> What do you think about adding some extra default and more simpler syntax
> for url patterns?
>
[looking for a way to re-write...]
>
> url(r'^(?P[^/]+)/(?P[^/]+)/news/(?P[^/]+)$',...
>
[...as...]
>
>
>
Hi all.
What do you think about adding some extra default and more simpler syntax for
url patterns?
Now patterns looks little bit difficult, especially if you have long urls with
2-3 params.
For example take a look into url.
url(r'^(?P[^/]+)/(?P[^/]+)/news/(?P[^/]+)$',
18 matches
Mail list logo