Permalink
Browse files

using memory db for generating doc

  • Loading branch information...
1 parent c44da46 commit b2cd3e1557a94fe4c148384907011822605fa7f5 @Fantomas42 committed Apr 30, 2012
Showing with 7 additions and 5 deletions.
  1. +3 −0 docs/conf.py
  2. BIN docs/extensions/docs.db
  3. +2 −3 docs/extensions/settings.py
  4. +2 −2 docs/requirements.txt
View
@@ -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 -----------------------------------------------------
Binary file not shown.
@@ -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',
@@ -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

0 comments on commit b2cd3e1

Please sign in to comment.