├── .gitignore ├── It's django 範例碼使用指南.pdf ├── LICENSE ├── README.md ├── cover.jpg ├── mysite ├── bank │ ├── __init__.py │ ├── actions.py │ ├── admin.py │ ├── migrations │ │ ├── 0001_initial.py │ │ └── __init__.py │ ├── models.py │ ├── tests.py │ └── views.py ├── configs │ ├── apache2 │ │ ├── 000-default.conf │ │ └── 000-default_with_ssl.conf │ ├── nginx │ │ ├── default │ │ └── default_with_ssl │ └── uwsgi │ │ ├── apt │ │ ├── mysite.ini │ │ └── uwsgi.conf │ │ └── pip │ │ ├── mysite.ini │ │ └── uwsgi.conf ├── manage.py ├── mysite │ ├── __init__.py │ ├── settings.py │ ├── tests.py │ ├── urls.py │ ├── views.py │ └── wsgi.py ├── restaurants │ ├── __init__.py │ ├── admin.py │ ├── forms.py │ ├── migrations │ │ ├── 0001_initial.py │ │ ├── 0002_auto_20141210_1828.py │ │ ├── 0003_comment.py │ │ ├── 0004_auto_20141216_1211.py │ │ └── __init__.py │ ├── models.py │ ├── permissions.py │ ├── templates │ │ ├── comments.html │ │ ├── menu.html │ │ └── restaurants_list.html │ ├── templatetags │ │ ├── __init__.py │ │ └── myfilters.py │ ├── tests.py │ └── views.py ├── templates │ ├── base.html │ ├── index.html │ ├── math.html │ ├── register.html │ ├── registration │ │ ├── logged_out.html │ │ └── login.html │ └── welcome.html └── zoo │ ├── __init__.py │ ├── admin.py │ ├── fixtures │ └── dog.json │ ├── migrations │ ├── 0001_initial.py │ └── __init__.py │ ├── models.py │ ├── tests.py │ └── views.py └── requirements.txt /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/its-django/mysite/HEAD/.gitignore -------------------------------------------------------------------------------- /It's django 範例碼使用指南.pdf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/its-django/mysite/HEAD/It's django 範例碼使用指南.pdf -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/its-django/mysite/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/its-django/mysite/HEAD/README.md -------------------------------------------------------------------------------- /cover.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/its-django/mysite/HEAD/cover.jpg -------------------------------------------------------------------------------- /mysite/bank/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /mysite/bank/actions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/its-django/mysite/HEAD/mysite/bank/actions.py -------------------------------------------------------------------------------- /mysite/bank/admin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/its-django/mysite/HEAD/mysite/bank/admin.py -------------------------------------------------------------------------------- /mysite/bank/migrations/0001_initial.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/its-django/mysite/HEAD/mysite/bank/migrations/0001_initial.py -------------------------------------------------------------------------------- /mysite/bank/migrations/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /mysite/bank/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/its-django/mysite/HEAD/mysite/bank/models.py -------------------------------------------------------------------------------- /mysite/bank/tests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/its-django/mysite/HEAD/mysite/bank/tests.py -------------------------------------------------------------------------------- /mysite/bank/views.py: -------------------------------------------------------------------------------- 1 | from django.shortcuts import render 2 | 3 | # Create your views here. 4 | -------------------------------------------------------------------------------- /mysite/configs/apache2/000-default.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/its-django/mysite/HEAD/mysite/configs/apache2/000-default.conf -------------------------------------------------------------------------------- /mysite/configs/apache2/000-default_with_ssl.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/its-django/mysite/HEAD/mysite/configs/apache2/000-default_with_ssl.conf -------------------------------------------------------------------------------- /mysite/configs/nginx/default: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/its-django/mysite/HEAD/mysite/configs/nginx/default -------------------------------------------------------------------------------- /mysite/configs/nginx/default_with_ssl: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/its-django/mysite/HEAD/mysite/configs/nginx/default_with_ssl -------------------------------------------------------------------------------- /mysite/configs/uwsgi/apt/mysite.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/its-django/mysite/HEAD/mysite/configs/uwsgi/apt/mysite.ini -------------------------------------------------------------------------------- /mysite/configs/uwsgi/apt/uwsgi.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/its-django/mysite/HEAD/mysite/configs/uwsgi/apt/uwsgi.conf -------------------------------------------------------------------------------- /mysite/configs/uwsgi/pip/mysite.ini: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/its-django/mysite/HEAD/mysite/configs/uwsgi/pip/mysite.ini -------------------------------------------------------------------------------- /mysite/configs/uwsgi/pip/uwsgi.conf: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/its-django/mysite/HEAD/mysite/configs/uwsgi/pip/uwsgi.conf -------------------------------------------------------------------------------- /mysite/manage.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/its-django/mysite/HEAD/mysite/manage.py -------------------------------------------------------------------------------- /mysite/mysite/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /mysite/mysite/settings.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/its-django/mysite/HEAD/mysite/mysite/settings.py -------------------------------------------------------------------------------- /mysite/mysite/tests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/its-django/mysite/HEAD/mysite/mysite/tests.py -------------------------------------------------------------------------------- /mysite/mysite/urls.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/its-django/mysite/HEAD/mysite/mysite/urls.py -------------------------------------------------------------------------------- /mysite/mysite/views.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/its-django/mysite/HEAD/mysite/mysite/views.py -------------------------------------------------------------------------------- /mysite/mysite/wsgi.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/its-django/mysite/HEAD/mysite/mysite/wsgi.py -------------------------------------------------------------------------------- /mysite/restaurants/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /mysite/restaurants/admin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/its-django/mysite/HEAD/mysite/restaurants/admin.py -------------------------------------------------------------------------------- /mysite/restaurants/forms.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/its-django/mysite/HEAD/mysite/restaurants/forms.py -------------------------------------------------------------------------------- /mysite/restaurants/migrations/0001_initial.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/its-django/mysite/HEAD/mysite/restaurants/migrations/0001_initial.py -------------------------------------------------------------------------------- /mysite/restaurants/migrations/0002_auto_20141210_1828.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/its-django/mysite/HEAD/mysite/restaurants/migrations/0002_auto_20141210_1828.py -------------------------------------------------------------------------------- /mysite/restaurants/migrations/0003_comment.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/its-django/mysite/HEAD/mysite/restaurants/migrations/0003_comment.py -------------------------------------------------------------------------------- /mysite/restaurants/migrations/0004_auto_20141216_1211.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/its-django/mysite/HEAD/mysite/restaurants/migrations/0004_auto_20141216_1211.py -------------------------------------------------------------------------------- /mysite/restaurants/migrations/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /mysite/restaurants/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/its-django/mysite/HEAD/mysite/restaurants/models.py -------------------------------------------------------------------------------- /mysite/restaurants/permissions.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/its-django/mysite/HEAD/mysite/restaurants/permissions.py -------------------------------------------------------------------------------- /mysite/restaurants/templates/comments.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/its-django/mysite/HEAD/mysite/restaurants/templates/comments.html -------------------------------------------------------------------------------- /mysite/restaurants/templates/menu.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/its-django/mysite/HEAD/mysite/restaurants/templates/menu.html -------------------------------------------------------------------------------- /mysite/restaurants/templates/restaurants_list.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/its-django/mysite/HEAD/mysite/restaurants/templates/restaurants_list.html -------------------------------------------------------------------------------- /mysite/restaurants/templatetags/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /mysite/restaurants/templatetags/myfilters.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/its-django/mysite/HEAD/mysite/restaurants/templatetags/myfilters.py -------------------------------------------------------------------------------- /mysite/restaurants/tests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/its-django/mysite/HEAD/mysite/restaurants/tests.py -------------------------------------------------------------------------------- /mysite/restaurants/views.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/its-django/mysite/HEAD/mysite/restaurants/views.py -------------------------------------------------------------------------------- /mysite/templates/base.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/its-django/mysite/HEAD/mysite/templates/base.html -------------------------------------------------------------------------------- /mysite/templates/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/its-django/mysite/HEAD/mysite/templates/index.html -------------------------------------------------------------------------------- /mysite/templates/math.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/its-django/mysite/HEAD/mysite/templates/math.html -------------------------------------------------------------------------------- /mysite/templates/register.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/its-django/mysite/HEAD/mysite/templates/register.html -------------------------------------------------------------------------------- /mysite/templates/registration/logged_out.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/its-django/mysite/HEAD/mysite/templates/registration/logged_out.html -------------------------------------------------------------------------------- /mysite/templates/registration/login.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/its-django/mysite/HEAD/mysite/templates/registration/login.html -------------------------------------------------------------------------------- /mysite/templates/welcome.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/its-django/mysite/HEAD/mysite/templates/welcome.html -------------------------------------------------------------------------------- /mysite/zoo/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /mysite/zoo/admin.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/its-django/mysite/HEAD/mysite/zoo/admin.py -------------------------------------------------------------------------------- /mysite/zoo/fixtures/dog.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/its-django/mysite/HEAD/mysite/zoo/fixtures/dog.json -------------------------------------------------------------------------------- /mysite/zoo/migrations/0001_initial.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/its-django/mysite/HEAD/mysite/zoo/migrations/0001_initial.py -------------------------------------------------------------------------------- /mysite/zoo/migrations/__init__.py: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /mysite/zoo/models.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/its-django/mysite/HEAD/mysite/zoo/models.py -------------------------------------------------------------------------------- /mysite/zoo/tests.py: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/its-django/mysite/HEAD/mysite/zoo/tests.py -------------------------------------------------------------------------------- /mysite/zoo/views.py: -------------------------------------------------------------------------------- 1 | from django.shortcuts import render 2 | 3 | # Create your views here. 4 | -------------------------------------------------------------------------------- /requirements.txt: -------------------------------------------------------------------------------- 1 | Django==1.7.1 2 | wsgiref==0.1.2 3 | --------------------------------------------------------------------------------