sqlobject-cvs Mailing List for SQLObject (Page 75)
SQLObject is a Python ORM.
Brought to you by:
ianbicking,
phd
You can subscribe to this list here.
| 2003 |
Jan
|
Feb
|
Mar
(9) |
Apr
(74) |
May
(29) |
Jun
(16) |
Jul
(28) |
Aug
(10) |
Sep
(57) |
Oct
(9) |
Nov
(29) |
Dec
(12) |
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| 2004 |
Jan
(7) |
Feb
(14) |
Mar
(6) |
Apr
(3) |
May
(12) |
Jun
(34) |
Jul
(9) |
Aug
(29) |
Sep
(22) |
Oct
(2) |
Nov
(15) |
Dec
(52) |
| 2005 |
Jan
(47) |
Feb
(78) |
Mar
(14) |
Apr
(35) |
May
(33) |
Jun
(16) |
Jul
(26) |
Aug
(63) |
Sep
(40) |
Oct
(96) |
Nov
(96) |
Dec
(123) |
| 2006 |
Jan
(159) |
Feb
(144) |
Mar
(64) |
Apr
(31) |
May
(88) |
Jun
(48) |
Jul
(16) |
Aug
(64) |
Sep
(87) |
Oct
(92) |
Nov
(56) |
Dec
(76) |
| 2007 |
Jan
(94) |
Feb
(103) |
Mar
(126) |
Apr
(123) |
May
(85) |
Jun
(11) |
Jul
(130) |
Aug
(47) |
Sep
(65) |
Oct
(70) |
Nov
(12) |
Dec
(11) |
| 2008 |
Jan
(30) |
Feb
(55) |
Mar
(88) |
Apr
(20) |
May
(50) |
Jun
|
Jul
(38) |
Aug
(1) |
Sep
(9) |
Oct
(5) |
Nov
(6) |
Dec
(39) |
| 2009 |
Jan
(8) |
Feb
(16) |
Mar
(3) |
Apr
(33) |
May
(44) |
Jun
(1) |
Jul
(10) |
Aug
(33) |
Sep
(74) |
Oct
(22) |
Nov
|
Dec
(15) |
| 2010 |
Jan
(28) |
Feb
(22) |
Mar
(46) |
Apr
(29) |
May
(1) |
Jun
(1) |
Jul
(27) |
Aug
(8) |
Sep
(5) |
Oct
(33) |
Nov
(24) |
Dec
(41) |
| 2011 |
Jan
(4) |
Feb
(12) |
Mar
(35) |
Apr
(29) |
May
(19) |
Jun
(16) |
Jul
(32) |
Aug
(25) |
Sep
(5) |
Oct
(11) |
Nov
(21) |
Dec
(12) |
| 2012 |
Jan
(3) |
Feb
(4) |
Mar
(20) |
Apr
(4) |
May
(25) |
Jun
(13) |
Jul
|
Aug
|
Sep
(2) |
Oct
(25) |
Nov
(9) |
Dec
(1) |
| 2013 |
Jan
(6) |
Feb
(8) |
Mar
|
Apr
(10) |
May
(31) |
Jun
(7) |
Jul
(18) |
Aug
(33) |
Sep
(4) |
Oct
(16) |
Nov
|
Dec
(27) |
| 2014 |
Jan
(2) |
Feb
|
Mar
|
Apr
(11) |
May
(39) |
Jun
(8) |
Jul
(11) |
Aug
(4) |
Sep
|
Oct
(27) |
Nov
|
Dec
(71) |
| 2015 |
Jan
(17) |
Feb
(47) |
Mar
(33) |
Apr
|
May
|
Jun
(9) |
Jul
(7) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
(8) |
| 2016 |
Jan
(4) |
Feb
(4) |
Mar
|
Apr
|
May
(12) |
Jun
(7) |
Jul
(9) |
Aug
(31) |
Sep
(8) |
Oct
(3) |
Nov
(15) |
Dec
(1) |
| 2017 |
Jan
(13) |
Feb
(7) |
Mar
(14) |
Apr
(8) |
May
(10) |
Jun
(4) |
Jul
(2) |
Aug
(1) |
Sep
|
Oct
(8) |
Nov
(4) |
Dec
(5) |
| 2018 |
Jan
(2) |
Feb
(8) |
Mar
|
Apr
(4) |
May
|
Jun
(6) |
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
(1) |
Dec
|
| 2019 |
Jan
(1) |
Feb
(16) |
Mar
(1) |
Apr
(3) |
May
(5) |
Jun
(1) |
Jul
|
Aug
|
Sep
(2) |
Oct
|
Nov
(1) |
Dec
(3) |
| 2020 |
Jan
|
Feb
|
Mar
|
Apr
(1) |
May
(1) |
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
(2) |
Nov
|
Dec
(2) |
| 2021 |
Jan
|
Feb
(2) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
(1) |
Nov
(1) |
Dec
|
| 2022 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
(6) |
Oct
(1) |
Nov
(1) |
Dec
(4) |
| 2023 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
(3) |
Sep
(2) |
Oct
(2) |
Nov
(4) |
Dec
|
| 2024 |
Jan
|
Feb
(2) |
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
(1) |
Oct
|
Nov
|
Dec
(9) |
| 2025 |
Jan
|
Feb
(4) |
Mar
(2) |
Apr
|
May
|
Jun
|
Jul
|
Aug
(1) |
Sep
|
Oct
|
Nov
(2) |
Dec
(2) |
|
From: <sub...@co...> - 2008-01-30 13:33:07
|
Author: phd Date: 2008-01-30 06:33:02 -0700 (Wed, 30 Jan 2008) New Revision: 3232 Modified: SQLObject/branches/0.10/docs/DeveloperGuide.txt SQLObject/branches/0.10/docs/News.txt SQLObject/branches/0.10/sqlobject/events.py SQLObject/branches/0.10/sqlobject/main.py SQLObject/branches/0.10/sqlobject/tests/test_events.py Log: A patch by Diez B. Roggisch <die...@ar...>: RowDestroySignal is send on destroying an SQLObject instance; postfunctions are run after the row has been destroyed. Modified: SQLObject/branches/0.10/docs/DeveloperGuide.txt =================================================================== --- SQLObject/branches/0.10/docs/DeveloperGuide.txt 2008-01-30 13:27:54 UTC (rev 3231) +++ SQLObject/branches/0.10/docs/DeveloperGuide.txt 2008-01-30 13:33:02 UTC (rev 3232) @@ -149,7 +149,7 @@ its `getting started`_ document for more. .. __: http://codespeak.net/py/current/doc/test.html -.. _getting started: http://codespeak.net/py/current/doc/getting-started.html +.. _getting started: http://codespeak.net/py/dist/test.html#starting-point-py-test-command-line-tool To actually run the test, you have to give it a database to connect to. You do this with the ``TESTDB`` environmental variable (right now @@ -163,7 +163,7 @@ the test module ``tests/test_modulename.py`` -- only modules that start with ``test_`` will be picked up by py.test. -The "framework" for testing is in ``tests/dbtest``. There's a couple +The "framework" for testing is in ``tests/dbtest``. There's a couple of important functions: ``setupClass(soClass)`` creates the tables for the class. It tries to Modified: SQLObject/branches/0.10/docs/News.txt =================================================================== --- SQLObject/branches/0.10/docs/News.txt 2008-01-30 13:27:54 UTC (rev 3231) +++ SQLObject/branches/0.10/docs/News.txt 2008-01-30 13:33:02 UTC (rev 3232) @@ -63,6 +63,9 @@ considered equal is they have the same id; other methods return NotImplemented. +* RowDestroySignal is send on destroying an SQLObject instance; postfunctions + are run after the row has been destroyed. + * Changed the implementation type in BoolCol under SQLite from TINYINT to BOOLEAN and made fromDatabase machinery to recognize it. Modified: SQLObject/branches/0.10/sqlobject/events.py =================================================================== --- SQLObject/branches/0.10/sqlobject/events.py 2008-01-30 13:27:54 UTC (rev 3231) +++ SQLObject/branches/0.10/sqlobject/events.py 2008-01-30 13:33:02 UTC (rev 3232) @@ -97,7 +97,14 @@ class RowDestroySignal(Signal): """ Called before an instance is deleted. Sender is the instance's - class. Arguments are ``(instance)``. You cannot cancel the delete, + class. Arguments are ``(instance, post_funcs)``. + + ``post_funcs`` is a list of callbacks, intended to have + functions appended to it, and are called without arguments. If + any of the post_funcs raises an exception, the deletion is only + affected if this will prevent a commit. + + You cannot cancel the delete, but you can raise an exception (which will probably cancel the delete, but also cause an uncaught exception if not expected). Modified: SQLObject/branches/0.10/sqlobject/main.py =================================================================== --- SQLObject/branches/0.10/sqlobject/main.py 2008-01-30 13:27:54 UTC (rev 3231) +++ SQLObject/branches/0.10/sqlobject/main.py 2008-01-30 13:33:02 UTC (rev 3232) @@ -1464,7 +1464,8 @@ clearTable = classmethod(clearTable) def destroySelf(self): - self.sqlmeta.send(events.RowDestroySignal, self) + post_funcs = [] + self.sqlmeta.send(events.RowDestroySignal, self, post_funcs) # Kills this object. Kills it dead! klass = self.__class__ @@ -1526,6 +1527,9 @@ self._connection._SO_delete(self) self._connection.cache.expire(self.id, self.__class__) + for func in post_funcs: + func() + def delete(cls, id, connection=None): obj = cls.get(id, connection=connection) obj.destroySelf() Modified: SQLObject/branches/0.10/sqlobject/tests/test_events.py =================================================================== --- SQLObject/branches/0.10/sqlobject/tests/test_events.py 2008-01-30 13:27:54 UTC (rev 3231) +++ SQLObject/branches/0.10/sqlobject/tests/test_events.py 2008-01-30 13:33:02 UTC (rev 3232) @@ -41,13 +41,13 @@ assert len(watcher.log) == 2 assert watcher.log[0] == ({'name': 'foo'}, []) -def test_row_destrow(): +def test_row_destroy(): setupClass(EventTester) watcher = make_listen(events.RowDestroySignal) f = EventTester(name='foo') assert not watcher.log f.destroySelf() - assert watcher.log == [(f,)] + assert watcher.log == [(f, [])] def test_row_update(): setupClass(EventTester) |
|
From: <sub...@co...> - 2008-01-30 13:28:00
|
Author: phd
Date: 2008-01-30 06:27:54 -0700 (Wed, 30 Jan 2008)
New Revision: 3231
Modified:
SQLObject/trunk/docs/News.txt
SQLObject/trunk/sqlobject/main.py
SQLObject/trunk/sqlobject/sqlbuilder.py
SQLObject/trunk/sqlobject/tests/test_foreignKey.py
SQLObject/trunk/sqlobject/tests/test_sqlbuilder_joins_instances.py
Log:
Allow MyTable.select(MyTable.q.foreignKey == object) where object is an instance of SQLObject.
Modified: SQLObject/trunk/docs/News.txt
===================================================================
--- SQLObject/trunk/docs/News.txt 2008-01-30 13:27:23 UTC (rev 3230)
+++ SQLObject/trunk/docs/News.txt 2008-01-30 13:27:54 UTC (rev 3231)
@@ -56,18 +56,19 @@
override it in the inheritable sqlmeta class; this makes asDict() to work
properly on inheritable sqlobjects.
-* Changed the implementation type in BoolCol under SQLite from TINYINT to
- BOOLEAN and made fromDatabase machinery to recognize it.
+* Allow MyTable.select(MyTable.q.foreignKey == object) where object is
+ an instance of SQLObject.
* Added rich comparison methods; SQLObjects of the same class are
considered equal is they have the same id; other methods return
NotImplemented.
+* Changed the implementation type in BoolCol under SQLite from TINYINT to
+ BOOLEAN and made fromDatabase machinery to recognize it.
+
* MySQLConnection (and DB URI) accept a number of SSL-related parameters:
ssl_key, ssl_cert, ssl_ca, ssl_capath.
-* A number of changes ported from `SQLObject 0.7.10`_.
-
SQLObject 0.9.3
===============
Modified: SQLObject/trunk/sqlobject/main.py
===================================================================
--- SQLObject/trunk/sqlobject/main.py 2008-01-30 13:27:23 UTC (rev 3230)
+++ SQLObject/trunk/sqlobject/main.py 2008-01-30 13:27:54 UTC (rev 3231)
@@ -1554,6 +1554,9 @@
self.id,
' '.join(['%s=%s' % (name, repr(value)) for name, value in self._reprItems()]))
+ def __sqlrepr__(self, db):
+ return str(self.id)
+
def sqlrepr(cls, value, connection=None):
return (connection or cls._connection).sqlrepr(value)
@@ -1584,9 +1587,6 @@
setConnection = classmethod(setConnection)
- def __sqlrepr__(self, db):
- return sqlbuilder.sqlrepr(self.__class__.q.id==self.id)
-
def tablesUsedImmediate(self):
return [self.__class__.q]
Modified: SQLObject/trunk/sqlobject/sqlbuilder.py
===================================================================
--- SQLObject/trunk/sqlobject/sqlbuilder.py 2008-01-30 13:27:23 UTC (rev 3230)
+++ SQLObject/trunk/sqlobject/sqlbuilder.py 2008-01-30 13:27:54 UTC (rev 3231)
@@ -392,35 +392,22 @@
raise AttributeError
if attr == 'id':
return self._getattrFromID(attr)
- elif attr+'ID' in [k for (k, v) in self.soClass.sqlmeta.columns.items() if v.foreignKey]:
- column = self.soClass.sqlmeta.columns[attr+'ID']
- return self._getattrFromForeignKey(column, attr)
- elif attr in [x.joinMethodName for x in self.soClass.sqlmeta.joins]:
- join = [x for x in self.soClass.sqlmeta.joins if x.joinMethodName == attr][0]
- return self._getattrFromJoin(join, attr)
- elif attr not in self.soClass.sqlmeta.columns:
- raise AttributeError("%s instance has no attribute '%s'" % (self.soClass.__name__, attr))
- else:
+ elif attr in self.soClass.sqlmeta.columns:
column = self.soClass.sqlmeta.columns[attr]
if hasattr(column, "dbEncoding"):
return self._getattrFromUnicodeColumn(column, attr)
else:
return self._getattrFromColumn(column, attr)
+ elif attr+'ID' in [k for (k, v) in self.soClass.sqlmeta.columns.items() if v.foreignKey]:
+ attr += 'ID'
+ column = self.soClass.sqlmeta.columns[attr]
+ return self._getattrFromColumn(column, attr)
+ else:
+ raise AttributeError("%s instance has no attribute '%s'" % (self.soClass.__name__, attr))
def _getattrFromID(self, attr):
return self.FieldClass(self.tableName, self.soClass.sqlmeta.idName, attr)
- def _getattrFromForeignKey(self, column, attr):
- ret = getattr(self, column.name)==getattr(self.soClass, '_SO_class_'+column.foreignKey).q.id
- return ret
-
- def _getattrFromJoin(self, join, attr):
- if hasattr(join, 'otherColumn'):
- return AND(join.otherClass.q.id == Field(join.intermediateTable, join.otherColumn),
- Field(join.intermediateTable, join.joinColumn) == self.soClass.q.id)
- else:
- return getattr(join.otherClass.q, join.joinColumn)==self.soClass.q.id
-
def _getattrFromColumn(self, column, attr):
return self.FieldClass(self.tableName, column.dbName, attr)
Modified: SQLObject/trunk/sqlobject/tests/test_foreignKey.py
===================================================================
--- SQLObject/trunk/sqlobject/tests/test_foreignKey.py 2008-01-30 13:27:23 UTC (rev 3230)
+++ SQLObject/trunk/sqlobject/tests/test_foreignKey.py 2008-01-30 13:27:54 UTC (rev 3231)
@@ -24,23 +24,46 @@
# Select by usual way
s = TestWorkKey.selectBy(composerID=c.id, title='Symphony No. 9')
+ assert s.count() == 1
assert s[0]==w1
# selectBy object.id
s = TestWorkKey.selectBy(composer=c.id, title='Symphony No. 9')
+ assert s.count() == 1
assert s[0]==w1
# selectBy object
s = TestWorkKey.selectBy(composer=c, title='Symphony No. 9')
+ assert s.count() == 1
assert s[0]==w1
# selectBy id
s = TestWorkKey.selectBy(id=w1.id)
+ assert s.count() == 1
assert s[0]==w1
# is None handled correctly?
s = TestWorkKey.selectBy(composer=None, title=None)
+ assert s.count() == 1
assert s[0]==w2
s = TestWorkKey.selectBy()
assert s.count() == 2
+ # select with objects
+ s = TestWorkKey.select(TestWorkKey.q.composerID==c.id)
+ assert s.count() == 1
+ assert s[0]==w1
+ s = TestWorkKey.select(TestWorkKey.q.composer==c.id)
+ assert s.count() == 1
+ assert s[0]==w1
+ s = TestWorkKey.select(TestWorkKey.q.composerID==c)
+ assert s.count() == 1
+ assert s[0]==w1
+ s = TestWorkKey.select(TestWorkKey.q.composer==c)
+ assert s.count() == 1
+ assert s[0]==w1
+ s = TestWorkKey.select((TestWorkKey.q.composer==c) & \
+ (TestWorkKey.q.title=='Symphony No. 9'))
+ assert s.count() == 1
+ assert s[0]==w1
+
def test2():
TestWorkKey._connection = getConnection()
InstalledTestDatabase.drop(TestWorkKey)
Modified: SQLObject/trunk/sqlobject/tests/test_sqlbuilder_joins_instances.py
===================================================================
--- SQLObject/trunk/sqlobject/tests/test_sqlbuilder_joins_instances.py 2008-01-30 13:27:23 UTC (rev 3230)
+++ SQLObject/trunk/sqlobject/tests/test_sqlbuilder_joins_instances.py 2008-01-30 13:27:54 UTC (rev 3231)
@@ -9,13 +9,13 @@
name = StringCol()
addresses = SQLMultipleJoin('SBAddress', joinColumn='personID')
sharedAddresses = SQLRelatedJoin('SBAddress', addRemoveName='SharedAddress')
-
+
class SBAddress(SQLObject):
city = StringCol()
person = ForeignKey('SBPerson')
sharedPeople = SQLRelatedJoin('SBPerson')
-
+
def setup_module(mod):
setupClass([SBPerson, SBAddress])
mod.ppl = inserts(SBPerson, [('James',),
@@ -30,33 +30,16 @@
mod.ppl[1].addSharedAddress(mod.adds[0])
def testJoin():
- assert list(SBPerson.select(AND(SBPerson.q.addresses,SBAddress.q.city=='London'))) == \
- list(SBPerson.select(AND(SBPerson.q.id==SBAddress.q.personID, SBAddress.q.city=='London'))) == \
- list(SBAddress.selectBy(city='London').throughTo.person)
-
-def testFK():
- assert list(SBPerson.select(AND(SBAddress.q.person, SBAddress.q.city=='London'))) == \
- list(SBPerson.select(AND(SBPerson.q.id==SBAddress.q.personID, SBAddress.q.city=='London')))
+ assert list(SBPerson.select(AND(SBPerson.q.id==SBAddress.q.personID, SBAddress.q.city=='London'))) == \
+ list(SBAddress.selectBy(city='London').throughTo.person)
-def testJoin2():
- assert list(SBAddress.select(AND(SBPerson.q.addresses, SBPerson.q.name=='Julia'))) == \
- list(SBAddress.select(AND(SBPerson.q.id==SBAddress.q.personID, SBPerson.q.name=='Julia'))) == \
- list(SBPerson.selectBy(name='Julia').throughTo.addresses)
-
-def testFK2():
- assert list(SBAddress.select(AND(SBAddress.q.person, SBPerson.q.name=='Julia'))) == \
- list(SBAddress.select(AND(SBPerson.q.id==SBAddress.q.personID, SBPerson.q.name=='Julia')))
+ assert list(SBAddress.select(AND(SBPerson.q.id==SBAddress.q.personID, SBPerson.q.name=='Julia'))) == \
+ list(SBPerson.selectBy(name='Julia').throughTo.addresses)
def testRelatedJoin():
- assert list(SBAddress.select(AND(SBAddress.q.sharedPeople, SBPerson.q.name=='Julia'))) == \
- list(SBPerson.selectBy(name='Julia').throughTo.sharedAddresses) == \
- list(ppl[1].sharedAddresses)
+ assert list(SBPerson.selectBy(name='Julia').throughTo.sharedAddresses) == \
+ list(ppl[1].sharedAddresses)
def testInstance():
- assert list(SBAddress.select(AND(SBAddress.q.person, ppl[0]))) == \
- list(SBAddress.select(AND(SBPerson.q.id==SBAddress.q.personID, SBPerson.q.id==ppl[0].id))) == \
- list(ppl[0].addresses)
-
-def testInstance2():
- assert list(SBAddress.select(AND(SBPerson.q.addresses, ppl[0]))) == \
- list(SBAddress.select(AND(SBPerson.q.id==SBAddress.q.personID, SBPerson.q.id==ppl[0].id)))
\ No newline at end of file
+ assert list(SBAddress.select(AND(SBPerson.q.id==SBAddress.q.personID, SBPerson.q.id==ppl[0].id))) == \
+ list(ppl[0].addresses)
|
|
From: <sub...@co...> - 2008-01-30 13:27:29
|
Author: phd
Date: 2008-01-30 06:27:23 -0700 (Wed, 30 Jan 2008)
New Revision: 3230
Modified:
SQLObject/trunk/setup.cfg
Log:
Fixed links.
Modified: SQLObject/trunk/setup.cfg
===================================================================
--- SQLObject/trunk/setup.cfg 2008-01-30 13:20:07 UTC (rev 3229)
+++ SQLObject/trunk/setup.cfg 2008-01-30 13:27:23 UTC (rev 3230)
@@ -22,7 +22,7 @@
exclude_modules = sqlobject.tests
sqlobject.inheritance.tests
title = SQLObject
-mailing_list_url = http://sqlobject.org/community.html
+mailing_list_url = community.html
settings = normal_link_color=#039
visited_color=#093
hover_color=#ddf
@@ -32,7 +32,7 @@
nav_button_color=#037
nav_border_color=#05f
no_about=true
- link1=/SQLObject.html Documentation
+ link1=SQLObject.html Documentation
[publish]
doc-dir = docs/html
|
|
From: <sub...@co...> - 2008-01-30 13:20:13
|
Author: phd
Date: 2008-01-30 06:20:07 -0700 (Wed, 30 Jan 2008)
New Revision: 3229
Modified:
SQLObject/branches/0.10/docs/News.txt
SQLObject/branches/0.10/sqlobject/main.py
SQLObject/branches/0.10/sqlobject/sqlbuilder.py
SQLObject/branches/0.10/sqlobject/tests/test_foreignKey.py
SQLObject/branches/0.10/sqlobject/tests/test_sqlbuilder_joins_instances.py
SQLObject/branches/0.10/sqlobject/tests/test_views.py
Log:
Allow MyTable.select(MyTable.q.foreignKey == object) where object is an instance of SQLObject.
Modified: SQLObject/branches/0.10/docs/News.txt
===================================================================
--- SQLObject/branches/0.10/docs/News.txt 2008-01-16 16:24:08 UTC (rev 3228)
+++ SQLObject/branches/0.10/docs/News.txt 2008-01-30 13:20:07 UTC (rev 3229)
@@ -56,18 +56,19 @@
override it in the inheritable sqlmeta class; this makes asDict() to work
properly on inheritable sqlobjects.
-* Changed the implementation type in BoolCol under SQLite from TINYINT to
- BOOLEAN and made fromDatabase machinery to recognize it.
+* Allow MyTable.select(MyTable.q.foreignKey == object) where object is
+ an instance of SQLObject.
* Added rich comparison methods; SQLObjects of the same class are
considered equal is they have the same id; other methods return
NotImplemented.
+* Changed the implementation type in BoolCol under SQLite from TINYINT to
+ BOOLEAN and made fromDatabase machinery to recognize it.
+
* MySQLConnection (and DB URI) accept a number of SSL-related parameters:
ssl_key, ssl_cert, ssl_ca, ssl_capath.
-* A number of changes ported from `SQLObject 0.7.10`_.
-
SQLObject 0.9.3
===============
Modified: SQLObject/branches/0.10/sqlobject/main.py
===================================================================
--- SQLObject/branches/0.10/sqlobject/main.py 2008-01-16 16:24:08 UTC (rev 3228)
+++ SQLObject/branches/0.10/sqlobject/main.py 2008-01-30 13:20:07 UTC (rev 3229)
@@ -1554,6 +1554,9 @@
self.id,
' '.join(['%s=%s' % (name, repr(value)) for name, value in self._reprItems()]))
+ def __sqlrepr__(self, db):
+ return str(self.id)
+
def sqlrepr(cls, value, connection=None):
return (connection or cls._connection).sqlrepr(value)
@@ -1584,9 +1587,6 @@
setConnection = classmethod(setConnection)
- def __sqlrepr__(self, db):
- return sqlbuilder.sqlrepr(self.__class__.q.id==self.id)
-
def tablesUsedImmediate(self):
return [self.__class__.q]
Modified: SQLObject/branches/0.10/sqlobject/sqlbuilder.py
===================================================================
--- SQLObject/branches/0.10/sqlobject/sqlbuilder.py 2008-01-16 16:24:08 UTC (rev 3228)
+++ SQLObject/branches/0.10/sqlobject/sqlbuilder.py 2008-01-30 13:20:07 UTC (rev 3229)
@@ -392,35 +392,22 @@
raise AttributeError
if attr == 'id':
return self._getattrFromID(attr)
- elif attr+'ID' in [k for (k, v) in self.soClass.sqlmeta.columns.items() if v.foreignKey]:
- column = self.soClass.sqlmeta.columns[attr+'ID']
- return self._getattrFromForeignKey(column, attr)
- elif attr in [x.joinMethodName for x in self.soClass.sqlmeta.joins]:
- join = [x for x in self.soClass.sqlmeta.joins if x.joinMethodName == attr][0]
- return self._getattrFromJoin(join, attr)
- elif attr not in self.soClass.sqlmeta.columns:
- raise AttributeError("%s instance has no attribute '%s'" % (self.soClass.__name__, attr))
- else:
+ elif attr in self.soClass.sqlmeta.columns:
column = self.soClass.sqlmeta.columns[attr]
if hasattr(column, "dbEncoding"):
return self._getattrFromUnicodeColumn(column, attr)
else:
return self._getattrFromColumn(column, attr)
+ elif attr+'ID' in [k for (k, v) in self.soClass.sqlmeta.columns.items() if v.foreignKey]:
+ attr += 'ID'
+ column = self.soClass.sqlmeta.columns[attr]
+ return self._getattrFromColumn(column, attr)
+ else:
+ raise AttributeError("%s instance has no attribute '%s'" % (self.soClass.__name__, attr))
def _getattrFromID(self, attr):
return self.FieldClass(self.tableName, self.soClass.sqlmeta.idName, attr)
- def _getattrFromForeignKey(self, column, attr):
- ret = getattr(self, column.name)==getattr(self.soClass, '_SO_class_'+column.foreignKey).q.id
- return ret
-
- def _getattrFromJoin(self, join, attr):
- if hasattr(join, 'otherColumn'):
- return AND(join.otherClass.q.id == Field(join.intermediateTable, join.otherColumn),
- Field(join.intermediateTable, join.joinColumn) == self.soClass.q.id)
- else:
- return getattr(join.otherClass.q, join.joinColumn)==self.soClass.q.id
-
def _getattrFromColumn(self, column, attr):
return self.FieldClass(self.tableName, column.dbName, attr)
Modified: SQLObject/branches/0.10/sqlobject/tests/test_foreignKey.py
===================================================================
--- SQLObject/branches/0.10/sqlobject/tests/test_foreignKey.py 2008-01-16 16:24:08 UTC (rev 3228)
+++ SQLObject/branches/0.10/sqlobject/tests/test_foreignKey.py 2008-01-30 13:20:07 UTC (rev 3229)
@@ -24,23 +24,46 @@
# Select by usual way
s = TestWorkKey.selectBy(composerID=c.id, title='Symphony No. 9')
+ assert s.count() == 1
assert s[0]==w1
# selectBy object.id
s = TestWorkKey.selectBy(composer=c.id, title='Symphony No. 9')
+ assert s.count() == 1
assert s[0]==w1
# selectBy object
s = TestWorkKey.selectBy(composer=c, title='Symphony No. 9')
+ assert s.count() == 1
assert s[0]==w1
# selectBy id
s = TestWorkKey.selectBy(id=w1.id)
+ assert s.count() == 1
assert s[0]==w1
# is None handled correctly?
s = TestWorkKey.selectBy(composer=None, title=None)
+ assert s.count() == 1
assert s[0]==w2
s = TestWorkKey.selectBy()
assert s.count() == 2
+ # select with objects
+ s = TestWorkKey.select(TestWorkKey.q.composerID==c.id)
+ assert s.count() == 1
+ assert s[0]==w1
+ s = TestWorkKey.select(TestWorkKey.q.composer==c.id)
+ assert s.count() == 1
+ assert s[0]==w1
+ s = TestWorkKey.select(TestWorkKey.q.composerID==c)
+ assert s.count() == 1
+ assert s[0]==w1
+ s = TestWorkKey.select(TestWorkKey.q.composer==c)
+ assert s.count() == 1
+ assert s[0]==w1
+ s = TestWorkKey.select((TestWorkKey.q.composer==c) & \
+ (TestWorkKey.q.title=='Symphony No. 9'))
+ assert s.count() == 1
+ assert s[0]==w1
+
def test2():
TestWorkKey._connection = getConnection()
InstalledTestDatabase.drop(TestWorkKey)
Modified: SQLObject/branches/0.10/sqlobject/tests/test_sqlbuilder_joins_instances.py
===================================================================
--- SQLObject/branches/0.10/sqlobject/tests/test_sqlbuilder_joins_instances.py 2008-01-16 16:24:08 UTC (rev 3228)
+++ SQLObject/branches/0.10/sqlobject/tests/test_sqlbuilder_joins_instances.py 2008-01-30 13:20:07 UTC (rev 3229)
@@ -9,13 +9,13 @@
name = StringCol()
addresses = SQLMultipleJoin('SBAddress', joinColumn='personID')
sharedAddresses = SQLRelatedJoin('SBAddress', addRemoveName='SharedAddress')
-
+
class SBAddress(SQLObject):
city = StringCol()
person = ForeignKey('SBPerson')
sharedPeople = SQLRelatedJoin('SBPerson')
-
+
def setup_module(mod):
setupClass([SBPerson, SBAddress])
mod.ppl = inserts(SBPerson, [('James',),
@@ -30,33 +30,16 @@
mod.ppl[1].addSharedAddress(mod.adds[0])
def testJoin():
- assert list(SBPerson.select(AND(SBPerson.q.addresses,SBAddress.q.city=='London'))) == \
- list(SBPerson.select(AND(SBPerson.q.id==SBAddress.q.personID, SBAddress.q.city=='London'))) == \
- list(SBAddress.selectBy(city='London').throughTo.person)
-
-def testFK():
- assert list(SBPerson.select(AND(SBAddress.q.person, SBAddress.q.city=='London'))) == \
- list(SBPerson.select(AND(SBPerson.q.id==SBAddress.q.personID, SBAddress.q.city=='London')))
+ assert list(SBPerson.select(AND(SBPerson.q.id==SBAddress.q.personID, SBAddress.q.city=='London'))) == \
+ list(SBAddress.selectBy(city='London').throughTo.person)
-def testJoin2():
- assert list(SBAddress.select(AND(SBPerson.q.addresses, SBPerson.q.name=='Julia'))) == \
- list(SBAddress.select(AND(SBPerson.q.id==SBAddress.q.personID, SBPerson.q.name=='Julia'))) == \
- list(SBPerson.selectBy(name='Julia').throughTo.addresses)
-
-def testFK2():
- assert list(SBAddress.select(AND(SBAddress.q.person, SBPerson.q.name=='Julia'))) == \
- list(SBAddress.select(AND(SBPerson.q.id==SBAddress.q.personID, SBPerson.q.name=='Julia')))
+ assert list(SBAddress.select(AND(SBPerson.q.id==SBAddress.q.personID, SBPerson.q.name=='Julia'))) == \
+ list(SBPerson.selectBy(name='Julia').throughTo.addresses)
def testRelatedJoin():
- assert list(SBAddress.select(AND(SBAddress.q.sharedPeople, SBPerson.q.name=='Julia'))) == \
- list(SBPerson.selectBy(name='Julia').throughTo.sharedAddresses) == \
- list(ppl[1].sharedAddresses)
+ assert list(SBPerson.selectBy(name='Julia').throughTo.sharedAddresses) == \
+ list(ppl[1].sharedAddresses)
def testInstance():
- assert list(SBAddress.select(AND(SBAddress.q.person, ppl[0]))) == \
- list(SBAddress.select(AND(SBPerson.q.id==SBAddress.q.personID, SBPerson.q.id==ppl[0].id))) == \
- list(ppl[0].addresses)
-
-def testInstance2():
- assert list(SBAddress.select(AND(SBPerson.q.addresses, ppl[0]))) == \
- list(SBAddress.select(AND(SBPerson.q.id==SBAddress.q.personID, SBPerson.q.id==ppl[0].id)))
\ No newline at end of file
+ assert list(SBAddress.select(AND(SBPerson.q.id==SBAddress.q.personID, SBPerson.q.id==ppl[0].id))) == \
+ list(ppl[0].addresses)
Modified: SQLObject/branches/0.10/sqlobject/tests/test_views.py
===================================================================
--- SQLObject/branches/0.10/sqlobject/tests/test_views.py 2008-01-16 16:24:08 UTC (rev 3228)
+++ SQLObject/branches/0.10/sqlobject/tests/test_views.py 2008-01-30 13:20:07 UTC (rev 3229)
@@ -6,17 +6,17 @@
number = StringCol()
calls = SQLMultipleJoin('PhoneCall')
incoming = SQLMultipleJoin('PhoneCall', joinColumn='toID')
-
+
class PhoneCall(SQLObject):
phoneNumber = ForeignKey('PhoneNumber')
to = ForeignKey('PhoneNumber')
minutes = IntCol()
-
+
class ViewPhoneCall(ViewSQLObject):
class sqlmeta:
idName = PhoneCall.q.id
clause = PhoneCall.q.phoneNumberID==PhoneNumber.q.id
-
+
minutes = IntCol(dbName=PhoneCall.q.minutes)
number = StringCol(dbName=PhoneNumber.q.number)
phoneNumber = ForeignKey('PhoneNumber', dbName=PhoneNumber.q.id)
@@ -26,7 +26,7 @@
class sqlmeta:
idName = PhoneNumber.q.id
clause = PhoneCall.q.phoneNumberID==PhoneNumber.q.id
-
+
minutes = IntCol(dbName=func.SUM(PhoneCall.q.minutes))
numberOfCalls = IntCol(dbName=func.COUNT(PhoneCall.q.phoneNumberID))
number = StringCol(dbName=PhoneNumber.q.number)
@@ -39,7 +39,7 @@
class sqlmeta:
idName = ViewPhone.q.id
clause = ViewPhone.q.id == PhoneCall.q.toID
-
+
number = StringCol(dbName=ViewPhone.q.number)
timesCalled = IntCol(dbName=func.COUNT(PhoneCall.q.toID))
timesCalledLong = IntCol(dbName=func.COUNT(PhoneCall.q.toID))
@@ -49,8 +49,8 @@
class ViewPhoneMore2(ViewPhoneMore):
class sqlmeta:
table = 'vpm'
-
+
class ViewPhoneInnerAggregate(ViewPhone):
twiceMinutes = IntCol(dbName=func.SUM(PhoneCall.q.minutes)*2)
@@ -122,12 +122,12 @@
assert s.count() == len(phones)
s = ViewPhoneCall.select()
assert s.count() == len(calls)
-
+
def testSelect2():
s = ViewPhone.select(ViewPhone.q.number==phones[0].number)
assert s.getOne().phoneNumber == phones[0]
-
+
def testDistinctCount():
# This test is for SelectResults non-* based count when distinct
# We're really just checking this doesn't raise anything due to lack of sqlrepr'ing
- assert ViewPhone.select(distinct=True).count() == 2
\ No newline at end of file
+ assert ViewPhone.select(distinct=True).count() == 2
|
|
From: SourceForge.net <no...@so...> - 2008-01-16 11:00:29
|
Bugs item #1872669, was opened at 2008-01-16 03:00 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=540672&aid=1872669&group_id=74338 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: General Group: SQLObject release (specify) Status: Open Resolution: None Priority: 5 Private: No Submitted By: Nobody/Anonymous (nobody) Assigned to: Nobody/Anonymous (nobody) Summary: When using sum() distinct=True is ignored Initial Comment: This is on SQLObject 0.6.1. When using sum() on a result set, the distinct=True clause is ignored. ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=540672&aid=1872669&group_id=74338 |
|
From: <sub...@co...> - 2008-01-11 21:22:10
|
Author: phd Date: 2008-01-11 14:22:04 -0700 (Fri, 11 Jan 2008) New Revision: 3227 Added: SQLObject/tags/0.10.0b1/ Removed: SQLObject/tags/0.10b1/ Log: 0.10.0b1 Copied: SQLObject/tags/0.10.0b1 (from rev 3226, SQLObject/tags/0.10b1) |
|
From: <sub...@co...> - 2008-01-11 16:52:58
|
Author: phd Date: 2008-01-11 09:52:49 -0700 (Fri, 11 Jan 2008) New Revision: 3223 Modified: SQLObject/trunk/sqlobject/__init__.py SQLObject/trunk/sqlobject/main.py Log: SQLObject 0.11. Modified: SQLObject/trunk/sqlobject/__init__.py =================================================================== --- SQLObject/trunk/sqlobject/__init__.py 2008-01-11 16:51:12 UTC (rev 3222) +++ SQLObject/trunk/sqlobject/__init__.py 2008-01-11 16:52:49 UTC (rev 3223) @@ -1,3 +1,7 @@ +""" +SQLObject 0.11 +""" + from main import * from col import * from sqlbuilder import AND, OR, NOT, IN, LIKE, RLIKE, DESC, CONTAINSSTRING, const, func Modified: SQLObject/trunk/sqlobject/main.py =================================================================== --- SQLObject/trunk/sqlobject/main.py 2008-01-11 16:51:12 UTC (rev 3222) +++ SQLObject/trunk/sqlobject/main.py 2008-01-11 16:52:49 UTC (rev 3223) @@ -1,6 +1,6 @@ """ -SQLObject ---------- +SQLObject 0.11 +-------------- :author: Ian Bicking <ia...@co...> |
|
From: <sub...@co...> - 2008-01-11 16:51:21
|
Author: phd Date: 2008-01-11 09:51:12 -0700 (Fri, 11 Jan 2008) New Revision: 3222 Modified: SQLObject/branches/0.10/sqlobject/__init__.py SQLObject/branches/0.10/sqlobject/main.py Log: SQLObject 0.10. Modified: SQLObject/branches/0.10/sqlobject/__init__.py =================================================================== --- SQLObject/branches/0.10/sqlobject/__init__.py 2008-01-11 16:37:39 UTC (rev 3221) +++ SQLObject/branches/0.10/sqlobject/__init__.py 2008-01-11 16:51:12 UTC (rev 3222) @@ -1,3 +1,7 @@ +""" +SQLObject 0.10 +""" + from main import * from col import * from sqlbuilder import AND, OR, NOT, IN, LIKE, RLIKE, DESC, CONTAINSSTRING, const, func Modified: SQLObject/branches/0.10/sqlobject/main.py =================================================================== --- SQLObject/branches/0.10/sqlobject/main.py 2008-01-11 16:37:39 UTC (rev 3221) +++ SQLObject/branches/0.10/sqlobject/main.py 2008-01-11 16:51:12 UTC (rev 3222) @@ -1,6 +1,6 @@ """ -SQLObject ---------- +SQLObject 0.10 +-------------- :author: Ian Bicking <ia...@co...> |
|
From: <sub...@co...> - 2008-01-11 16:37:44
|
Author: phd Date: 2008-01-11 09:37:39 -0700 (Fri, 11 Jan 2008) New Revision: 3221 Modified: SQLObject/trunk/docs/Authors.txt SQLObject/trunk/docs/DeveloperGuide.txt SQLObject/trunk/docs/FAQ.txt SQLObject/trunk/docs/Inheritance.txt SQLObject/trunk/docs/News.txt SQLObject/trunk/docs/News1.txt SQLObject/trunk/docs/SQLBuilder.txt SQLObject/trunk/docs/SQLObject.txt SQLObject/trunk/docs/TODO.txt SQLObject/trunk/docs/Versioning.txt SQLObject/trunk/docs/community.txt SQLObject/trunk/docs/download.txt SQLObject/trunk/docs/index.txt SQLObject/trunk/docs/links.txt SQLObject/trunk/docs/sqlobject-admin.txt SQLObject/trunk/docs/sqlobject-architecture.txt Log: Added SF logo. Modified: SQLObject/trunk/docs/Authors.txt =================================================================== --- SQLObject/trunk/docs/Authors.txt 2008-01-11 16:37:17 UTC (rev 3220) +++ SQLObject/trunk/docs/Authors.txt 2008-01-11 16:37:39 UTC (rev 3221) @@ -22,3 +22,9 @@ * David Turner, The Open Planning Project * Dan Pascu <dan at ag-projects.com> * Oleg Broytmann <ph...@ph...> + +.. image:: http://sourceforge.net/sflogo.php?group_id=74338&type=4 + :height: 37 + :width: 125 + :alt: Hosted by SourceForge + :target: http://sourceforge.net/ Modified: SQLObject/trunk/docs/DeveloperGuide.txt =================================================================== --- SQLObject/trunk/docs/DeveloperGuide.txt 2008-01-11 16:37:17 UTC (rev 3220) +++ SQLObject/trunk/docs/DeveloperGuide.txt 2008-01-11 16:37:39 UTC (rev 3221) @@ -191,3 +191,9 @@ directory. Pudge converts documentation from Restructured Text to HTML. It presently requires kid 0.9.3, which must be obtained separately (for instance, from http://cheeseshop.python.org/pypi/kid/0.9.3) + +.. image:: http://sourceforge.net/sflogo.php?group_id=74338&type=4 + :height: 37 + :width: 125 + :alt: Hosted by SourceForge + :target: http://sourceforge.net/ Modified: SQLObject/trunk/docs/FAQ.txt =================================================================== --- SQLObject/trunk/docs/FAQ.txt 2008-01-11 16:37:17 UTC (rev 3220) +++ SQLObject/trunk/docs/FAQ.txt 2008-01-11 16:37:39 UTC (rev 3221) @@ -527,3 +527,9 @@ '''ALTER TABLE some_object CHARACTER SET utf8 COLLATE utf8_estonian_ci'''] } + +.. image:: http://sourceforge.net/sflogo.php?group_id=74338&type=4 + :height: 37 + :width: 125 + :alt: Hosted by SourceForge + :target: http://sourceforge.net/ Modified: SQLObject/trunk/docs/Inheritance.txt =================================================================== --- SQLObject/trunk/docs/Inheritance.txt 2008-01-11 16:37:17 UTC (rev 3220) +++ SQLObject/trunk/docs/Inheritance.txt 2008-01-11 16:37:39 UTC (rev 3221) @@ -324,3 +324,9 @@ class, even though the join method will work correctly. * If you have suggestion, bugs, or patch to this patch, you can contact the SQLObject team: <sqlobject-discuss at lists.sourceforge.net> + +.. image:: http://sourceforge.net/sflogo.php?group_id=74338&type=4 + :height: 37 + :width: 125 + :alt: Hosted by SourceForge + :target: http://sourceforge.net/ Modified: SQLObject/trunk/docs/News.txt =================================================================== --- SQLObject/trunk/docs/News.txt 2008-01-11 16:37:17 UTC (rev 3220) +++ SQLObject/trunk/docs/News.txt 2008-01-11 16:37:39 UTC (rev 3221) @@ -748,3 +748,9 @@ `Older news`__ .. __: News1.html + +.. image:: http://sourceforge.net/sflogo.php?group_id=74338&type=4 + :height: 37 + :width: 125 + :alt: Hosted by SourceForge + :target: http://sourceforge.net/ Modified: SQLObject/trunk/docs/News1.txt =================================================================== --- SQLObject/trunk/docs/News1.txt 2008-01-11 16:37:17 UTC (rev 3220) +++ SQLObject/trunk/docs/News1.txt 2008-01-11 16:37:39 UTC (rev 3221) @@ -455,3 +455,9 @@ .. _select docs: SQLObject.html#selecting-multiple-objects .. _Col docs: SQLObject.html#col-class-specifying-columns + +.. image:: http://sourceforge.net/sflogo.php?group_id=74338&type=4 + :height: 37 + :width: 125 + :alt: Hosted by SourceForge + :target: http://sourceforge.net/ Modified: SQLObject/trunk/docs/SQLBuilder.txt =================================================================== --- SQLObject/trunk/docs/SQLBuilder.txt 2008-01-11 16:37:17 UTC (rev 3220) +++ SQLObject/trunk/docs/SQLBuilder.txt 2008-01-11 16:37:39 UTC (rev 3221) @@ -64,3 +64,9 @@ >> person.created < func.NOW() That's it -- enjoy! + +.. image:: http://sourceforge.net/sflogo.php?group_id=74338&type=4 + :height: 37 + :width: 125 + :alt: Hosted by SourceForge + :target: http://sourceforge.net/ Modified: SQLObject/trunk/docs/SQLObject.txt =================================================================== --- SQLObject/trunk/docs/SQLObject.txt 2008-01-11 16:37:17 UTC (rev 3220) +++ SQLObject/trunk/docs/SQLObject.txt 2008-01-11 16:37:39 UTC (rev 3221) @@ -2010,3 +2010,9 @@ .. _SQLBuilder: SQLBuilder.html .. _`SQLBuilder Documentation`: SQLBuilder.html + +.. image:: http://sourceforge.net/sflogo.php?group_id=74338&type=4 + :height: 37 + :width: 125 + :alt: Hosted by SourceForge + :target: http://sourceforge.net/ Modified: SQLObject/trunk/docs/TODO.txt =================================================================== --- SQLObject/trunk/docs/TODO.txt 2008-01-11 16:37:17 UTC (rev 3220) +++ SQLObject/trunk/docs/TODO.txt 2008-01-11 16:37:39 UTC (rev 3221) @@ -41,3 +41,9 @@ * Made SQLObject unicode-based instead of just unicode-aware. All internal processing should be done with unicode strings, conversion to/from ascii strings should happen for non-unicode DB API drivers. + +.. image:: http://sourceforge.net/sflogo.php?group_id=74338&type=4 + :height: 37 + :width: 125 + :alt: Hosted by SourceForge + :target: http://sourceforge.net/ Modified: SQLObject/trunk/docs/Versioning.txt =================================================================== --- SQLObject/trunk/docs/Versioning.txt 2008-01-11 16:37:17 UTC (rev 3220) +++ SQLObject/trunk/docs/Versioning.txt 2008-01-11 16:37:39 UTC (rev 3221) @@ -81,3 +81,9 @@ for a versioned class is created. Version tables are not altered when the main table is altered, so if you add a column to your main class, you will need to manually add the column to your version table. + +.. image:: http://sourceforge.net/sflogo.php?group_id=74338&type=4 + :height: 37 + :width: 125 + :alt: Hosted by SourceForge + :target: http://sourceforge.net/ Modified: SQLObject/trunk/docs/community.txt =================================================================== --- SQLObject/trunk/docs/community.txt 2008-01-11 16:37:17 UTC (rev 3220) +++ SQLObject/trunk/docs/community.txt 2008-01-11 16:37:39 UTC (rev 3221) @@ -26,3 +26,9 @@ contributors. Wiki and another tracker are also at http://sqlobject.gcu.info/trac. + +.. image:: http://sourceforge.net/sflogo.php?group_id=74338&type=4 + :height: 37 + :width: 125 + :alt: Hosted by SourceForge + :target: http://sourceforge.net/ Modified: SQLObject/trunk/docs/download.txt =================================================================== --- SQLObject/trunk/docs/download.txt 2008-01-11 16:37:17 UTC (rev 3220) +++ SQLObject/trunk/docs/download.txt 2008-01-11 16:37:39 UTC (rev 3221) @@ -47,3 +47,8 @@ If you are on Windows you may want to use `TortoiseSVN <http://tortoisesvn.tigris.org/>`_. +.. image:: http://sourceforge.net/sflogo.php?group_id=74338&type=4 + :height: 37 + :width: 125 + :alt: Hosted by SourceForge + :target: http://sourceforge.net/ Modified: SQLObject/trunk/docs/index.txt =================================================================== --- SQLObject/trunk/docs/index.txt 2008-01-11 16:37:17 UTC (rev 3220) +++ SQLObject/trunk/docs/index.txt 2008-01-11 16:37:39 UTC (rev 3221) @@ -69,4 +69,4 @@ :height: 37 :width: 125 :alt: Hosted by SourceForge - + :target: http://sourceforge.net/ Modified: SQLObject/trunk/docs/links.txt =================================================================== --- SQLObject/trunk/docs/links.txt 2008-01-11 16:37:17 UTC (rev 3220) +++ SQLObject/trunk/docs/links.txt 2008-01-11 16:37:39 UTC (rev 3221) @@ -88,3 +88,9 @@ on the web -- customized for you." That's from their FAQ... basically it's a list of user-submitted articles with a group rating system, and personal adjustments. + +.. image:: http://sourceforge.net/sflogo.php?group_id=74338&type=4 + :height: 37 + :width: 125 + :alt: Hosted by SourceForge + :target: http://sourceforge.net/ Modified: SQLObject/trunk/docs/sqlobject-admin.txt =================================================================== --- SQLObject/trunk/docs/sqlobject-admin.txt 2008-01-11 16:37:17 UTC (rev 3220) +++ SQLObject/trunk/docs/sqlobject-admin.txt 2008-01-11 16:37:39 UTC (rev 3221) @@ -208,3 +208,9 @@ people something to work with. Maybe. * A command to trim versions, by merging upgrade scripts. + +.. image:: http://sourceforge.net/sflogo.php?group_id=74338&type=4 + :height: 37 + :width: 125 + :alt: Hosted by SourceForge + :target: http://sourceforge.net/ Modified: SQLObject/trunk/docs/sqlobject-architecture.txt =================================================================== --- SQLObject/trunk/docs/sqlobject-architecture.txt 2008-01-11 16:37:17 UTC (rev 3220) +++ SQLObject/trunk/docs/sqlobject-architecture.txt 2008-01-11 16:37:39 UTC (rev 3221) @@ -33,3 +33,9 @@ class (that constructs the query strings) and Iteration class, and different subdirectories of sqlobject for concrete implementations of connection classes - different backends require different query strings. + +.. image:: http://sourceforge.net/sflogo.php?group_id=74338&type=4 + :height: 37 + :width: 125 + :alt: Hosted by SourceForge + :target: http://sourceforge.net/ |
|
From: <sub...@co...> - 2008-01-11 16:37:21
|
Author: phd Date: 2008-01-11 09:37:17 -0700 (Fri, 11 Jan 2008) New Revision: 3220 Modified: SQLObject/branches/0.10/docs/Authors.txt SQLObject/branches/0.10/docs/DeveloperGuide.txt SQLObject/branches/0.10/docs/FAQ.txt SQLObject/branches/0.10/docs/Inheritance.txt SQLObject/branches/0.10/docs/News.txt SQLObject/branches/0.10/docs/News1.txt SQLObject/branches/0.10/docs/SQLBuilder.txt SQLObject/branches/0.10/docs/SQLObject.txt SQLObject/branches/0.10/docs/TODO.txt SQLObject/branches/0.10/docs/Versioning.txt SQLObject/branches/0.10/docs/community.txt SQLObject/branches/0.10/docs/download.txt SQLObject/branches/0.10/docs/index.txt SQLObject/branches/0.10/docs/links.txt SQLObject/branches/0.10/docs/sqlobject-admin.txt SQLObject/branches/0.10/docs/sqlobject-architecture.txt Log: Added SF logo. Modified: SQLObject/branches/0.10/docs/Authors.txt =================================================================== --- SQLObject/branches/0.10/docs/Authors.txt 2008-01-11 16:36:40 UTC (rev 3219) +++ SQLObject/branches/0.10/docs/Authors.txt 2008-01-11 16:37:17 UTC (rev 3220) @@ -22,3 +22,9 @@ * David Turner, The Open Planning Project * Dan Pascu <dan at ag-projects.com> * Oleg Broytmann <ph...@ph...> + +.. image:: http://sourceforge.net/sflogo.php?group_id=74338&type=4 + :height: 37 + :width: 125 + :alt: Hosted by SourceForge + :target: http://sourceforge.net/ Modified: SQLObject/branches/0.10/docs/DeveloperGuide.txt =================================================================== --- SQLObject/branches/0.10/docs/DeveloperGuide.txt 2008-01-11 16:36:40 UTC (rev 3219) +++ SQLObject/branches/0.10/docs/DeveloperGuide.txt 2008-01-11 16:37:17 UTC (rev 3220) @@ -191,3 +191,9 @@ directory. Pudge converts documentation from Restructured Text to HTML. It presently requires kid 0.9.3, which must be obtained separately (for instance, from http://cheeseshop.python.org/pypi/kid/0.9.3) + +.. image:: http://sourceforge.net/sflogo.php?group_id=74338&type=4 + :height: 37 + :width: 125 + :alt: Hosted by SourceForge + :target: http://sourceforge.net/ Modified: SQLObject/branches/0.10/docs/FAQ.txt =================================================================== --- SQLObject/branches/0.10/docs/FAQ.txt 2008-01-11 16:36:40 UTC (rev 3219) +++ SQLObject/branches/0.10/docs/FAQ.txt 2008-01-11 16:37:17 UTC (rev 3220) @@ -527,3 +527,9 @@ '''ALTER TABLE some_object CHARACTER SET utf8 COLLATE utf8_estonian_ci'''] } + +.. image:: http://sourceforge.net/sflogo.php?group_id=74338&type=4 + :height: 37 + :width: 125 + :alt: Hosted by SourceForge + :target: http://sourceforge.net/ Modified: SQLObject/branches/0.10/docs/Inheritance.txt =================================================================== --- SQLObject/branches/0.10/docs/Inheritance.txt 2008-01-11 16:36:40 UTC (rev 3219) +++ SQLObject/branches/0.10/docs/Inheritance.txt 2008-01-11 16:37:17 UTC (rev 3220) @@ -324,3 +324,9 @@ class, even though the join method will work correctly. * If you have suggestion, bugs, or patch to this patch, you can contact the SQLObject team: <sqlobject-discuss at lists.sourceforge.net> + +.. image:: http://sourceforge.net/sflogo.php?group_id=74338&type=4 + :height: 37 + :width: 125 + :alt: Hosted by SourceForge + :target: http://sourceforge.net/ Modified: SQLObject/branches/0.10/docs/News.txt =================================================================== --- SQLObject/branches/0.10/docs/News.txt 2008-01-11 16:36:40 UTC (rev 3219) +++ SQLObject/branches/0.10/docs/News.txt 2008-01-11 16:37:17 UTC (rev 3220) @@ -748,3 +748,9 @@ `Older news`__ .. __: News1.html + +.. image:: http://sourceforge.net/sflogo.php?group_id=74338&type=4 + :height: 37 + :width: 125 + :alt: Hosted by SourceForge + :target: http://sourceforge.net/ Modified: SQLObject/branches/0.10/docs/News1.txt =================================================================== --- SQLObject/branches/0.10/docs/News1.txt 2008-01-11 16:36:40 UTC (rev 3219) +++ SQLObject/branches/0.10/docs/News1.txt 2008-01-11 16:37:17 UTC (rev 3220) @@ -455,3 +455,9 @@ .. _select docs: SQLObject.html#selecting-multiple-objects .. _Col docs: SQLObject.html#col-class-specifying-columns + +.. image:: http://sourceforge.net/sflogo.php?group_id=74338&type=4 + :height: 37 + :width: 125 + :alt: Hosted by SourceForge + :target: http://sourceforge.net/ Modified: SQLObject/branches/0.10/docs/SQLBuilder.txt =================================================================== --- SQLObject/branches/0.10/docs/SQLBuilder.txt 2008-01-11 16:36:40 UTC (rev 3219) +++ SQLObject/branches/0.10/docs/SQLBuilder.txt 2008-01-11 16:37:17 UTC (rev 3220) @@ -64,3 +64,9 @@ >> person.created < func.NOW() That's it -- enjoy! + +.. image:: http://sourceforge.net/sflogo.php?group_id=74338&type=4 + :height: 37 + :width: 125 + :alt: Hosted by SourceForge + :target: http://sourceforge.net/ Modified: SQLObject/branches/0.10/docs/SQLObject.txt =================================================================== --- SQLObject/branches/0.10/docs/SQLObject.txt 2008-01-11 16:36:40 UTC (rev 3219) +++ SQLObject/branches/0.10/docs/SQLObject.txt 2008-01-11 16:37:17 UTC (rev 3220) @@ -1,6 +1,6 @@ -``````````````` -SQLObject trunk -``````````````` +`````````````` +SQLObject 0.10 +`````````````` .. contents:: Contents: @@ -2010,3 +2010,9 @@ .. _SQLBuilder: SQLBuilder.html .. _`SQLBuilder Documentation`: SQLBuilder.html + +.. image:: http://sourceforge.net/sflogo.php?group_id=74338&type=4 + :height: 37 + :width: 125 + :alt: Hosted by SourceForge + :target: http://sourceforge.net/ Modified: SQLObject/branches/0.10/docs/TODO.txt =================================================================== --- SQLObject/branches/0.10/docs/TODO.txt 2008-01-11 16:36:40 UTC (rev 3219) +++ SQLObject/branches/0.10/docs/TODO.txt 2008-01-11 16:37:17 UTC (rev 3220) @@ -41,3 +41,9 @@ * Made SQLObject unicode-based instead of just unicode-aware. All internal processing should be done with unicode strings, conversion to/from ascii strings should happen for non-unicode DB API drivers. + +.. image:: http://sourceforge.net/sflogo.php?group_id=74338&type=4 + :height: 37 + :width: 125 + :alt: Hosted by SourceForge + :target: http://sourceforge.net/ Modified: SQLObject/branches/0.10/docs/Versioning.txt =================================================================== --- SQLObject/branches/0.10/docs/Versioning.txt 2008-01-11 16:36:40 UTC (rev 3219) +++ SQLObject/branches/0.10/docs/Versioning.txt 2008-01-11 16:37:17 UTC (rev 3220) @@ -81,3 +81,9 @@ for a versioned class is created. Version tables are not altered when the main table is altered, so if you add a column to your main class, you will need to manually add the column to your version table. + +.. image:: http://sourceforge.net/sflogo.php?group_id=74338&type=4 + :height: 37 + :width: 125 + :alt: Hosted by SourceForge + :target: http://sourceforge.net/ Modified: SQLObject/branches/0.10/docs/community.txt =================================================================== --- SQLObject/branches/0.10/docs/community.txt 2008-01-11 16:36:40 UTC (rev 3219) +++ SQLObject/branches/0.10/docs/community.txt 2008-01-11 16:37:17 UTC (rev 3220) @@ -26,3 +26,9 @@ contributors. Wiki and another tracker are also at http://sqlobject.gcu.info/trac. + +.. image:: http://sourceforge.net/sflogo.php?group_id=74338&type=4 + :height: 37 + :width: 125 + :alt: Hosted by SourceForge + :target: http://sourceforge.net/ Modified: SQLObject/branches/0.10/docs/download.txt =================================================================== --- SQLObject/branches/0.10/docs/download.txt 2008-01-11 16:36:40 UTC (rev 3219) +++ SQLObject/branches/0.10/docs/download.txt 2008-01-11 16:37:17 UTC (rev 3220) @@ -47,3 +47,8 @@ If you are on Windows you may want to use `TortoiseSVN <http://tortoisesvn.tigris.org/>`_. +.. image:: http://sourceforge.net/sflogo.php?group_id=74338&type=4 + :height: 37 + :width: 125 + :alt: Hosted by SourceForge + :target: http://sourceforge.net/ Modified: SQLObject/branches/0.10/docs/index.txt =================================================================== --- SQLObject/branches/0.10/docs/index.txt 2008-01-11 16:36:40 UTC (rev 3219) +++ SQLObject/branches/0.10/docs/index.txt 2008-01-11 16:37:17 UTC (rev 3220) @@ -69,4 +69,4 @@ :height: 37 :width: 125 :alt: Hosted by SourceForge - + :target: http://sourceforge.net/ Modified: SQLObject/branches/0.10/docs/links.txt =================================================================== --- SQLObject/branches/0.10/docs/links.txt 2008-01-11 16:36:40 UTC (rev 3219) +++ SQLObject/branches/0.10/docs/links.txt 2008-01-11 16:37:17 UTC (rev 3220) @@ -88,3 +88,9 @@ on the web -- customized for you." That's from their FAQ... basically it's a list of user-submitted articles with a group rating system, and personal adjustments. + +.. image:: http://sourceforge.net/sflogo.php?group_id=74338&type=4 + :height: 37 + :width: 125 + :alt: Hosted by SourceForge + :target: http://sourceforge.net/ Modified: SQLObject/branches/0.10/docs/sqlobject-admin.txt =================================================================== --- SQLObject/branches/0.10/docs/sqlobject-admin.txt 2008-01-11 16:36:40 UTC (rev 3219) +++ SQLObject/branches/0.10/docs/sqlobject-admin.txt 2008-01-11 16:37:17 UTC (rev 3220) @@ -208,3 +208,9 @@ people something to work with. Maybe. * A command to trim versions, by merging upgrade scripts. + +.. image:: http://sourceforge.net/sflogo.php?group_id=74338&type=4 + :height: 37 + :width: 125 + :alt: Hosted by SourceForge + :target: http://sourceforge.net/ Modified: SQLObject/branches/0.10/docs/sqlobject-architecture.txt =================================================================== --- SQLObject/branches/0.10/docs/sqlobject-architecture.txt 2008-01-11 16:36:40 UTC (rev 3219) +++ SQLObject/branches/0.10/docs/sqlobject-architecture.txt 2008-01-11 16:37:17 UTC (rev 3220) @@ -33,3 +33,9 @@ class (that constructs the query strings) and Iteration class, and different subdirectories of sqlobject for concrete implementations of connection classes - different backends require different query strings. + +.. image:: http://sourceforge.net/sflogo.php?group_id=74338&type=4 + :height: 37 + :width: 125 + :alt: Hosted by SourceForge + :target: http://sourceforge.net/ |
|
From: <sub...@co...> - 2008-01-11 16:36:48
|
Author: phd Date: 2008-01-11 09:36:40 -0700 (Fri, 11 Jan 2008) New Revision: 3219 Modified: SQLObject/branches/0.9/docs/Authors.txt SQLObject/branches/0.9/docs/DeveloperGuide.txt SQLObject/branches/0.9/docs/FAQ.txt SQLObject/branches/0.9/docs/Inheritance.txt SQLObject/branches/0.9/docs/News.txt SQLObject/branches/0.9/docs/SQLBuilder.txt SQLObject/branches/0.9/docs/SQLObject.txt SQLObject/branches/0.9/docs/TODO.txt SQLObject/branches/0.9/docs/Versioning.txt SQLObject/branches/0.9/docs/community.txt SQLObject/branches/0.9/docs/download.txt SQLObject/branches/0.9/docs/index.txt SQLObject/branches/0.9/docs/links.txt SQLObject/branches/0.9/docs/sqlobject-admin.txt SQLObject/branches/0.9/docs/sqlobject-architecture.txt Log: Added SF logo. Modified: SQLObject/branches/0.9/docs/Authors.txt =================================================================== --- SQLObject/branches/0.9/docs/Authors.txt 2008-01-11 15:32:19 UTC (rev 3218) +++ SQLObject/branches/0.9/docs/Authors.txt 2008-01-11 16:36:40 UTC (rev 3219) @@ -22,3 +22,9 @@ * David Turner, The Open Planning Project * Dan Pascu <dan at ag-projects.com> * Oleg Broytmann <ph...@ph...> + +.. image:: http://sourceforge.net/sflogo.php?group_id=74338&type=4 + :height: 37 + :width: 125 + :alt: Hosted by SourceForge + :target: http://sourceforge.net/ Modified: SQLObject/branches/0.9/docs/DeveloperGuide.txt =================================================================== --- SQLObject/branches/0.9/docs/DeveloperGuide.txt 2008-01-11 15:32:19 UTC (rev 3218) +++ SQLObject/branches/0.9/docs/DeveloperGuide.txt 2008-01-11 16:36:40 UTC (rev 3219) @@ -191,3 +191,9 @@ directory. Pudge converts documentation from Restructured Text to HTML. It presently requires kid 0.9.3, which must be obtained separately (for instance, from http://cheeseshop.python.org/pypi/kid/0.9.3) + +.. image:: http://sourceforge.net/sflogo.php?group_id=74338&type=4 + :height: 37 + :width: 125 + :alt: Hosted by SourceForge + :target: http://sourceforge.net/ Modified: SQLObject/branches/0.9/docs/FAQ.txt =================================================================== --- SQLObject/branches/0.9/docs/FAQ.txt 2008-01-11 15:32:19 UTC (rev 3218) +++ SQLObject/branches/0.9/docs/FAQ.txt 2008-01-11 16:36:40 UTC (rev 3219) @@ -527,3 +527,9 @@ '''ALTER TABLE some_object CHARACTER SET utf8 COLLATE utf8_estonian_ci'''] } + +.. image:: http://sourceforge.net/sflogo.php?group_id=74338&type=4 + :height: 37 + :width: 125 + :alt: Hosted by SourceForge + :target: http://sourceforge.net/ Modified: SQLObject/branches/0.9/docs/Inheritance.txt =================================================================== --- SQLObject/branches/0.9/docs/Inheritance.txt 2008-01-11 15:32:19 UTC (rev 3218) +++ SQLObject/branches/0.9/docs/Inheritance.txt 2008-01-11 16:36:40 UTC (rev 3219) @@ -324,3 +324,9 @@ class, even though the join method will work correctly. * If you have suggestion, bugs, or patch to this patch, you can contact the SQLObject team: <sqlobject-discuss at lists.sourceforge.net> + +.. image:: http://sourceforge.net/sflogo.php?group_id=74338&type=4 + :height: 37 + :width: 125 + :alt: Hosted by SourceForge + :target: http://sourceforge.net/ Modified: SQLObject/branches/0.9/docs/News.txt =================================================================== --- SQLObject/branches/0.9/docs/News.txt 2008-01-11 15:32:19 UTC (rev 3218) +++ SQLObject/branches/0.9/docs/News.txt 2008-01-11 16:36:40 UTC (rev 3219) @@ -1139,3 +1139,8 @@ .. _Col docs: SQLObject.html#col-class-specifying-columns +.. image:: http://sourceforge.net/sflogo.php?group_id=74338&type=4 + :height: 37 + :width: 125 + :alt: Hosted by SourceForge + :target: http://sourceforge.net/ Modified: SQLObject/branches/0.9/docs/SQLBuilder.txt =================================================================== --- SQLObject/branches/0.9/docs/SQLBuilder.txt 2008-01-11 15:32:19 UTC (rev 3218) +++ SQLObject/branches/0.9/docs/SQLBuilder.txt 2008-01-11 16:36:40 UTC (rev 3219) @@ -64,3 +64,9 @@ >> person.created < func.NOW() That's it -- enjoy! + +.. image:: http://sourceforge.net/sflogo.php?group_id=74338&type=4 + :height: 37 + :width: 125 + :alt: Hosted by SourceForge + :target: http://sourceforge.net/ Modified: SQLObject/branches/0.9/docs/SQLObject.txt =================================================================== --- SQLObject/branches/0.9/docs/SQLObject.txt 2008-01-11 15:32:19 UTC (rev 3218) +++ SQLObject/branches/0.9/docs/SQLObject.txt 2008-01-11 16:36:40 UTC (rev 3219) @@ -2012,3 +2012,9 @@ .. _SQLBuilder: SQLBuilder.html .. _`SQLBuilder Documentation`: SQLBuilder.html + +.. image:: http://sourceforge.net/sflogo.php?group_id=74338&type=4 + :height: 37 + :width: 125 + :alt: Hosted by SourceForge + :target: http://sourceforge.net/ Modified: SQLObject/branches/0.9/docs/TODO.txt =================================================================== --- SQLObject/branches/0.9/docs/TODO.txt 2008-01-11 15:32:19 UTC (rev 3218) +++ SQLObject/branches/0.9/docs/TODO.txt 2008-01-11 16:36:40 UTC (rev 3219) @@ -41,3 +41,9 @@ * Made SQLObject unicode-based instead of just unicode-aware. All internal processing should be done with unicode strings, conversion to/from ascii strings should happen for non-unicode DB API drivers. + +.. image:: http://sourceforge.net/sflogo.php?group_id=74338&type=4 + :height: 37 + :width: 125 + :alt: Hosted by SourceForge + :target: http://sourceforge.net/ Modified: SQLObject/branches/0.9/docs/Versioning.txt =================================================================== --- SQLObject/branches/0.9/docs/Versioning.txt 2008-01-11 15:32:19 UTC (rev 3218) +++ SQLObject/branches/0.9/docs/Versioning.txt 2008-01-11 16:36:40 UTC (rev 3219) @@ -81,3 +81,9 @@ for a versioned class is created. Version tables are not altered when the main table is altered, so if you add a column to your main class, you will need to manually add the column to your version table. + +.. image:: http://sourceforge.net/sflogo.php?group_id=74338&type=4 + :height: 37 + :width: 125 + :alt: Hosted by SourceForge + :target: http://sourceforge.net/ Modified: SQLObject/branches/0.9/docs/community.txt =================================================================== --- SQLObject/branches/0.9/docs/community.txt 2008-01-11 15:32:19 UTC (rev 3218) +++ SQLObject/branches/0.9/docs/community.txt 2008-01-11 16:36:40 UTC (rev 3219) @@ -26,3 +26,9 @@ contributors. Wiki and another tracker are also at http://sqlobject.gcu.info/trac. + +.. image:: http://sourceforge.net/sflogo.php?group_id=74338&type=4 + :height: 37 + :width: 125 + :alt: Hosted by SourceForge + :target: http://sourceforge.net/ Modified: SQLObject/branches/0.9/docs/download.txt =================================================================== --- SQLObject/branches/0.9/docs/download.txt 2008-01-11 15:32:19 UTC (rev 3218) +++ SQLObject/branches/0.9/docs/download.txt 2008-01-11 16:36:40 UTC (rev 3219) @@ -47,3 +47,8 @@ If you are on Windows you may want to use `TortoiseSVN <http://tortoisesvn.tigris.org/>`_. +.. image:: http://sourceforge.net/sflogo.php?group_id=74338&type=4 + :height: 37 + :width: 125 + :alt: Hosted by SourceForge + :target: http://sourceforge.net/ Modified: SQLObject/branches/0.9/docs/index.txt =================================================================== --- SQLObject/branches/0.9/docs/index.txt 2008-01-11 15:32:19 UTC (rev 3218) +++ SQLObject/branches/0.9/docs/index.txt 2008-01-11 16:36:40 UTC (rev 3219) @@ -69,4 +69,4 @@ :height: 37 :width: 125 :alt: Hosted by SourceForge - + :target: http://sourceforge.net/ Modified: SQLObject/branches/0.9/docs/links.txt =================================================================== --- SQLObject/branches/0.9/docs/links.txt 2008-01-11 15:32:19 UTC (rev 3218) +++ SQLObject/branches/0.9/docs/links.txt 2008-01-11 16:36:40 UTC (rev 3219) @@ -88,3 +88,9 @@ on the web -- customized for you." That's from their FAQ... basically it's a list of user-submitted articles with a group rating system, and personal adjustments. + +.. image:: http://sourceforge.net/sflogo.php?group_id=74338&type=4 + :height: 37 + :width: 125 + :alt: Hosted by SourceForge + :target: http://sourceforge.net/ Modified: SQLObject/branches/0.9/docs/sqlobject-admin.txt =================================================================== --- SQLObject/branches/0.9/docs/sqlobject-admin.txt 2008-01-11 15:32:19 UTC (rev 3218) +++ SQLObject/branches/0.9/docs/sqlobject-admin.txt 2008-01-11 16:36:40 UTC (rev 3219) @@ -208,3 +208,9 @@ people something to work with. Maybe. * A command to trim versions, by merging upgrade scripts. + +.. image:: http://sourceforge.net/sflogo.php?group_id=74338&type=4 + :height: 37 + :width: 125 + :alt: Hosted by SourceForge + :target: http://sourceforge.net/ Modified: SQLObject/branches/0.9/docs/sqlobject-architecture.txt =================================================================== --- SQLObject/branches/0.9/docs/sqlobject-architecture.txt 2008-01-11 15:32:19 UTC (rev 3218) +++ SQLObject/branches/0.9/docs/sqlobject-architecture.txt 2008-01-11 16:36:40 UTC (rev 3219) @@ -33,3 +33,9 @@ class (that constructs the query strings) and Iteration class, and different subdirectories of sqlobject for concrete implementations of connection classes - different backends require different query strings. + +.. image:: http://sourceforge.net/sflogo.php?group_id=74338&type=4 + :height: 37 + :width: 125 + :alt: Hosted by SourceForge + :target: http://sourceforge.net/ |
|
From: <sub...@co...> - 2008-01-11 15:32:23
|
Author: phd
Date: 2008-01-11 08:32:19 -0700 (Fri, 11 Jan 2008)
New Revision: 3218
Modified:
SQLObject/trunk/README.txt
SQLObject/trunk/docs/News.txt
SQLObject/trunk/setup.py
Log:
SQLObject 0.10.0b1 has been released. The trunk will be SQLObject 0.11.
Modified: SQLObject/trunk/README.txt
===================================================================
--- SQLObject/trunk/README.txt 2008-01-11 15:17:33 UTC (rev 3217)
+++ SQLObject/trunk/README.txt 2008-01-11 15:32:19 UTC (rev 3218)
@@ -1,5 +1,5 @@
-SQLObject 0.8
-=============
+SQLObject 0.11
+==============
Thanks for looking at SQLObject. SQLObject is an object-relational
mapper, i.e., a library that will wrap your database tables in Python
Modified: SQLObject/trunk/docs/News.txt
===================================================================
--- SQLObject/trunk/docs/News.txt 2008-01-11 15:17:33 UTC (rev 3217)
+++ SQLObject/trunk/docs/News.txt 2008-01-11 15:32:19 UTC (rev 3218)
@@ -10,6 +10,9 @@
SQLObject (trunk)
=================
+SQLObject 0.10.0
+================
+
Features & Interface
--------------------
Modified: SQLObject/trunk/setup.py
===================================================================
--- SQLObject/trunk/setup.py 2008-01-11 15:17:33 UTC (rev 3217)
+++ SQLObject/trunk/setup.py 2008-01-11 15:32:19 UTC (rev 3218)
@@ -28,7 +28,7 @@
"""
setup(name="SQLObject",
- version="0.10",
+ version="0.11",
description="Object-Relational Manager, aka database wrapper",
long_description="""\
SQLObject is a popular *Object Relational Manager* for providing an
@@ -42,7 +42,7 @@
Supports MySQL, PostgreSQL, SQLite, Firebird, Sybase, MSSQL and MaxDB (SAPDB).
For development see the `subversion repository
-<http://svn.colorstudy.com/SQLObject/trunk#egg=SQLObject-0.10dev>`_
+<http://svn.colorstudy.com/SQLObject/trunk#egg=SQLObject-0.11dev>`_
""",
classifiers=[
"Development Status :: 5 - Production/Stable",
|
|
From: <sub...@co...> - 2008-01-11 15:17:40
|
Author: phd Date: 2008-01-11 08:17:33 -0700 (Fri, 11 Jan 2008) New Revision: 3217 Modified: SQLObject/tags/0.10b1/docs/News.txt SQLObject/tags/0.10b1/setup.cfg SQLObject/tags/0.10b1/setup.py Log: Release 0.10.0b1. Modified: SQLObject/tags/0.10b1/docs/News.txt =================================================================== --- SQLObject/tags/0.10b1/docs/News.txt 2008-01-11 15:17:07 UTC (rev 3216) +++ SQLObject/tags/0.10b1/docs/News.txt 2008-01-11 15:17:33 UTC (rev 3217) @@ -10,6 +10,9 @@ SQLObject (trunk) ================= +SQLObject 0.10.0 +================ + Features & Interface -------------------- Modified: SQLObject/tags/0.10b1/setup.cfg =================================================================== --- SQLObject/tags/0.10b1/setup.cfg 2008-01-11 15:17:07 UTC (rev 3216) +++ SQLObject/tags/0.10b1/setup.cfg 2008-01-11 15:17:33 UTC (rev 3217) @@ -5,10 +5,6 @@ [easy_install] #find_links = http://svn.pythonpaste.org/package_index.html -[egg_info] -tag_build = dev -tag_svn_revision = true - [pudge] theme = pythonpaste.org docs = docs/index.txt docs/SQLObject.txt docs/TODO.txt Modified: SQLObject/tags/0.10b1/setup.py =================================================================== --- SQLObject/tags/0.10b1/setup.py 2008-01-11 15:17:07 UTC (rev 3216) +++ SQLObject/tags/0.10b1/setup.py 2008-01-11 15:17:33 UTC (rev 3217) @@ -28,7 +28,7 @@ """ setup(name="SQLObject", - version="0.10", + version="0.10.0b1", description="Object-Relational Manager, aka database wrapper", long_description="""\ SQLObject is a popular *Object Relational Manager* for providing an @@ -42,7 +42,7 @@ Supports MySQL, PostgreSQL, SQLite, Firebird, Sybase, MSSQL and MaxDB (SAPDB). For development see the `subversion repository -<http://svn.colorstudy.com/SQLObject/trunk#egg=SQLObject-0.10dev>`_ +<http://svn.colorstudy.com/SQLObject/tags/0.10.0b1>`_ """, classifiers=[ "Development Status :: 5 - Production/Stable", @@ -56,7 +56,7 @@ author="Ian Bicking", author_email="ia...@co...", url="http://sqlobject.org/devel/", - download_url="http://cheeseshop.python.org/pypi/SQLObject/", + download_url="http://cheeseshop.python.org/pypi/SQLObject/0.10.0b1", license="LGPL", packages=["sqlobject"] + ['sqlobject.%s' % package for package in subpackages], scripts=["scripts/sqlobject-admin"], |
|
From: <sub...@co...> - 2008-01-11 15:17:13
|
Author: phd Date: 2008-01-11 08:17:07 -0700 (Fri, 11 Jan 2008) New Revision: 3216 Modified: SQLObject/branches/0.10/docs/News.txt SQLObject/branches/0.10/setup.py Log: Branch 0.10. Modified: SQLObject/branches/0.10/docs/News.txt =================================================================== --- SQLObject/branches/0.10/docs/News.txt 2008-01-11 15:03:35 UTC (rev 3215) +++ SQLObject/branches/0.10/docs/News.txt 2008-01-11 15:17:07 UTC (rev 3216) @@ -10,6 +10,9 @@ SQLObject (trunk) ================= +SQLObject 0.10.0 +================ + Features & Interface -------------------- Modified: SQLObject/branches/0.10/setup.py =================================================================== --- SQLObject/branches/0.10/setup.py 2008-01-11 15:03:35 UTC (rev 3215) +++ SQLObject/branches/0.10/setup.py 2008-01-11 15:17:07 UTC (rev 3216) @@ -42,7 +42,7 @@ Supports MySQL, PostgreSQL, SQLite, Firebird, Sybase, MSSQL and MaxDB (SAPDB). For development see the `subversion repository -<http://svn.colorstudy.com/SQLObject/trunk#egg=SQLObject-0.10dev>`_ +<http://svn.colorstudy.com/SQLObject/branches/0.10>`_ """, classifiers=[ "Development Status :: 5 - Production/Stable", @@ -56,7 +56,7 @@ author="Ian Bicking", author_email="ia...@co...", url="http://sqlobject.org/devel/", - download_url="http://cheeseshop.python.org/pypi/SQLObject/", + download_url="http://cheeseshop.python.org/pypi/SQLObject/0.10", license="LGPL", packages=["sqlobject"] + ['sqlobject.%s' % package for package in subpackages], scripts=["scripts/sqlobject-admin"], |
|
From: <sub...@co...> - 2008-01-11 15:03:42
|
Author: phd Date: 2008-01-11 08:03:35 -0700 (Fri, 11 Jan 2008) New Revision: 3215 Added: SQLObject/tags/0.10b1/ Log: 0.10 beta 1 Copied: SQLObject/tags/0.10b1 (from rev 3214, SQLObject/branches/0.10) |
|
From: <sub...@co...> - 2008-01-11 14:58:56
|
Author: phd Date: 2008-01-11 07:58:48 -0700 (Fri, 11 Jan 2008) New Revision: 3214 Added: SQLObject/branches/0.10/ Log: 0.10 branch Copied: SQLObject/branches/0.10 (from rev 3213, SQLObject/trunk) |
|
From: <sub...@co...> - 2008-01-10 16:59:24
|
Author: ianb Date: 2008-01-10 09:59:19 -0700 (Thu, 10 Jan 2008) New Revision: 3213 Modified: SQLObject/branches/0.9/setup.cfg Log: commands for doc generation/uploading Modified: SQLObject/branches/0.9/setup.cfg =================================================================== --- SQLObject/branches/0.9/setup.cfg 2008-01-10 16:35:54 UTC (rev 3212) +++ SQLObject/branches/0.9/setup.cfg 2008-01-10 16:59:19 UTC (rev 3213) @@ -1,3 +1,7 @@ +[global] +command_packages = buildutils.pudge_command, + buildutils.publish_command + [easy_install] #find_links = http://svn.pythonpaste.org/package_index.html |
|
From: <sub...@co...> - 2008-01-10 16:37:35
|
Author: ianb Date: 2008-01-10 09:35:54 -0700 (Thu, 10 Jan 2008) New Revision: 3212 Modified: SQLObject/trunk/setup.cfg Log: Avoid the inheritance tests package when building docs Modified: SQLObject/trunk/setup.cfg =================================================================== --- SQLObject/trunk/setup.cfg 2008-01-10 16:19:42 UTC (rev 3211) +++ SQLObject/trunk/setup.cfg 2008-01-10 16:35:54 UTC (rev 3212) @@ -1,5 +1,6 @@ [global] -command_packages = buildutils.pudge_command +command_packages = buildutils.pudge_command, + buildutils.publish_command [easy_install] #find_links = http://svn.pythonpaste.org/package_index.html @@ -19,6 +20,7 @@ dest = docs/html modules = sqlobject exclude_modules = sqlobject.tests + sqlobject.inheritance.tests title = SQLObject mailing_list_url = http://sqlobject.org/community.html settings = normal_link_color=#039 |
|
From: <sub...@co...> - 2008-01-10 12:39:36
|
Author: phd Date: 2008-01-10 05:39:31 -0700 (Thu, 10 Jan 2008) New Revision: 3210 Modified: SQLObject/trunk/docs/News.txt Log: A bunch of releases. Modified: SQLObject/trunk/docs/News.txt =================================================================== --- SQLObject/trunk/docs/News.txt 2008-01-10 12:35:18 UTC (rev 3209) +++ SQLObject/trunk/docs/News.txt 2008-01-10 12:39:31 UTC (rev 3210) @@ -68,6 +68,8 @@ SQLObject 0.9.3 =============== +Released 10 Jan 2008. + * A number of changes ported from `SQLObject 0.7.10`_. SQLObject 0.9.2 @@ -154,6 +156,8 @@ SQLObject 0.8.7 =============== +Released 10 Jan 2008. + * A number of changes ported from `SQLObject 0.7.10`_. SQLObject 0.8.6 @@ -337,6 +341,8 @@ SQLObject 0.7.10 ================ +Released 10 Jan 2008. + * With PySQLite2 do not use encode()/decode() from PySQLite1 - always use base64 for BLOBs. |
|
From: <sub...@co...> - 2008-01-10 12:35:22
|
Author: phd Date: 2008-01-10 05:35:18 -0700 (Thu, 10 Jan 2008) New Revision: 3209 Modified: SQLObject/tags/0.9.3/setup.cfg SQLObject/tags/0.9.3/setup.py SQLObject/tags/0.9.3/sqlobject/__init__.py SQLObject/tags/0.9.3/sqlobject/main.py Log: SQLObject 0.9.3 released 10 Jan 2008. Modified: SQLObject/tags/0.9.3/setup.cfg =================================================================== --- SQLObject/tags/0.9.3/setup.cfg 2008-01-10 12:33:40 UTC (rev 3208) +++ SQLObject/tags/0.9.3/setup.cfg 2008-01-10 12:35:18 UTC (rev 3209) @@ -1,10 +1,6 @@ [easy_install] #find_links = http://svn.pythonpaste.org/package_index.html -[egg_info] -tag_build = dev -tag_svn_revision = true - [pudge] theme = pythonpaste.org docs = docs/index.txt docs/SQLObject.txt docs/TODO.txt Modified: SQLObject/tags/0.9.3/setup.py =================================================================== --- SQLObject/tags/0.9.3/setup.py 2008-01-10 12:33:40 UTC (rev 3208) +++ SQLObject/tags/0.9.3/setup.py 2008-01-10 12:35:18 UTC (rev 3209) @@ -28,7 +28,7 @@ """ setup(name="SQLObject", - version="0.9", + version="0.9.3", description="Object-Relational Manager, aka database wrapper", long_description="""\ SQLObject is a popular *Object Relational Manager* for providing an @@ -56,7 +56,7 @@ author="Ian Bicking", author_email="ia...@co...", url="http://sqlobject.org/devel/", - download_url="http://cheeseshop.python.org/pypi/SQLObject/0.9", + download_url="http://cheeseshop.python.org/pypi/SQLObject/0.9.3", license="LGPL", packages=["sqlobject"] + ['sqlobject.%s' % package for package in subpackages], scripts=["scripts/sqlobject-admin"], Modified: SQLObject/tags/0.9.3/sqlobject/__init__.py =================================================================== --- SQLObject/tags/0.9.3/sqlobject/__init__.py 2008-01-10 12:33:40 UTC (rev 3208) +++ SQLObject/tags/0.9.3/sqlobject/__init__.py 2008-01-10 12:35:18 UTC (rev 3209) @@ -1,5 +1,5 @@ """ -SQLObject 0.9 +SQLObject 0.9.3 """ from main import * Modified: SQLObject/tags/0.9.3/sqlobject/main.py =================================================================== --- SQLObject/tags/0.9.3/sqlobject/main.py 2008-01-10 12:33:40 UTC (rev 3208) +++ SQLObject/tags/0.9.3/sqlobject/main.py 2008-01-10 12:35:18 UTC (rev 3209) @@ -1,6 +1,6 @@ """ -SQLObject 0.9 -------------- +SQLObject 0.9.3 +--------------- :author: Ian Bicking <ia...@co...> |
|
From: <sub...@co...> - 2008-01-10 12:33:44
|
Author: phd Date: 2008-01-10 05:33:40 -0700 (Thu, 10 Jan 2008) New Revision: 3208 Added: SQLObject/tags/0.9.3/ Log: Tagging 0.9.3 Copied: SQLObject/tags/0.9.3 (from rev 3207, SQLObject/branches/0.9) |
|
From: <sub...@co...> - 2008-01-10 12:33:34
|
Author: phd
Date: 2008-01-10 05:33:31 -0700 (Thu, 10 Jan 2008)
New Revision: 3207
Modified:
SQLObject/branches/0.9/docs/News.txt
SQLObject/branches/0.9/setup.py
Log:
Releasing 0.9.3.
Modified: SQLObject/branches/0.9/docs/News.txt
===================================================================
--- SQLObject/branches/0.9/docs/News.txt 2008-01-10 12:29:56 UTC (rev 3206)
+++ SQLObject/branches/0.9/docs/News.txt 2008-01-10 12:33:31 UTC (rev 3207)
@@ -10,6 +10,8 @@
SQLObject 0.9.3
===============
+Released 10 Jan 2008.
+
* A number of changes ported from `SQLObject 0.7.10`_.
SQLObject 0.9.2
@@ -98,6 +100,8 @@
SQLObject 0.8.7
===============
+Released 10 Jan 2008.
+
* A number of changes ported from `SQLObject 0.7.10`_.
SQLObject 0.8.6
@@ -285,6 +289,8 @@
SQLObject 0.7.10
================
+Released 10 Jan 2008.
+
* With PySQLite2 do not use encode()/decode() from PySQLite1 - always use
base64 for BLOBs.
Modified: SQLObject/branches/0.9/setup.py
===================================================================
--- SQLObject/branches/0.9/setup.py 2008-01-10 12:29:56 UTC (rev 3206)
+++ SQLObject/branches/0.9/setup.py 2008-01-10 12:33:31 UTC (rev 3207)
@@ -28,7 +28,7 @@
"""
setup(name="SQLObject",
- version="0.9.2",
+ version="0.9",
description="Object-Relational Manager, aka database wrapper",
long_description="""\
SQLObject is a popular *Object Relational Manager* for providing an
@@ -56,7 +56,7 @@
author="Ian Bicking",
author_email="ia...@co...",
url="http://sqlobject.org/devel/",
- download_url="http://cheeseshop.python.org/pypi/SQLObject/0.9.2",
+ download_url="http://cheeseshop.python.org/pypi/SQLObject/0.9",
license="LGPL",
packages=["sqlobject"] + ['sqlobject.%s' % package for package in subpackages],
scripts=["scripts/sqlobject-admin"],
|
|
From: <sub...@co...> - 2008-01-10 12:30:01
|
Author: phd Date: 2008-01-10 05:29:56 -0700 (Thu, 10 Jan 2008) New Revision: 3206 Modified: SQLObject/tags/0.8.7/setup.cfg SQLObject/tags/0.8.7/setup.py SQLObject/tags/0.8.7/sqlobject/__init__.py SQLObject/tags/0.8.7/sqlobject/main.py Log: SQLObject 0.8.7 released 10 Jan 2008. Modified: SQLObject/tags/0.8.7/setup.cfg =================================================================== --- SQLObject/tags/0.8.7/setup.cfg 2008-01-10 12:27:56 UTC (rev 3205) +++ SQLObject/tags/0.8.7/setup.cfg 2008-01-10 12:29:56 UTC (rev 3206) @@ -1,10 +1,6 @@ [easy_install] #find_links = http://svn.pythonpaste.org/package_index.html -[egg_info] -tag_build = dev -tag_svn_revision = true - [pudge] theme = pythonpaste.org docs = docs/index.txt docs/SQLObject.txt docs/TODO.txt Modified: SQLObject/tags/0.8.7/setup.py =================================================================== --- SQLObject/tags/0.8.7/setup.py 2008-01-10 12:27:56 UTC (rev 3205) +++ SQLObject/tags/0.8.7/setup.py 2008-01-10 12:29:56 UTC (rev 3206) @@ -28,7 +28,7 @@ """ setup(name="SQLObject", - version="0.8", + version="0.8.7", description="Object-Relational Manager, aka database wrapper", long_description="""\ SQLObject is a popular *Object Relational Manager* for providing an @@ -56,7 +56,7 @@ author="Ian Bicking", author_email="ia...@co...", url="http://sqlobject.org/", - download_url="http://cheeseshop.python.org/pypi/SQLObject/0.8", + download_url="http://cheeseshop.python.org/pypi/SQLObject/0.8.7", license="LGPL", packages=["sqlobject"] + ['sqlobject.%s' % package for package in subpackages], scripts=["scripts/sqlobject-admin"], Modified: SQLObject/tags/0.8.7/sqlobject/__init__.py =================================================================== --- SQLObject/tags/0.8.7/sqlobject/__init__.py 2008-01-10 12:27:56 UTC (rev 3205) +++ SQLObject/tags/0.8.7/sqlobject/__init__.py 2008-01-10 12:29:56 UTC (rev 3206) @@ -1,5 +1,5 @@ """ -SQLObject 0.8 +SQLObject 0.8.7 """ from main import * Modified: SQLObject/tags/0.8.7/sqlobject/main.py =================================================================== --- SQLObject/tags/0.8.7/sqlobject/main.py 2008-01-10 12:27:56 UTC (rev 3205) +++ SQLObject/tags/0.8.7/sqlobject/main.py 2008-01-10 12:29:56 UTC (rev 3206) @@ -1,6 +1,6 @@ """ -SQLObject 0.8 -------------- +SQLObject 0.8.7 +--------------- :author: Ian Bicking <ia...@co...> |
|
From: <sub...@co...> - 2008-01-10 12:29:49
|
Author: phd
Date: 2008-01-10 05:16:45 -0700 (Thu, 10 Jan 2008)
New Revision: 3201
Modified:
SQLObject/branches/0.7/docs/News.txt
SQLObject/branches/0.7/setup.py
Log:
Releasing 0.7.10.
Modified: SQLObject/branches/0.7/docs/News.txt
===================================================================
--- SQLObject/branches/0.7/docs/News.txt 2008-01-10 00:36:30 UTC (rev 3200)
+++ SQLObject/branches/0.7/docs/News.txt 2008-01-10 12:16:45 UTC (rev 3201)
@@ -10,6 +10,8 @@
SQLObject 0.7.10
================
+Released 10 Jan 2008.
+
* With PySQLite2 do not use encode()/decode() from PySQLite1 - always use
base64 for BLOBs.
Modified: SQLObject/branches/0.7/setup.py
===================================================================
--- SQLObject/branches/0.7/setup.py 2008-01-10 00:36:30 UTC (rev 3200)
+++ SQLObject/branches/0.7/setup.py 2008-01-10 12:16:45 UTC (rev 3201)
@@ -19,7 +19,7 @@
DistributionMetadata.download_url = None
setup(name="SQLObject",
- version="0.7.9",
+ version="0.7",
description="Object-Relational Manager, aka database wrapper",
long_description="""\
SQLObject is a popular *Object Relational Manager* for providing an
@@ -52,7 +52,7 @@
author="Ian Bicking",
author_email="ia...@co...",
url="http://sqlobject.org",
- download_url="http://cheeseshop.python.org/pypi/SQLObject/0.7.9",
+ download_url="http://cheeseshop.python.org/pypi/SQLObject/0.7",
license="LGPL",
packages=["sqlobject"] + ['sqlobject.%s' % package for package in subpackages],
scripts=["scripts/sqlobject-admin"],
|
|
From: <sub...@co...> - 2008-01-10 12:28:11
|
Author: phd Date: 2008-01-10 05:27:56 -0700 (Thu, 10 Jan 2008) New Revision: 3205 Added: SQLObject/tags/0.8.7/ Log: Tagging 0.8.7 Copied: SQLObject/tags/0.8.7 (from rev 3204, SQLObject/branches/0.8) |