mirror of
https://github.com/lemeow125/StudE-Backend.git
synced 2025-06-28 16:25:44 +08:00
Polished postmigration scripts
This commit is contained in:
parent
80f8aa5d66
commit
97374442f7
2 changed files with 3 additions and 3 deletions
|
@ -88,7 +88,7 @@ def populate_subjects(sender, **kwargs):
|
|||
csv_file_path = os.path.join(root_path, csv_file)
|
||||
# Filename contains course of subjects
|
||||
filename = os.path.splitext(csv_file)[0]
|
||||
print('Reading subjects from', filename)
|
||||
print('---', 'Adding Subjects from', filename, '---')
|
||||
with open(csv_file_path, newline='') as csvfile:
|
||||
|
||||
reader = csv.reader(csvfile)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue