Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

using memory db for generating doc

  • Loading branch information...
commit b2cd3e1557a94fe4c148384907011822605fa7f5 1 parent c44da46
@Fantomas42 authored
View
3  docs/conf.py
@@ -22,6 +22,9 @@
sys.path.append(os.path.join(HERE, '..'))
os.environ['DJANGO_SETTINGS_MODULE'] = 'extensions.settings'
+from django.core.management import call_command
+call_command('syncdb', verbosity=1, interactive=False)
+
import zinnia
# -- General configuration -----------------------------------------------------
View
BIN  docs/extensions/docs.db
Binary file not shown
View
5 docs/extensions/settings.py
@@ -2,9 +2,7 @@
import os
from zinnia.xmlrpc import ZINNIA_XMLRPC_METHODS
-HERE = os.path.abspath(os.path.dirname(__file__))
-
-DATABASES = {'default': {'NAME': os.path.join(HERE, 'docs.db'),
+DATABASES = {'default': {'NAME': ':memory:',
'ENGINE': 'django.db.backends.sqlite3'}}
SITE_ID = 1
@@ -20,6 +18,7 @@
MOLLOM_PRIVATE_KEY = 'MOLLOM_PRIVATE_KEY'
INSTALLED_APPS = [
+ 'django.contrib.sites',
'django.contrib.contenttypes',
'django.contrib.comments',
'django.contrib.sessions',
View
4 docs/requirements.txt
@@ -1,9 +1,9 @@
PIL
-django==1.3.1
+django==1.4
django-bitly==0.6
django-mptt==0.5.2
django-tagging==0.3.1
-django-xmlrpc==0.1.3
+django-xmlrpc==0.1.4
BeautifulSoup==3.2.0
akismet==0.2.0
PyMollom==0.1
Please sign in to comment.
Something went wrong with that request. Please try again.