-from explorer import forms, models
-from toolbar import models as toolbar_models
-
-from django.forms.util import ErrorList
-
-import wlrepo
-
-#
-# Some useful decorators
-
-def file_branch(fileid, user=None):
- parts = fileid.split('$')
- return ('personal_'+ user.username + '_' if user is not None else '') \
- + 'file_' + parts[0]
-
-def file_path(fileid):
- return 'pub_'+fileid+'.xml'