app/django/bin/django-admin.py
author Madhusudan.C.S <madhusudancs@gmail.com>
Sat, 22 Aug 2009 03:44:13 +0530
changeset 2781 8f6c0a5a7491
parent 54 03e267d67478
permissions -rwxr-xr-x
program_logic is passed as a parameter to three checkers than hard coding it. program_logic is added as a parameter to checkIsActivePeriod checkCanCreateOrgApp checkIsNotParticipatingInProgramInScope access check methods and the corresponding arguments are added in all the places they are used.

#!/usr/bin/env python
from django.core import management

if __name__ == "__main__":
    management.execute_from_command_line()