Generates the actual HttpResponse to send back to the user.
(self)
| 146 | return context |
| 147 | |
| 148 | def create_response(self): |
| 149 | """ |
| 150 | Generates the actual HttpResponse to send back to the user. |
| 151 | """ |
| 152 | |
| 153 | context = self.get_context() |
| 154 | |
| 155 | return render(self.request, self.template, context) |
| 156 | |
| 157 | |
| 158 | def search_view_factory(view_class=SearchView, *args, **kwargs): |