[Answer]-Is it the urls or the views?

1👍

Try to change it as:

(r'^lesson/(?P<lesson>[a-zA-Z0-9-]+)/$', 'use_lesson.views.Use_Lesson')
👤sneawo

0👍

A slugfield is best represented in a regexp by \W which is equal to [a-zA-Z0-9_]

(r'^lesson/(?P<lesson>\W+)/$', 'use_lesson.views.Use_Lesson')

Leave a comment