Commits

Anonymous committed 991f760

[misc][s]: various minor fixes to model, setup.py etc to get things functional (last commit was done w/o testing).

  • Participants
  • Parent commits c4da58d

Comments (0)

Files changed (6)

File commentonit/model/__init__.py

     pass
 
 
+mapper = meta.Session.mapper
+
 mapper(Text, text_table, properties={
-    'material':relation(Material, backref='resources')
     },
-    order_by=resource_table.c.id
+    order_by=text_table.c.id
     )
 

File commentonit/templates/index.html

       -->
 
       <label>Enter some text (you can use <a
-          href="http://daringfireball.net/projects/markdown/">markdown</a>)):</label>
+          href="http://daringfireball.net/projects/markdown/">markdown</a>):</label>
       ${h.textarea(name='text', cols=80, rows=10)}
 
       <br />

File pip-requirements.txt

--e https://knowledgeforge.net/okfn/annotator#egg=annotator
--e https://knowledgeforge.net/okfn/commentonit
+-e hg+https://knowledgeforge.net/okfn/annotator#egg=annotator
+-e hg+https://knowledgeforge.net/okfn/commentonit#egg=commentonit
-[egg_info]
-tag_build = dev
-tag_svn_revision = true
-
 [easy_install]
 find_links = http://www.pylonshq.com/download/
 
         "Pylons>=0.9.7",
         "SQLAlchemy>=0.5",
         "Genshi>=0.4",
-        "annotator>=0.3"
+        "annotator>=0.3a"
     ],
     setup_requires=["PasteScript>=1.6.3"],
     packages=find_packages(exclude=['ez_setup']),
 use = config:development.ini
 
 # Add additional test specific configuration options as necessary.
+
+# SQLAlchemy database URL
+sqlalchemy.url = sqlite:///%(here)s/sqlite_test.db