X-Git-Url: https://git.mdrn.pl/redakcja.git/blobdiff_plain/e4722e5fe52bb4682bee8878bc24dcaaf557b591..3a211aa9d249e67425735f492407edbc2fd58a2f:/apps/explorer/models.py?ds=inline diff --git a/apps/explorer/models.py b/apps/explorer/models.py index 7e416a38..f867189f 100644 --- a/apps/explorer/models.py +++ b/apps/explorer/models.py @@ -28,3 +28,5 @@ def get_images_from_folder(folder): in os.listdir(os.path.join(settings.MEDIA_ROOT, settings.IMAGE_DIR, folder)) if not fn.startswith('.')) +def user_branch(user): + return 'personal_'+user.username