1. Install:
Install Django correctly,
Start a new project by django-admin.py startproject
,
Uncomment the following tow lines in /urls.py:
from django.contrib import admin
admin.autodiscover()
Uncomment the following line in /urls.py:
(r'^admin/(.*)', admin.site.root),
Add a new item to INSTALLED_APPS in /settings.py:
'django.contrib.admin',
/manage.py syncdb
2. Language:
/settings.py:
TIME_ZONE
LANGUAGE_CODE
阅读(387) | 评论(0) | 转发(0) |