Permalink
Browse files

cleaning up some things

  • Loading branch information...
1 parent 7ac8a5c commit 1a00bf8aeb8b1b3aeb207d39dbab2b1e4b546a74 @paultag committed Mar 30, 2013
Showing with 4 additions and 3 deletions.
  1. +3 −3 djlisp/hellisp/views.hy
  2. +1 −0 djlisp/urls.hy
View
@@ -1,6 +1,6 @@
; vim: tabstop=2 expandtab shiftwidth=2 softtabstop=2 filetype=lisp
-(import "django.shortcuts")
+(import-from django.shortcuts render-to-response)
-(defn home [request]
- (django.shortcuts.render_to_response "home.html" {}))
+
+(defn home [request] (render-to-response "home.html" {}))
View
@@ -2,5 +2,6 @@
(import django.conf.urls)
+
(def urlpatterns (.patterns django.conf.urls ""
(.url django.conf.urls "^$" "djlisp.hellisp.views.home")))

0 comments on commit 1a00bf8

Please sign in to comment.