Skip to content

Commit

Permalink
Release 1.10.0
Browse files Browse the repository at this point in the history
Release 1.10.0
  • Loading branch information
schemen authored Feb 28, 2023
2 parents 4429397 + 7893470 commit 8644b64
Show file tree
Hide file tree
Showing 5 changed files with 15 additions and 3 deletions.
8 changes: 8 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# Changelog

## 1.10.0(2023-02-28)

### Feature
* Add 28mm option as base (907e4e3 @indero)

### Updates
* Update dependencies

## 1.9.2(2022-12-23)

### Fix
Expand Down
2 changes: 1 addition & 1 deletion paperminis/__init__.py
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
__version__ = '1.9.2'
__version__ = '1.10.0'
VERSION = __version__ # synonym
4 changes: 3 additions & 1 deletion paperminis/forms.py
Original file line number Diff line number Diff line change
Expand Up @@ -175,10 +175,12 @@ class QuickCreateSettingsForm(forms.Form):
(TABLOID, 'Tabloid')
)
# grid size
GRID28 = 28
GRID24 = 24
GRID18 = 18
GRID12 = 12
GRID_SIZE_CHOICES = (
(GRID28, '28 mm ~ 1.1 inch'),
(GRID24, '24 mm ~ 1 inch'),
(GRID18, '18 mm ~ 3/4 inch'),
(GRID12, '12 mm ~ 1/2 inch')
Expand All @@ -195,7 +197,7 @@ class QuickCreateSettingsForm(forms.Form):

# Print Settings
paper_format = forms.ChoiceField(choices=PAPER_FORMAT_CHOICES, required=True)
grid_size = forms.ChoiceField(choices=GRID_SIZE_CHOICES, required=True)
grid_size = forms.ChoiceField(choices=GRID_SIZE_CHOICES, required=True, initial=GRID24)
base_shape = forms.ChoiceField(choices=BASE_SHAPE_CHOICES, required=True)
enumerate = forms.BooleanField(required=False)

Expand Down
2 changes: 2 additions & 0 deletions paperminis/models.py
Original file line number Diff line number Diff line change
Expand Up @@ -185,10 +185,12 @@ class PrintSettings(models.Model):
(TABLOID, 'Tabloid')
)
# grid size
GRID28 = 28
GRID24 = 24
GRID18 = 18
GRID12 = 12
GRID_SIZE_CHOICES = (
(GRID28, '28 mm ~ 1.1 inch'),
(GRID24, '24 mm ~ 1 inch'),
(GRID18, '18 mm ~ 3/4 inch'),
(GRID12, '12 mm ~ 1/2 inch')
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
Django==3.2.16
Django==3.2.18
django-constrainedfilefield==4.0.0
django-widget-tweaks==1.4.12
fake-useragent==1.1.1
Expand Down

0 comments on commit 8644b64

Please sign in to comment.