Skip to content

Commit

Permalink
more documentation fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
Chris Davies committed Mar 5, 2013
1 parent 89a35a0 commit adb7761
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 8 deletions.
1 change: 1 addition & 0 deletions docs/source/example/apex_example/index.rst
Expand Up @@ -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
Expand Down
8 changes: 0 additions & 8 deletions docs/source/example/apex_example/models.rst
Expand Up @@ -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
Expand All @@ -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
Expand Down Expand Up @@ -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.