1. Randall Leeds
  2. couchdbkit

Commits

benoitc  committed 94da77b

set default language in design_doc.

  • Participants
  • Parent commits 8a6663b
  • Branches 0.10x

Comments (0)

Files changed (1)

File couchdbkit/loaders.py

View file
  • Ignore whitespace
 
             design_doc.update(self.dir_to_fields(app_dir, manifest=manifest,
                     verbose=verbose))
+                    
+            design_doc.update({"language": design_doc.get("language", "javascript")})
 
             if not 'couchapp' in design_doc:
                 design_doc['couchapp'] = {}