File: test.wsgi

package info (click to toggle)
okasha 0.3.0-2
  • links: PTS, VCS
  • area: non-free
  • in suites: forky, sid, trixie
  • size: 784 kB
  • sloc: python: 1,024; sh: 30; makefile: 7; javascript: 2
file content (10 lines) | stat: -rw-r--r-- 221 bytes parent folder | download | duplicates (6)
1
2
3
4
5
6
7
8
9
10
# -*- coding: utf-8 -*-
import sys, os, os.path
from test import webApp
d='/path/to/sample/prefix'
application=webApp(
  'SafeMode',
  os.path.join(d,'templates'),
  staticBaseDir={'/_files/':os.path.join(d,'files')}
);