Thanks, I just reported and found that ticket with your little
help. :)

It seems this problem doesn't have trivial solutions -- I think it
should be documented clearly, or fixed (improved?) later.

On 8월4일, 오전11시59분, Russell Keith-Magee <freakboy3...@gmail.com> wrote:
> 2009/8/4 Daybreaker <daybreake...@gmail.com>:
>
>
>
> > I've fixed the wrong url templatetag to this:
>
> > {% url lab:bbs:view
> > url_key=lab_object.url_key,board_id=board.id,article_id=item.id %}
>
> The problem here is that namespaces can't contain parameters. For example:
>
> urlpatterns = patterns('myproject.lab.views',
>     url(ur'^bbs/', include('myproject.bbs.urls', namespace='bbs')),
> )
>
> is legal, since bbs is a flat namespace, but:
>
> urlpatterns = patterns('myproject.lab.views',
>     (ur'^(?P<url_key>[-a-zA-Z0-9]+)/', include(extra_urlpatterns,
> namespace='lab')),
>     ...
> )
>
> is not, because it is trying to parameterise the 'lab' namespace. This
> has been logged as #11559; a more detailed discussion of the problem
> (and some possible workarounds) can be found in that ticket.
>
> Yours
> Russ Magee %-)
--~--~---------~--~----~------------~-------~--~----~
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 
django-users+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to