#14957: doc nit: slug_field not required ---------------------------+------------------------------------------------ Reporter: CarlFK | Owner: nobody Status: new | Milestone: Component: Documentation | Version: 1.2 Keywords: | Stage: Unreviewed Has_patch: 0 | ---------------------------+------------------------------------------------ http://docs.djangoproject.com/en/dev/ref/generic-views/#django-views- generic-list-detail-object-detail
seems "and slug_field" is not required given " By default, slug_field is 'slug'." """ Either object_id or (slug and slug_field) is required. If you provide object_id, it should be the value of the primary-key field for the object being displayed on this page. Otherwise, slug should be the slug of the given object, and slug_field should be the name of the slug field in the QuerySet's model. By default, slug_field is 'slug'. """ -- Ticket URL: <http://code.djangoproject.com/ticket/14957> Django <http://code.djangoproject.com/> The Web framework for perfectionists with deadlines. -- You received this message because you are subscribed to the Google Groups "Django updates" group. To post to this group, send email to django-upda...@googlegroups.com. To unsubscribe from this group, send email to django-updates+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-updates?hl=en.