Skip to content

Commit f3ed2f1

Browse files
author
Peter Kuma
committed
Add "(MB)" to item_limit and store_limit desc.
It is not clear what units the values are in.
1 parent 51e93b3 commit f3ed2f1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

fileshack/models.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -33,8 +33,8 @@ class Store(Model):
3333
path = CharField(_("path"), help_text=_("Path relative to the base URL under which the store is accessible. Leave empty if not sure."), unique=True, blank=True, max_length=200)
3434
media = CharField(_("media"), help_text=_("Directiory under MEDIA_PATH into which files will be uploaded. Leave empty if not sure."), blank=True, max_length=200)
3535
accesscode = CharField(_("access code"), help_text=_("Protect access to the store by an access code."), max_length=200, blank=True)
36-
item_limit = IntegerField(_("item size limit"), help_text=_("Limit the size of a single file."), default=0)
37-
store_limit = IntegerField(_("store size limit"), help_text=_("Limit the size of the entire store."), default=0)
36+
item_limit = IntegerField(_("item size limit"), help_text=_("Limit the size of a single file (MB)."), default=0)
37+
store_limit = IntegerField(_("store size limit"), help_text=_("Limit the size of the entire store (MB)."), default=0)
3838
protect_files = BooleanField(_("protect files"), help_text=_("Protect files by a random string, so that they cannot be downloaded by guessing their name."), default=True)
3939

4040
def __unicode__(self):

0 commit comments

Comments
 (0)