I was wondering if it was possible to use something besides a pk or slug when you are using a DetailView in Django 1.3.
For example, I currently have:
A slug doesn't have any particular significance in Django. It's just a name for a field that identifies a row. If your slug is called something else, eg
name, just specify
name as the
slug_field attribute in your view subclass.
If you need something more complicated, you can always override
get_object in the view class.