Django

Code

Changeset 2969

Show
Ignore:
Timestamp:
05/23/06 14:34:43 (2 years ago)
Author:
lukeplant
Message:

Negligible code cleanup for the sake of clarity.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • django/trunk/django/views/generic/list_detail.py

    r2809 r2969  
    3535    """ 
    3636    queryset = queryset._clone() 
    37     model = queryset.model 
    3837    if paginate_by: 
    3938        paginator = ObjectPaginator(queryset, paginate_by) 
     
    7271            c[key] = value 
    7372    if not template_name: 
     73        model = queryset.model 
    7474        template_name = "%s/%s_list.html" % (model._meta.app_label, model._meta.object_name.lower()) 
    7575    t = template_loader.get_template(template_name)