0xE111 / django-mptt-urls

Creating hierarchical URLs in Django associated with django-MPTT models
MIT License
36 stars 5 forks source link

Made slug_field optional and default to 'slug'. #11

Closed batisteo closed 7 years ago

batisteo commented 7 years ago

This way you could call the view this way:

mptt_urls.view(model=Category, view=views.category_detail)
0xE111 commented 7 years ago

I dont know why I haven't done this earlier... Btw, django-mptt-urls gonna be abandoned, I will replace it with more general "clean urls" app