Commits

hideki nara committed cfaa9fb

その他のアップデート

  • Participants
  • Parent commits 81a543e

Comments (0)

Files changed (5)

File source/canvas.rst

 append_to_list_option(key,value)でdict操作
 --------------------------------------------
 
+partial
+------------
 
+immutable
+------------
 
-Chains
-=======
+callbacks
+------------
 
-Groups
-=======
+Groups(グループ内のTaskを平行して実行する)
+========================================================
 
-Chords
-=======
+Chains( Taskのコールバークを連続的に行う)
+=================================================
 
-Map & Starmap
-=====================
+Chords (コールバック付きGroups)
+=================================================
 
-Chunks
-=====================
+- header group + body group
 
+Map (引数リストの要素に対してTaskをを作る)
+===============================================================
+
+- map( callbable, list ) みたい
+
+StarMap (Mapへのそれぞれの引数が \*args )
+===============================================================
+
+Chunks(引数の一覧を等分割してGroup化)
+===============================================================
+

File source/eta.rst

 
     ImproperlyConfigured: Timezones requires the pytz library
 
+:term:`pytz` をインストールしましょう。
+
+.. code-block:: bash
+
+    $ pip install pytz 
+
 django.utils.timezone
 =============================================
 
+Django 1.4の最大の新機能!w : settings.USE_TZ=True
+--------------------------------------------------------------
+
+- https://docs.djangoproject.com/en/dev/releases/1.4/#overview
 - https://docs.djangoproject.com/en/dev/ref/utils/#django-utils-timezone
 
 now()
 ------
 
+.. code-block:: python
+
+    #:settings.py
+
+    USE_TZ = True
+    TIME_ZONE = 'Asia/Tokyo'
+
+.. code-block:: python
+
+    >>> from datetime import datetime
+    >>> datetime.now()
+    datetime.datetime(2012, 9, 11, 3, 9, 53, 540212)
+
+.. code-block:: python
+
+    >>> from django.utils.timezone import now
+    >>> now()
+    datetime.datetime(2012, 9, 10, 18, 10, 8, 644891, tzinfo=<UTC>)
+
+
 get_default_timezone()
 ------------------------
 
+.. code-block:: python
+
+    >>> from django.utils.timezone import get_default_timezone
+    >>> get_default_timezone()
+    <DstTzInfo 'Asia/Tokyo' CJT+9:00:00 STD>
+
+- こだわりの :term:`CJT` (Central Japan Time)だよ!
+
 make_aware()/make_naive()
 -----------------------------
 
 .. code-block:: python
 
-
     >>> from django.utils.timezone import *
     >>> from datetime import datetime
     >>> dt
     4|2012-08-30 03:05:24.583609|task_sent_handler:Got signal task_sent for task id None 
 
 
+
+用語
+^^^^^^
+ 
+.. glossary::
+ 
+    CJT
+        - Central Japan Time
+        - http://note.harajuku-tech.org/333-it
+
+    pytz
+        - Arthur David Olson TZ データベース処理をPythonで。 
+        - http://pytz.sourceforge.net/
+        - http://pypi.python.org/pypi/pytz/
+        - http://ja.wikipedia.org/wiki/Tz_database
+        - http://www.twinsun.com/tz/tz-link.htm

File source/me.rst

 ならひでき
 ==============
 
-@hdknr
--------
++hdknr/@hdknr
+---------------------
 
 - https://twitter.com/hdknr
 
 デジタルサイネージ(っぽい) (2001年〜)
 ------------------------------------------
 
+
+.. figure:: _static/me/vision.jpg
+
+
 メールマーケティング(2000年〜)
 ------------------------------
 

File source/minimum.rst

 .. code-block:: bash
 
     $ mkvirtualenv soup
-    $ cdvirtulaenv ; mkdir src; cd src
+    $ cdvirtualenv ; mkdir src; cd src
 
 install celery & django
 ==========================================
 
 .. include:: install/pip_install_django-celery.rst
 
-pip install django-kombu
-------------------------------------------
-
-.. include:: install/pip_install_django-kombu.rst
-
-pip instal django
+pip install django
 ------------------------------------------
 
 .. include:: install/pip_install_django.rst
 
 .. code-block:: python
 
+    # -*- coding: utf-8 -*-
     from celery.task import task
 
     @task               # タスク化

File source/thankyou.rst

 .. figure:: _static/thankyou.png
     :name:  popup-image
     :class: popup-image
+