Skip to content

Commit

Permalink
Merge pull request #8 from omelched/develop
Browse files Browse the repository at this point in the history
v0.1.3
  • Loading branch information
omelched authored Sep 20, 2021
2 parents 0d08823 + 4ff3a0c commit 9f8e40d
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
# ognajD<sup><sup>_v0.1.2_</sup></sup>
# ognajD<sup><sup>_v0.1.3_</sup></sup>

Django app which handles ORM objects' versions.

Expand All @@ -11,7 +11,7 @@ work with "little-to-no" configuring and changes to Django project.
### Features
**ognajd** stores objects' versions in own table, relied on `contenttypes` application.

**ognajD** @ [v0.1.2](https://github.com/omelched/django-ognajd/releases/tag/v0.1.2) can:
**ognajD** @ [v0.1.3](https://github.com/omelched/django-ognajd/releases/tag/v0.1.3) can:

- catch object's save / update signals
- store snapshot of object in DB with:
Expand Down
4 changes: 2 additions & 2 deletions ognajd/models/version.py
Original file line number Diff line number Diff line change
Expand Up @@ -199,8 +199,8 @@ def copy_placeholder_methods(ns):
for name, method in [t for t in inspect.getmembers(VersionAttrPlaceholder, lambda m: inspect.ismethod(m))
if not t[0].startswith('_')]:
ns[name] = types.MethodType(method, Version)
ns['__module__'] = __name__
ns['__qualname__'] = 'Version'
ns['__module__'] = __name__
ns['__qualname__'] = 'Version'

VersionModelPlacepolder['version'] = types.new_class(
'Version',
Expand Down
2 changes: 1 addition & 1 deletion setup.cfg
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[metadata]
name = django-ognajd
version = 0.1.2
version = 0.1.3
description = Django app which handles ORM objects' versions.
long_description = file: README.md
long_description_content_type = text/markdown
Expand Down

0 comments on commit 9f8e40d

Please sign in to comment.