Add a reasonable default setup for syslog
- Legacy-Id: 116
This commit is contained in:
parent
e1d94fce9a
commit
921236978b
|
@ -4,6 +4,10 @@
|
||||||
|
|
||||||
import os
|
import os
|
||||||
|
|
||||||
|
import syslog
|
||||||
|
syslog.openlog("django", syslog.LOG_PID, syslog.LOG_USER)
|
||||||
|
|
||||||
|
|
||||||
BASE_DIR = os.path.dirname(os.path.abspath(__file__))
|
BASE_DIR = os.path.dirname(os.path.abspath(__file__))
|
||||||
|
|
||||||
DEBUG = True
|
DEBUG = True
|
||||||
|
|
Loading…
Reference in a new issue