started writing zone file creator script

This commit is contained in:
Tor Martin Slåen committed 2011-04-22 08:31:52 +02:00
1 parent 833366ad0e
commit e9b673c331
2 files changed
+18

No files matched your search

+8
View File
@@ -0,0 +1,8 @@
To use this scripts, you have to add the projects location to the
pythonpath. This is easily archieved by setting an environment variable
like this:
export PYTHONPATH=/opt/projects/:/opt/projects/dns_mdb
It is important that both the path abov the project and the project
folder itself are added to the path before the script is run.
+10
View File
@@ -0,0 +1,10 @@
#!/usr/bin/env python
# coding: utf-8
from django.core.management import setup_environ
from dns_mdb import settings
setup_environ(settings)
from mdb.models import *