Commits

benoitc  committed 504e43c

fix #1 (the right #1) . forgot to change this for migration to couchdb 0.9x

  • Participants
  • Parent commits 9f57246

Comments (0)

Files changed (2)

File couchit/api.py

     return False
 
 def validate_token(siteid, token):
-    rows = Site.view('_view/site/token', key=[token, siteid])
+    rows = Site.view('site/token', key=[token, siteid])
     lrows = list(iter(rows))
     if lrows:
         return True

File couchit/template.py

 re_script = re.compile("\"\'][\s]*javascript:(.*)[\"\']/g")
 
 
-
-
-
 def convert_markdown(value, javascript=False):
     if local.site_url:
         base_url = local.site_url + '/'