Permalink
Browse files

more documentation fixes

  • Loading branch information...
1 parent 89a35a0 commit adb7761e29adddd58d821cc56dceaff2f11aa334 @cd34 committed Mar 5, 2013
Showing with 1 addition and 8 deletions.
  1. +1 −0 docs/source/example/apex_example/index.rst
  2. +0 −8 docs/source/example/apex_example/models.rst
View
1 docs/source/example/apex_example/index.rst
@@ -5,6 +5,7 @@ To get started, create a virtualenv for your test, activate it and copy
the example code:
::
+
virtualenv /var/www/apex_example
cd /var/www/apex_example
source bin/activate
View
8 docs/source/example/apex_example/models.rst
@@ -3,14 +3,11 @@ Models
::
- import transaction
-
from sqlalchemy import Column
from sqlalchemy import ForeignKey
from sqlalchemy import Integer
from sqlalchemy import Unicode
- from sqlalchemy.exc import IntegrityError
from sqlalchemy.ext.declarative import declarative_base
from sqlalchemy.orm import backref
@@ -20,9 +17,6 @@ Models
from zope.sqlalchemy import ZopeTransactionExtension
- from velruse.store.sqlstore import KeyStorage
- from velruse.store.sqlstore import SQLBase
-
from apex.models import AuthUser
""" To Extend the User Model, make sure you import AuthUser in your
model.py
@@ -59,5 +53,3 @@ Models
DBSession.configure(bind=engine)
Base.metadata.bind = engine
Base.metadata.create_all(engine)
- SQLBase.metadata.bind = engine
- SQLBase.metadata.create_all(engine)

0 comments on commit adb7761

Please sign in to comment.