summaryrefslogtreecommitdiff
path: root/examples/versioning/test_versioning.py
Commit message (Collapse)AuthorAgeFilesLines
* - start reworking examples to include more code from the wiki.Mike Bayer2013-11-291-490/+0
| | | | | - add the other versioning examples from the wiki - modernize the dictlike examples
* - add a new sphinx extension "viewsource". takes advantage of part of the ↵Mike Bayer2013-11-091-0/+2
| | | | | | | | | viewcode extension to allow ad-hoc display of the source of any file, as well as a "directory listing" structure. - reorganize examples/ to take advantage of new extension. in particular, keep moving all the descriptive text for files etc. into module docstrings, taking more advantage of self-documentation.
* - add proof of concept for versioning, [ticket:2861]Mike Bayer2013-11-081-1/+31
|
* - Fixed bug which prevented history_meta recipe from working withMike Bayer2013-11-071-2/+79
| | | | | | joined inheritance schemes more than one level deep. - don't need to use _lib.py here anymore now that these features are in sqlalchemy.testing
* - changelogMike Bayer2013-08-171-26/+26
| | | | - clean up these tests to not use globals so much, close out the session
* Forgot final check that a delete in a backref also doesn't create a new versionMatt Chisholm2013-06-171-0/+3
| | | | follow up to https://bitbucket.org/zzzeek/sqlalchemy/pull-request/2
* don't create a history entry when an object in a backref has changedMatt Chisholm2013-06-151-1/+36
| | | | The code that determines whether an object in a relation has been added/removed does not take into account that that relation may be a backref. If the relation is a backref, then nothing on the current table is changing, and therefore no history entry should be created.
* - the raw 2to3 runMike Bayer2013-04-271-18/+18
| | | | - went through examples/ and cleaned out excess list() calls
* modernize some more examplesMike Bayer2013-04-271-4/+7
|
* -whitespace bonanza, contdMike Bayer2012-07-281-9/+9
|
* - [feature] Simplified the versioning exampleMike Bayer2012-01-221-5/+3
| | | | | | a bit to use a declarative mixin as well as an event listener, instead of a metaclass + SessionExtension. [ticket:2313]
* - Fixed bug in history_meta.py example whereMike Bayer2011-10-171-1/+6
| | | | | | the "unique" flag was not removed from a single-table-inheritance subclass which generates columns to put up onto the base.
* - Repaired the examples/versioning test runnerMike Bayer2011-06-161-5/+5
| | | | | | | | | | | to not rely upon SQLAlchemy test libs, nosetests must be run from within examples/versioning to get around setup.cfg breaking it. - Tweak to examples/versioning to pick the correct foreign key in a multi-level inheritance situation.
* - remove test.sql._base, test.engine._base, test.orm._base, move those ↵Mike Bayer2011-03-271-1/+1
| | | | | | | classes to a new test.lib.fixtures module - move testing.TestBase to test.lib.fixtures - massive search and replace
* - whitespace removal bonanzaMike Bayer2011-01-021-50/+50
|
* - merge versioning example fix from 0.6Mike Bayer2010-12-201-11/+62
|
* [ticket:1966] implementationMike Bayer2010-11-151-1/+1
|
* - the versioning example works correctly nowMike Bayer2010-09-051-2/+17
| | | | | if versioning on a col that was formerly NULL.
* - the history_meta versioning recipe sets "unique=False"Mike Bayer2010-08-231-0/+23
| | | | | | when copying columns, so that the versioning table handles multiple rows with repeating values. [ticket:1887]
* - mega example cleanupMike Bayer2010-01-191-0/+248
- added READMEs to all examples in each __init__.py and added to sphinx documentation - added versioning example - removed vertical/vertical.py, the dictlikes are more straightforward