|
|
@ -104,6 +104,7 @@ def list(username): |
|
|
|
all_teachers = [i for i, in db.session.query(Paper.teacher.distinct()).all()] |
|
|
|
all_years = [i for i, in db.session.query(Paper.year.distinct()).all()] |
|
|
|
ipfs_version = hashlib.sha256(C.ipfs_base_url.encode('utf-8')).hexdigest() |
|
|
|
disable_upload = not C.allow_guest_upload and username.startswith('guest~') |
|
|
|
return render_template('list.html', **locals()) |
|
|
|
|
|
|
|
def check_length(x, limit=30, allow_null=False): |
|
|
|