Permalink
Browse files

simple view clipping

  • Loading branch information...
1 parent 6431fbf commit a70bdc6fe10081ed283c90a3d2feff423229e123 Greg Newman committed May 25, 2009
Showing with 12 additions and 0 deletions.
  1. +12 −0 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))

0 comments on commit a70bdc6

Please sign in to comment.