diff --git a/docs/class_based_views.md b/docs/class_based_views.md index c4ceeb0c..223304ae 100644 --- a/docs/class_based_views.md +++ b/docs/class_based_views.md @@ -39,6 +39,6 @@ class NameView(HTTPMethodView): def get(self, request, name): return text('Hello {}'.format(name)) -app.add_route(NameView(), '/') ```