Skip to content

Commit

Permalink
fix changelog
Browse files Browse the repository at this point in the history
  • Loading branch information
sfermigier committed Apr 12, 2018
1 parent 665998f commit 722f374
Show file tree
Hide file tree
Showing 2 changed files with 23 additions and 18 deletions.
12 changes: 7 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,8 @@ The detailed documentation for this project is hosted on [ReadTheDocs](http://bl

## Changelog

* 0.4.4: SQL backend: Do not coerce server_default values via a CAST, as this can cause incompatibilities.
* 0.4.3: Many small improvements to the SQL backend.
* 0.3.0: Fully functional SQL backend.
* 0.2.12: Added support for proper attribute iteration to `Document`.
* 0.2.11: Allow setting the `collection` parameter through a `Document.Meta` attribute.
Expand All @@ -63,7 +65,7 @@ The detailed documentation for this project is hosted on [ReadTheDocs](http://bl

## Contributors (in alphabetical order)

* @bwiessneth
* @bwiessneth
* Florian Lehmann - @cashaddy
* Karskrin - @cBrauge
* Chris Mutel - @cmutel
Expand Down Expand Up @@ -99,7 +101,7 @@ from blitzdb import Document

class Movie(Document):
pass

class Actor(Document):
pass

Expand All @@ -120,15 +122,15 @@ the_godfather.save(backend)
marlon_brando.save(backend)
al_pacino.save(backend)
```

### Retrieving objects from the database:

```python
the_godfather = backend.get(Movie,{'pk':1L})
#or...
the_godfather = backend.get(Movie,{'name' : 'The Godfather'})
```

### Filtering objects

```python
Expand All @@ -145,7 +147,7 @@ backend.rollback() #undo the changes...
```

### Creating nested object references

```python
the_godfather.cast = {'Don Vito Corleone' : marlon_brando, 'Michael Corleone' : al_pacino}

Expand Down
29 changes: 16 additions & 13 deletions setup.py
Original file line number Diff line number Diff line change
@@ -1,19 +1,8 @@
from distutils.core import setup
from setuptools import find_packages

setup(
name='blitzdb',
version='0.4.4',
author='Andreas Dewes - 7scientists',
author_email='[email protected]',
license='MIT',
entry_points={},
url='https://github.com/adewes/blitzdb',
packages=find_packages(),
install_requires=['six'],
zip_safe=False,
description='A document-oriented database written purely in Python.',
long_description="""Blitz is a document-oriented database toolkit for Python that is backend-agnostic.
LONG_DESCRIPTION = """\
Blitz is a document-oriented database toolkit for Python that is backend-agnostic.
It comes with a flat-file database for JSON documents and provides MongoDB-like querying capabilities.
Expand Down Expand Up @@ -73,4 +62,18 @@
* 0.1.2: Small bugfixes, BlitzDB version number now contained in DB config dict
* 0.1.1: BlitzDB is now Python3 compatible (thanks to David Koblas)
"""

setup(
name='blitzdb',
version='0.4.4',
author='Andreas Dewes - 7scientists',
author_email='[email protected]',
license='MIT',
entry_points={},
url='https://github.com/adewes/blitzdb',
packages=find_packages(),
install_requires=['six'],
zip_safe=False,
description='A document-oriented database written purely in Python.',
long_description=LONG_DESCRIPTION,
)

0 comments on commit 722f374

Please sign in to comment.