~widelands-dev/widelands-website/trunk

« back to all changes in this revision

Viewing changes to manage.py

  • Committer: franku
  • Date: 2016-12-13 18:28:51 UTC
  • mto: This revision was merged to the branch mainline in revision 443.
  • Revision ID: somal@arcor.de-20161213182851-bo5ebf8pdvw5beua
run the script

Show diffs side-by-side

added added

removed removed

Lines of Context:
2
2
import os
3
3
import sys
4
4
 
5
 
if __name__ == "__main__":
6
 
    os.environ.setdefault("DJANGO_SETTINGS_MODULE", "settings")
 
5
if __name__ == '__main__':
 
6
    os.environ.setdefault('DJANGO_SETTINGS_MODULE', 'settings')
7
7
 
8
8
    from django.core.management import execute_from_command_line
9
9