Skip to content

Commit

Permalink
Updated README #36
Browse files Browse the repository at this point in the history
  • Loading branch information
LukasRychtecky committed Jan 27, 2017
1 parent 636581f commit b0ab63f
Showing 1 changed file with 14 additions and 0 deletions.
14 changes: 14 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,6 +54,20 @@ Maximum upload size can be specified in project settings under `MAX_FILE_UPLOAD_

`django.db.models.CharField` that stores `NULL` but returns ''.

#### `chamber.models.fields.PriceField`

`chamber.models.fields.DecimalField` with defaults:

- `currency` as `CZK`
- `decimal_places` as `2`
- `max_digits` as `10`
- `humanized` value for a pretty printing via `chamber.models.humanized_helpers.price_humanized`

#### `chamber.models.fields.PositivePriceField`

`chamber.models.fields.PriceField` with a default `django.core.validators.MinValueValidator` set to `0.00`.


### 3. SmartQuerySet `chamber.models.SmartQuerySet`
SmartModel introduced to Chamber uses by default a modified QuerySet with some convenience filters.

Expand Down

0 comments on commit b0ab63f

Please sign in to comment.