One of my view needs to add an item, along with other functionality, but I already have another view which specifically adds an item.
Can I do something like:
Without class based views:
def my_view(request): return call_another_view(request) def call_another_view(request): return HttpResponse( ... )
With class based views:
def my_view(request): return CallAnotherView.as_view()(request) class CallAnotherView(View): ...