mirror of
https://github.com/django/django.git
synced 2025-07-04 01:39:20 +00:00
i18n: startproject still did create the settings directory with admin.py setting - leftover from before the admin move. fixed.
git-svn-id: http://code.djangoproject.com/svn/django/branches/i18n@1015 bcc190cf-cafb-0310-a4f2-bffc1f526a37
This commit is contained in:
parent
ec56b7241d
commit
30b857649d
@ -1,19 +0,0 @@
|
|||||||
# Django settings for {{ project_name }} project admin site.
|
|
||||||
|
|
||||||
from main import *
|
|
||||||
|
|
||||||
TEMPLATE_DIRS = (
|
|
||||||
# Put strings here, like "/home/html/django_templates".
|
|
||||||
)
|
|
||||||
ROOT_URLCONF = '{{ project_name }}.settings.urls.admin'
|
|
||||||
MIDDLEWARE_CLASSES = (
|
|
||||||
'django.middleware.sessions.SessionMiddleware',
|
|
||||||
'django.middleware.admin.AdminUserRequired',
|
|
||||||
'django.middleware.common.CommonMiddleware',
|
|
||||||
'django.middleware.locale.LocaleMiddleware',
|
|
||||||
)
|
|
||||||
|
|
||||||
# URL prefix for admin media -- CSS, JavaScript and images. Make sure to use a
|
|
||||||
# trailing slash.
|
|
||||||
# Examples: "http://foo.com/media/", "/media/".
|
|
||||||
ADMIN_MEDIA_PREFIX = '/media/'
|
|
Loading…
x
Reference in New Issue
Block a user