views.generic.detail.SingleObjectMixin.get_slug_field()

get_slug_field()

Returns the name of a slug field to be used to look up by slug. By default this simply returns the value of slug_field.

doc_Django
2016-10-09 18:41:02
Comments
Leave a Comment

Please login to continue.