[Podcasts] check for episode history in Django ORM
[mygpo.git] / manage.py
blob876c69dda28163b5708afc0399d92d1869061368
1 #!/usr/bin/env python
3 # This file is part of my.gpodder.org.
5 # my.gpodder.org is free software: you can redistribute it and/or modify it
6 # under the terms of the GNU Affero General Public License as published by
7 # the Free Software Foundation, either version 3 of the License, or (at your
8 # option) any later version.
10 # my.gpodder.org is distributed in the hope that it will be useful, but
11 # WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
12 # or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Affero General Public
13 # License for more details.
15 # You should have received a copy of the GNU Affero General Public License
16 # along with my.gpodder.org. If not, see <http://www.gnu.org/licenses/>.
19 import os
20 import sys
22 if __name__ == "__main__":
23 os.environ.setdefault("DJANGO_SETTINGS_MODULE", "mygpo.settings")
25 from django.core.management import execute_from_command_line
26 execute_from_command_line(sys.argv)