Skip to content

Commit e54dd69

Browse files
committed
fix: Readme
1 parent 38b8f58 commit e54dd69

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

README.md

+3-1
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,11 @@
1010
[![](https://img.shields.io/github/actions/workflow/status/quertenmont/django-sequencefield/test-package.yml?branch=main&label=build&logo=github)](https://github.com/quertenmont/django-sequencefield)
1111
[![](https://img.shields.io/codecov/c/gh/quertenmont/django-sequencefield?logo=codecov)](https://codecov.io/gh/quertenmont/django-sequencefield)
1212
[![](https://img.shields.io/codacy/grade/194566618f424a819ce43450ea0af081?logo=codacy)](https://www.codacy.com/app/quertenmont/django-sequencefield)
13-
[![](https://img.shields.io/codeclimate/maintainability/quertenmont/django-sequencefield?logo=code-climate)](https://codeclimate.com/github/quertenmont/django-sequencefield/)
1413
[![](https://img.shields.io/badge/code%20style-black-000000.svg?logo=python&logoColor=black)](https://github.com/psf/black)
1514
[![](https://img.shields.io/endpoint?url=https://raw.githubusercontent.com/astral-sh/ruff/main/assets/badge/v2.json)](https://github.com/astral-sh/ruff)
1615

16+
17+
1718
# sequencefield
1819
simple model field taking it's value from a postgres sequence. This is an easy replacement for django autofield offering the following advantages:
1920
- Sequence could be shared among multiple models (db tables), so you can now have unique id among multiple django models
@@ -85,6 +86,7 @@ class AlphaNumericSequenceModel(models.Model):
8586
start=1,
8687
)
8788
]
89+
```
8890

8991
### Advance Example
9092
Just add a sequence field(s) to your models like this:

sequencefield/metadata.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@
1010
__email__ = "[email protected]"
1111
__license__ = "MIT"
1212
__title__ = "django-sequencefield"
13-
__version__ = "1.0.10"
13+
__version__ = "1.0.11"

0 commit comments

Comments
 (0)