Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

simple view clipping

  • Loading branch information...
commit a70bdc6fe10081ed283c90a3d2feff423229e123 1 parent 6431fbf
@gregnewman gregnewman authored
Showing with 12 additions and 0 deletions.
  1. +12 −0 Python.py/django/views/view
View
12 Python.py/django/views/view
@@ -0,0 +1,12 @@
+#INLINE##INDENT#
+def #SELSTART#name#SELEND#(request):
+ """
+ #PLACEHOLDERSTART#description#PLACEHOLDEREND#
+
+ """
+
+ #PLACEHOLDERSTART#...#PLACEHOLDEREND#
+
+ return render_to_response("#PLACEHOLDERSTART#template#PLACEHOLDEREND#",
+ {'#PLACEHOLDERSTART#context#PLACEHOLDEREND#':#PLACEHOLDERSTART#context#PLACEHOLDEREND#},
+ context_instance=RequestContext(request))
Please sign in to comment.
Something went wrong with that request. Please try again.