2 # -*- coding: utf-8 -*-
3 # Copyright (C) 1998-2018 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)
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
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/>.
22 if __name__
== "__main__":
23 os
.environ
.setdefault("DJANGO_SETTINGS_MODULE", "settings")
25 from django
.core
.management
import execute_from_command_line
27 execute_from_command_line(sys
.argv
)