I found what happened : i make test with a "-" in the subpage_slug ...

Without it, all is working. :D

Le mercredi 8 novembre 2017 14:36:02 UTC+1, Yue Du a écrit :
>
> https://docs.djangoproject.com/en/1.11/topics/http/urls/#example 
>
> On Wed, Nov 8, 2017 at 9:01 PM,  <cjacq...@gmail.com <javascript:>> 
> wrote: 
> > Hi everyone, 
> > 
> > I would like to make a documentation app with urls like this (not 
> flatpages) 
> > : 
> > 
> > [server]/docs/<product_slug>/ ==> go to product main help page 
> > 
> > [server]/docs/<product_slug>/<subpage_slug>/ ==> go to product sub help 
> > page. 
> > 
> > How can i write this in app urls.py ? 
> > 
> > Thanks ! 
> > 
> > 
> > -- 
> > You received this message because you are subscribed to the Google 
> Groups 
> > "Django users" group. 
> > To unsubscribe from this group and stop receiving emails from it, send 
> an 
> > email to django-users...@googlegroups.com <javascript:>. 
> > To post to this group, send email to django...@googlegroups.com 
> <javascript:>. 
> > Visit this group at https://groups.google.com/group/django-users. 
> > To view this discussion on the web visit 
> > 
> https://groups.google.com/d/msgid/django-users/3d4f0a0d-dc46-488a-9aec-a97120518e64%40googlegroups.com.
>  
>
> > For more options, visit https://groups.google.com/d/optout. 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/688259a9-222f-467b-a0ab-5546c3af5994%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to