Skip to content

Commit 1441084

Browse files
committed
auto populate sdg from shell
1 parent f857e3e commit 1441084

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

populate_sdgs.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -128,5 +128,5 @@ def populate_sdgs() -> None:
128128
)
129129

130130

131-
if __name__ == "__main__":
132-
populate_sdgs()
131+
# Auto-execute when loaded in Django shell
132+
populate_sdgs()

0 commit comments

Comments
 (0)