- xml_file = models.FileField(upload_to="catalogue/lesson/xml",
- null=True, blank=True, max_length=255)
- html_file = models.FileField(upload_to="catalogue/lesson/html",
- null=True, blank=True, max_length=255)
- package = models.FileField(upload_to="catalogue/lesson/pack",
- null=True, blank=True, max_length=255)
- student_package = models.FileField(upload_to="catalogue/lesson/student_pack",
- null=True, blank=True, max_length=255)
- pdf = models.FileField(upload_to="catalogue/lesson/pdf",
- null=True, blank=True, max_length=255)
- student_pdf = models.FileField(upload_to="catalogue/lesson/student_pdf",
- null=True, blank=True, max_length=255)
+ xml_file = models.FileField(
+ upload_to="catalogue/lesson/xml",
+ null=True, blank=True, max_length=255, storage=bofh_storage)
+ html_file = models.FileField(
+ upload_to="catalogue/lesson/html",
+ null=True, blank=True, max_length=255, storage=bofh_storage)
+ package = models.FileField(
+ upload_to="catalogue/lesson/pack",
+ null=True, blank=True, max_length=255, storage=bofh_storage)
+ student_package = models.FileField(
+ upload_to="catalogue/lesson/student_pack",
+ null=True, blank=True, max_length=255, storage=bofh_storage)
+ pdf = models.FileField(
+ upload_to="catalogue/lesson/pdf",
+ null=True, blank=True, max_length=255, storage=bofh_storage)
+ student_pdf = models.FileField(
+ upload_to="catalogue/lesson/student_pdf",
+ null=True, blank=True, max_length=255, storage=bofh_storage)