[04] Install Django App

摘要:[04] Install Django App

python manage.py startapp article #article =AppName
修改 settings.py 裡的 INSTALLED_APPS
#settings.py  
INSTALLED_APPS = (
    'django.contrib.auth',
    'django.contrib.contenttypes',
    'django.contrib.sessions',
    'django.contrib.sites',
    'django.contrib.messages',
    'django.contrib.staticfiles',
    # Uncomment the next line to enable the admin:
    # 'django.contrib.admin',
    # Uncomment the next line to enable admin documentation:
    # 'django.contrib.admindocs',
    'article',
)