Commits

mpstevens_uk committed da4d081

Tidy up English usage a little.

Comments (0)

Files changed (6)

 Installation instruction:
 
-* Copy annoying directory to your django project or put in on PYTHONPATH.
+* Copy annoying directory to your django project or put in PYTHONPATH.
 
 That's it.
     * Neither the name of the author nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
 
 THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT OWNER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
-
 Django Annoying Application
-========================
+===========================
 
-This is django application that try to eliminate annoying things in Django framework.
+This is a django application that tries to eliminate annoying things in the
+Django framework.
 
-For installation instructions see the file "INSTALL.txt" in this
-directory. You need last development version of django to use this application.
+For installation instructions see the file "INSTALL.txt" in this directory. You
+need the last development version of django to use this application.

annoying/fields.py

 
 class AutoOneToOneField(OneToOneField):
     '''
-    OneToOneField creates related object on first call if it doesnt exists yet.
+    OneToOneField creates related object on first call if it doesnt exist yet.
     Use it instead of original OneToOne field.
 
     example:

annoying/functions.py

     klass may be a Model, Manager, or QuerySet object. All other passed
     arguments and keyword arguments are used in the get() query.
 
-    Note: Like with get(), an MultipleObjectsReturned will be raised if more than one
+    Note: Like with get(), a MultipleObjectsReturned will be raised if more than one
     object is found.
     """
     queryset = _get_queryset(klass)
     packages = find_packages(),
     author = "Anderson",
     author_email = "self.anderson@gmail.com",
-    description = "This is django application that try to eliminate annoying things in Django framework.",
+    description = "This is a django application that tries to eliminate annoying things in the Django framework.",
     long_description = """
         **Features:**
 
             - render_to decorator - reduce typing in django views.
             - signals decorator - allow use signals as decorators.
             - ajax_request decorator - returns JsonResponse with this dict as content.
-            - autostrip decoratro - strip text form fields before validation
+            - autostrip decoratro - strip text form fields before validation.
             - get_object_or_None function - similar to get_object_or_404, but returns None if object not found.
             - get_config function - get settings from django.conf if exists, return default value otherwise.
-            - AutoOneToOne field - creates related object on first call if it doesnt exists yet.
+            - AutoOneToOne field - creates related object on first call if it doesnt exist yet.
             - HttpResponseReload - reload and stay on same page from where request was made.
-            - StaticServer middleware - instead of configuring urls.py, just add this middleware and it will serve you static files
+            - StaticServer middleware - instead of configuring urls.py, just add this middleware and it will serve you static files.
 
                      
 
         **Installation instruction:**
 
-             - Copy annoying directory to your django project or put in on PYTHONPATH
+             - Copy annoying directory to your django project or put in PYTHONPATH
              - Also you can run sudo python setup.py install or sudo easy_install django-annoying
 
                               
     keywords = "django",
     url = "http://bitbucket.org/offline/django-annoying/wiki/Home",
 )
-