Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- How do i pass parameters to a class based view in django?
- class myClassView():
- def get(self):
- # lots of code ...
- return response
- (r^'call_myClassView/', myClassView.as_view())
- (r'call_myClassView/(?P<id>w+)/$',myClassView.as_view())
Add Comment
Please, Sign In to add comment