implement and document GVAFileException
This commit is contained in:
parent
b2acae7dda
commit
ea278eeb35
4 changed files with 26 additions and 2 deletions
|
@ -29,6 +29,12 @@ The project module :py:mod:`gvafile`
|
|||
.. automodule:: gvafile.urls
|
||||
|
||||
|
||||
:py:mod:`gvafile.exceptions`
|
||||
----------------------------
|
||||
|
||||
.. automodule:: gvafile.exceptions
|
||||
|
||||
|
||||
:py:mod:`gvafile.wsgi`
|
||||
----------------------
|
||||
|
||||
|
|
|
@ -14,6 +14,7 @@
|
|||
|
||||
import sys
|
||||
import os
|
||||
import django
|
||||
|
||||
# If extensions (or modules to document with autodoc) are in another directory,
|
||||
# add these directories to sys.path here. If the directory is relative to the
|
||||
|
@ -22,6 +23,10 @@ sys.path.insert(0, os.path.abspath(os.path.join('..', 'gvafile')))
|
|||
|
||||
os.environ['GVAFILE_ALLOWED_HOSTS'] = 'localhost'
|
||||
os.environ['GVAFILE_SERVER_EMAIL'] = 'root@localhost'
|
||||
os.environ['GVAFILE_SFTP_DIRECTORY'] = '/home/www'
|
||||
os.environ['GVAFILE_MAIL_DIRECTORY'] = '/home/mail'
|
||||
|
||||
django.setup()
|
||||
|
||||
# -- General configuration -----------------------------------------------------
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue