소스 검색

Fixed typos in Changelog

Ask Solem 15 년 전
부모
커밋
5f25fa2ba6
1개의 변경된 파일3개의 추가작업 그리고 4개의 파일을 삭제
  1. 3 4
      Changelog

+ 3 - 4
Changelog

@@ -18,7 +18,7 @@ Important notes
 
 
     For more information please see http://bit.ly/9hom6T
     For more information please see http://bit.ly/9hom6T
 
 
-* Database result backend: result now expliclty sets ``null=True`` as
+* Database result backend: result now explicitly sets ``null=True`` as
   ``django-picklefield`` version 0.1.5 changed the default behavior
   ``django-picklefield`` version 0.1.5 changed the default behavior
   right under our noses :(
   right under our noses :(
 
 
@@ -69,15 +69,14 @@ News
 
 
     .. code-block:: python
     .. code-block:: python
 
 
-        from celery.task import crontab
+        from celery.task.schedules import crontab
         from celery.decorators import periodic_task
         from celery.decorators import periodic_task
 
 
         @periodic_task(run_every=crontab(hour=7, minute=30))
         @periodic_task(run_every=crontab(hour=7, minute=30))
         def every_morning():
         def every_morning():
             print("Runs every morning at 7:30a.m")
             print("Runs every morning at 7:30a.m")
 
 
-        @periodic_task(run_every=crontab(hour=7, minute=30,
-                       day_of_week="monday"))
+        @periodic_task(run_every=crontab(hour=7, minute=30, day_of_week="mon"))
         def every_monday_morning():
         def every_monday_morning():
             print("Run every monday morning at 7:30a.m")
             print("Run every monday morning at 7:30a.m")