mirror of
https://gitlab.com/animath/si/plateforme.git
synced 2024-12-25 06:22:22 +00:00
Move apps in main directory
Signed-off-by: Emmy D'Anello <emmy.danello@animath.fr>
This commit is contained in:
parent
2a545dae10
commit
1d81213773
File diff suppressed because it is too large
Load Diff
0
participation/management/__init__.py
Normal file
0
participation/management/__init__.py
Normal file
@ -30,7 +30,7 @@ class Command(BaseCommand):
|
|||||||
else:
|
else:
|
||||||
stat_file = os.stat("tfjm/static/logo.png")
|
stat_file = os.stat("tfjm/static/logo.png")
|
||||||
with open("tfjm/static/logo.png", "rb") as f:
|
with open("tfjm/static/logo.png", "rb") as f:
|
||||||
resp = (await Matrix.upload(f, filename="logo.png", content_type="image/png",
|
resp = (await Matrix.upload(f, filename="../../../tfjm/static/logo.png", content_type="image/png",
|
||||||
filesize=stat_file.st_size))[0][0]
|
filesize=stat_file.st_size))[0][0]
|
||||||
avatar_uri = resp.content_uri
|
avatar_uri = resp.content_uri
|
||||||
with open(".matrix_avatar", "w") as f:
|
with open(".matrix_avatar", "w") as f:
|
@ -3,7 +3,6 @@
|
|||||||
import datetime
|
import datetime
|
||||||
import django.core.validators
|
import django.core.validators
|
||||||
from django.db import migrations, models
|
from django.db import migrations, models
|
||||||
import django.db.models.deletion
|
|
||||||
import django.utils.timezone
|
import django.utils.timezone
|
||||||
import participation.models
|
import participation.models
|
||||||
|
|
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user