1 | 6c6,7
|
---|
2 | < from django.conf import settings
|
---|
3 | ---
|
---|
4 | > from django.conf import settings
|
---|
5 | > from django.template import RequestContext
|
---|
6 | 120c121
|
---|
7 | < title = title_tmp.render(Context({'obj': item, 'site': current_site})),
|
---|
8 | ---
|
---|
9 | > title = title_tmp.render(RequestContext(self.request, {'obj': item, 'site': current_site})),
|
---|
10 | 122c123
|
---|
11 | < description = description_tmp.render(Context({'obj': item, 'site': current_site})),
|
---|
12 | ---
|
---|
13 | > description = description_tmp.render(RequestContext(self.request, {'obj': item, 'site': current_site})),
|
---|