Changeset fcf0ef3 in OpenWorkouts-current for ow/models


Ignore:
Timestamp:
Sep 30, 2019, 12:16:24 PM (5 years ago)
Author:
Borja Lopez <borja@…>
Branches:
current
Children:
715671f
Parents:
dba0ae9
Message:

(#77) Bulk workouts upload:

  • Added a new Folder-like object under the root object to store compressed files
  • Added a new Blob-like object to store those compressed files into the database
  • Added the needed view/template code to handle adding/uploading compressed files that may contain workout tracking files + a page to see them per-user
Location:
ow/models
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • ow/models/__init__.py

    rdba0ae9 rfcf0ef3  
    22
    33from ow.models.root import OpenWorkouts
     4from ow.models.bulk import BulkFiles
    45from ow.catalog import get_catalog
    56
     
    89    if 'app_root' not in zodb_root:
    910        app_root = OpenWorkouts()
     11        app_root['_bulk_files'] = BulkFiles()
    1012        zodb_root['app_root'] = app_root
    1113        transaction.commit()
Note: See TracChangeset for help on using the changeset viewer.