摘要:
context_object_name = 'studentinfo'def get_context_data(**kwargs): studentinfo = context['studentinfo'] for idx, item in enumerate(studentinfo): item.order_id = idx + 1 + (context['page_obj'].number-1) * STUDENT_PER_PAGE 阅读全文
posted @ 2013-05-10 20:34
andy071001
阅读(461)
评论(0)
推荐(0)
摘要:
如题 阅读全文
posted @ 2013-05-10 20:02
andy071001
阅读(855)
评论(0)
推荐(0)