summaryrefslogtreecommitdiff
path: root/examples/versioning
Commit message (Collapse)AuthorAgeFilesLines
* - start reworking examples to include more code from the wiki.Mike Bayer2013-11-293-739/+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-093-0/+6
| | | | | | | | | 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-073-99/+81
| | | | | | 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
* Made primary_key autoincrement=False in versioning example.Patrick R. Schmid2013-07-311-3/+3
|
* 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-152-3/+42
| | | | 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-273-20/+20
| | | | - went through examples/ and cleaned out excess list() calls
* modernize some more examplesMike Bayer2013-04-271-4/+7
|
* whack more long lines in very old docstringsMike Bayer2013-02-021-2/+3
|
* -whitespace bonanza, contdMike Bayer2012-07-283-15/+15
|
* trailing whitespace bonanzaMike Bayer2012-07-281-1/+1
|
* - [feature] Simplified the versioning exampleMike Bayer2012-01-223-43/+28
| | | | | | 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-172-1/+7
| | | | | | 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-164-7/+104
| | | | | | | | | | | 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-023-74/+74
|
* - merge versioning example fix from 0.6Mike Bayer2010-12-202-12/+73
|
* [ticket:1966] implementationMike Bayer2010-11-151-1/+1
|
* - the versioning example works correctly nowMike Bayer2010-09-052-5/+20
| | | | | if versioning on a col that was formerly NULL.
* - mapper _get_col_to_prop private method usedMike Bayer2010-09-051-2/+4
| | | | | | | | by the versioning example is deprecated; now use mapper.get_property_by_column() which will remain the public method for this. - turned TODO in the history example into an assertion with a descriptive reason
* - the history_meta versioning recipe sets "unique=False"Mike Bayer2010-08-232-2/+25
| | | | | | when copying columns, so that the versioning table handles multiple rows with repeating values. [ticket:1887]
* - modernizing examplesMike Bayer2010-08-082-6/+13
|
* - mega example cleanupMike Bayer2010-01-193-0/+479
- 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