Merge branch 'bump-ver' into 'master'
[mailman-postorious.git] / example_project / manage.py
blob4966b99b30f2ad9cfcc7211ab689f9528cdc448c
1 #!/usr/bin/env python3
2 # -*- coding: utf-8 -*-
3 # Copyright (C) 1998-2023 by the Free Software Foundation, Inc.
5 # This file is part of Postorius.
7 # Postorius is free software: you can redistribute it and/or modify it under
8 # the terms of the GNU General Public License as published by the Free
9 # Software Foundation, either version 3 of the License, or (at your option)
10 # any later version.
12 # Postorius is distributed in the hope that it will be useful, but WITHOUT
13 # ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or
14 # FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for
15 # more details.
17 # You should have received a copy of the GNU General Public License along with
18 # Postorius. If not, see <http://www.gnu.org/licenses/>.
19 import os
20 import sys
23 if __name__ == '__main__':
24 os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'settings')
26 from django.core.management import execute_from_command_line
28 execute_from_command_line(sys.argv)