Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Websites UFRPE
Django Private Storage
Commits
3dbf66fc
Commit
3dbf66fc
authored
Sep 06, 2018
by
surfer190
Browse files
Fix spelling error
parent
ba8daf88
Changes
1
Hide whitespace changes
Inline
Side-by-side
private_storage/fields.py
View file @
3dbf66fc
...
@@ -32,7 +32,7 @@ class PrivateFileField(models.FileField):
...
@@ -32,7 +32,7 @@ class PrivateFileField(models.FileField):
"""
"""
default_error_messages
=
{
default_error_messages
=
{
'invalid_file_type'
:
_
(
'File type not supported.'
),
'invalid_file_type'
:
_
(
'File type not supported.'
),
'file_too_large'
:
_
(
'The file may not be larger th
e
n {max_size}.'
),
'file_too_large'
:
_
(
'The file may not be larger th
a
n {max_size}.'
),
}
}
def
__init__
(
self
,
*
args
,
**
kwargs
):
def
__init__
(
self
,
*
args
,
**
kwargs
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment