remove Django stuff, gvamysql is a celery only application

This commit is contained in:
Jan Dittberner 2015-01-01 16:01:49 +01:00
parent 1ef49fbebc
commit e79d58d886
16 changed files with 53 additions and 515 deletions

View file

@ -1 +0,0 @@
# Included so that Django's startproject comment runs against the docs directory

View file

@ -1,3 +1,4 @@
Changelog
=========
* feature:`-` initial project setup

View file

@ -2,11 +2,8 @@
Code documentation
==================
.. index:: Django
gvamysql is implemented as `Celery`_ app.
gvamysql is implemented as `Django`_ project and provides some `Celery`_ tasks.
.. _Django: https://www.djangoproject.com/
.. _Celery: http://www.celeryproject.org/
@ -23,45 +20,11 @@ The project module :py:mod:`gvamysql`
:members:
:py:mod:`gvamysql.urls`
-----------------------
.. automodule:: gvamysql.urls
:py:mod:`gvamysql.wsgi`
-----------------------
.. automodule:: gvamysql.wsgi
:members:
:py:mod:`gvamysql.settings`
---------------------------
.. automodule:: gvamysql.settings
:py:mod:`gvamysql.settings.base`
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. automodule:: gvamysql.settings.base
:members:
:py:mod:`gvamysql.settings.local`
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. automodule:: gvamysql.settings.local
:py:mod:`gvamysql.settings.production`
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. automodule:: gvamysql.settings.production
:py:mod:`gvamysql.settings.test`
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
.. automodule:: gvamysql.settings.test
:py:mod:`mysqltasks` app
========================

View file

@ -14,18 +14,12 @@
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
# documentation root, use os.path.abspath to make it absolute, like shown here.
sys.path.insert(0, os.path.abspath(os.path.join('..', 'gvamysql')))
os.environ['GVAMYSQL_ALLOWED_HOSTS'] = 'localhost'
os.environ['GVAMYSQL_SERVER_EMAIL'] = 'root@localhost'
django.setup()
# -- General configuration -----------------------------------------------------
# If your documentation needs a minimal Sphinx version, state it here.

View file

@ -28,8 +28,7 @@ your virtualenv:
.. _virtualenv: https://virtualenv.pypa.io/en/latest/
You will also need to ensure that the virtualenv has the project directory
added to the path. Adding the project directory will allow `django-admin.py` to
be able to change settings using the `--settings` flag.
added to the path.
.. index:: virtualenvwrapper