Skip to content
This repository has been archived by the owner on Mar 30, 2020. It is now read-only.

Commit

Permalink
version 0.10.1 released
Browse files Browse the repository at this point in the history
  • Loading branch information
orsinium committed May 12, 2018
1 parent a4e54f7 commit 86844a9
Show file tree
Hide file tree
Showing 4 changed files with 20 additions and 17 deletions.
30 changes: 16 additions & 14 deletions README.rst
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,17 @@ DjBurger
|Build Status| |Documentation| |PyPI version| |Status| |Code size|
|License|

**DjBurger** -- framework for big Django projects.
**DjBurger** -- framework for safe and maintainable web-projects.

What DjBurger do?

- Split Django views into steps for secure and clean code.
- Split Django views into
`steps <https://djburger.readthedocs.io/en/latest/philosophy.html#dataflow>`__
for secure and clean code.
- Provide built-in objects for all steps.
- Integrates this many side libraries like Django REST Framework and
Marshmallow.
- Integrates this `many side
libraries <https://djburger.readthedocs.io/en/latest/external.html>`__
like Django REST Framework and Marshmallow.

DjBurger doesn't depend on Django. You can use it in any projects if you
want.
Expand All @@ -35,16 +38,15 @@ Key principles
Dataflow
--------

1. **Decorators** (``d``). Feel free to use any side Django decorators
like ``csrf_exempt``.
2. **Parser** (``p``). Parse request body.
3. **PreValidator** (``prev``). Validate and clear request.
4. **PreRenderer** (``prer``). Render and return PreValidation errors.
5. **Controller** (``c``). Main logic: do some things.
6. **PostValidator** (``postv``). Validate and clear response.
7. **PostRenderer** (``postr``). Render and return PostValidation
errors.
8. **Renderer** (``r``). Render successful response.
1. **Decorators**. Feel free to use any side Django decorators like
``csrf_exempt``.
2. **Parser**. Parse request body.
3. **PreValidator**. Validate and clear request.
4. **PreRenderer**. Render and return PreValidation errors response.
5. **Controller**. Main logic: do some things.
6. **PostValidator**. Validate and clear response.
7. **PostRenderer**. Render and return PostValidation errors response.
8. **Renderer**. Render successful response.

.. figure:: wiki/source/imgs/scheme.png
:alt: Scheme
Expand Down
3 changes: 2 additions & 1 deletion djburger/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,15 @@

# main package info
__title__ = 'DjBurger'
__version__ = '0.9.0'
__version__ = '0.10.1'
__author__ = 'Gram Orsinium'
__license__ = 'LGPL 3.0'


# version synonym
VERSION = __version__


# built-in
from functools import partial # noQA

Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

setup(
name='djburger',
version='0.9.0',
version='0.10.1',

author='orsinium',
author_email='master_fess@mail.ru',
Expand Down
2 changes: 1 addition & 1 deletion wiki/source/changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

See [projects tab on Github](https://github.com/orsinium/djburger/projects) for roadmap.

### [v. 0.10.0](https://github.com/orsinium/djburger/releases/tag/0.10.0)
### [v. 0.10.1](https://github.com/orsinium/djburger/releases/tag/0.10.1)

* Long kwargs for rule function and subcontroller.
* Replaced aliases to long names into documentation, tests and examples.
Expand Down

0 comments on commit 86844a9

Please sign in to comment.