-
Notifications
You must be signed in to change notification settings - Fork 26
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #13 from moshthepitt/issue-4
Add staff photo
- Loading branch information
Showing
13 changed files
with
485 additions
and
202 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
""" | ||
Main init file for small_small_hr | ||
""" | ||
VERSION = (0, 0, 7) | ||
VERSION = (0, 0, 8) | ||
__version__ = '.'.join(str(v) for v in VERSION) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# Generated by Django 2.0.7 on 2018-07-22 15:08 | ||
|
||
from django.db import migrations | ||
import private_storage.fields | ||
import private_storage.storage.files | ||
import sorl.thumbnail.fields | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('small_small_hr', '0001_initial'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='staffprofile', | ||
name='image', | ||
field=sorl.thumbnail.fields.ImageField( | ||
blank=True, | ||
help_text='A square image works best', | ||
max_length=255, | ||
upload_to='staff-images/', | ||
verbose_name='Profile Image'), | ||
), | ||
migrations.AlterField( | ||
model_name='staffdocument', | ||
name='file', | ||
field=private_storage.fields.PrivateFileField( | ||
help_text='Upload staff member document', | ||
storage=private_storage.storage.files.PrivateFileSystemStorage( | ||
), | ||
upload_to='staff-documents/', | ||
verbose_name='File'), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
# Generated by Django 2.0.7 on 2018-07-25 16:38 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('small_small_hr', '0002_auto_20180722_1808'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='staffdocument', | ||
name='public', | ||
field=models.BooleanField( | ||
default=False, | ||
help_text='If public, it will be available to everyone.', | ||
verbose_name='Public'), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.