From 2bae1766f3470524798da327d812f69de465ffe7 Mon Sep 17 00:00:00 2001 From: Dmitry Trofimov Date: Thu, 20 Jan 2011 16:02:49 +0300 Subject: [PATCH] Added template_name reference to Django 1.3 views classes and as_view method. --- .../django/conf/project_template/manage.py | 11 ----------- 1 file changed, 11 deletions(-) delete mode 100644 python/lib/Lib/site-packages/django/conf/project_template/manage.py diff --git a/python/lib/Lib/site-packages/django/conf/project_template/manage.py b/python/lib/Lib/site-packages/django/conf/project_template/manage.py deleted file mode 100644 index 5e78ea979ea3..000000000000 --- a/python/lib/Lib/site-packages/django/conf/project_template/manage.py +++ /dev/null @@ -1,11 +0,0 @@ -#!/usr/bin/env python -from django.core.management import execute_manager -try: - import settings # Assumed to be in the same directory. -except ImportError: - import sys - sys.stderr.write("Error: Can't find the file 'settings.py' in the directory containing %r. It appears you've customized things.\nYou'll have to run django-admin.py, passing it your settings module.\n(If the file settings.py does indeed exist, it's causing an ImportError somehow.)\n" % __file__) - sys.exit(1) - -if __name__ == "__main__": - execute_manager(settings)