flavia, I was wrong that is working, thanks.
On Oct 11, 11:07 am, Flavia Missi wrote:
> Hi,
>
> You just need to add a "-" in your regex, like this:
>
> [.\w-]+
>
> Use this site to try your regex:http://regexpal.com/
>
> []'s
>
> On Tue
>
> Use this site to try your regex:http://regexpal.com/
>
> []'s
>
> On Tue, Oct 11, 2011 at 12:51 PM, django-mike1
> wrote:
>
>
>
>
>
>
>
>
>
> > I am creating a Django Front end for a PDNS Server and having a
> > problem with my urls.py url
I am creating a Django Front end for a PDNS Server and having a
problem with my urls.py url matching.
This line
(r'^zones/(?P[.\w]+)/$', zones)
will match any url like /domain.com/ /domain.net/ domain.org/ etc.
just fine
what changes would I need to make to this line to also match domains
such
3 matches
Mail list logo