AFAIK ':' is not allowed in a URL path.

Nevertheless there is an open ticket about ':' in URLs:

http://code.djangoproject.com/ticket/6621

  Thomas

Manuel Meyer schrieb:
> Hey,
>
> I wonder how to get a ':' (btw: what's its name in english?) in my  
> url, so it is shown as : in the address and not as %3A .
>
> Like wikipedia does:
> http://en.wikipedia.org/wiki/Portal:Arts
>
> If i try
>
> def get_absolute_url(self):
>       return '/top-category:'+self.title_plural
>
> it gets printed as
> http://localhost:8000/top-category:materialien/
> but shown as
> http://localhost:8000/top-category%3Amaterialien/
> in the browsers address.
>
> any hint? Thanks
>
> >
>   


-- 
Thomas Guettler, http://www.thomas-guettler.de/
E-Mail: guettli (*) thomas-guettler + de


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to