google-code-export / django-hotclub

Automatically exported from code.google.com/p/django-hotclub
MIT License
0 stars 0 forks source link

wiki_url doesn't work with hyphens in tribe slug #152

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. {% wikiurl list tribe as wiki_url %}
2. <a href="{{ wiki_url }}" title="wiki">
3. Results in: <a href="" title="wiki">

What is the expected output? What do you see instead?
<a href="http://localhost:8000/tribes/tribe/emma-watson/wiki/list/"
title="wiki">

What version of the product are you using? On what operating system?
r1329

Please provide any additional information below.
Change apps/tribes/urls.py line 29 from:
url(r'^tribe/(?P<group_slug>\w+)/wiki/', include('wiki.urls'),
kwargs=wiki_args),
to:
url(r'^tribe/(?P<group_slug>[-\w]+)/wiki/', include('wiki.urls'),
kwargs=wiki_args)

Original issue reported on code.google.com by iusgent...@gmail.com on 18 Jan 2009 at 3:40

GoogleCodeExporter commented 9 years ago
Reproduced here.

Original comment by eduardo....@gmail.com on 3 Mar 2009 at 2:33

Attachments:

GoogleCodeExporter commented 9 years ago

Original comment by pyDanny on 13 Mar 2009 at 4:20

GoogleCodeExporter commented 9 years ago

Original comment by pyDanny on 31 Mar 2009 at 6:17