          def my_view(request):
              ...
              return redirect('/some/url/')
  
     This also works with full URLs::
  
          def my_view(request):
              ...
              return redirect('https://example.com/')
  
 
</s> remove #. By passing a hardcoded URL to redirect to::
 </s> add #. By passing a hardcoded URL to redirect to:
   :: </s> remove     >>> class JSPath:
 </s> add     ... class JSPath: </s> remove         # ...
 </s> add         ... </s> remove     * Elements of ``list_display`` can also be properties::
 </s> add     * Elements of ``list_display`` can also be properties
      :: </s> remove         # Your code here...
 </s> add         # Your code here
        ...
   This also works with full URLs:
   ::
          def my_view(request):
              ...
              return redirect('/some/url/')
  
   This also works with full URLs:
   ::
  
          def my_view(request):
              ...
              return redirect('https://example.com/')
  
keep keep keep keep replace keep keep keep keep keep
 Refs #34140 -- Corrected rst code-block and various formatting issues in docs. 
docs/topics/http/shortcuts.txt