app/django/bin/django-admin.py
author Sverre Rabbelier <sverre@rabbelier.nl>
Sat, 06 Jun 2009 20:29:09 +0200
changeset 2404 4f87bab3c6b3
parent 54 03e267d67478
permissions -rwxr-xr-x
Remove getCallback indirection in modules Instead, assume that the imported module contains the Callback class that was previously returned by getCallback. This is done to prevent a circular import (caused by the __init__ importing a submodule).

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

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