Changes between Version 1 and Version 2 of Ticket #28550, comment 4
- Timestamp:
- Aug 31, 2017, 5:06:47 PM (7 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
Ticket #28550, comment 4
v1 v2 1 I understand that template_nameneed to be included in `**kwargs` that is passed to `as_view()`, not sure about others in `*arg`.1 I understand that `template_name` need to be included in `**kwargs` that is passed to `as_view()`, not sure about others in `*arg`. 2 2 3 3 It seems that `as_view(**kwargs)` will raise Error if a key in kwargs is not in class attributes of the view class.