app/django/bin/django-admin.py
author Todd Larsen <tlarsen@google.com>
Sat, 30 Aug 2008 02:54:22 +0000
changeset 125 155f43a0fa68
parent 54 03e267d67478
permissions -rwxr-xr-x
An emerging pattern with makeSiblingTemplatesList() is that views calling that function then append a known, default template "just in case". This change adds a default_template parameter to makeSiblingTemplatesList() to eliminate the extra "append a known default to the end" step for the caller. Patch by: Todd Larsen Review by: to-be-reviewed

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

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