Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Normalized the use of "JavaScript" in the documentation.

git-svn-id: http://code.djangoproject.com/svn/django/trunk@8110 bcc190cf-cafb-0310-a4f2-bffc1f526a37
  • Loading branch information...
commit b1c0dc5a017f2464d5d77878b192beea9e278c53 1 parent 633ed5c
Gary Wilson Jr. authored
4  docs/admin.txt
@@ -150,7 +150,7 @@ The ``field_options`` dictionary can have the following keys:
150 150
 ``filter_horizontal``
151 151
 ~~~~~~~~~~~~~~~~~~~~~
152 152
 
153  
-Use a nifty unobtrusive Javascript "filter" interface instead of the
  153
+Use a nifty unobtrusive JavaScript "filter" interface instead of the
154 154
 usability-challenged ``<select multiple>`` in the admin form. The value is a
155 155
 list of fields that should be displayed as a horizontal filter interface. See
156 156
 ``filter_vertical`` to use a vertical interface.
@@ -489,7 +489,7 @@ with an operator:
489 489
 ``ModelAdmin`` media definitions
490 490
 --------------------------------
491 491
 
492  
-There are times where you would like add a bit of CSS and/or Javascript to
  492
+There are times where you would like add a bit of CSS and/or JavaScript to
493 493
 the add/change views. This can be accomplished by using a Media inner class
494 494
 on your ``ModelAdmin``::
495 495
 
2  docs/csrf.txt
@@ -64,7 +64,7 @@ a custom authentication system that manually sets cookies and the like,
64 64
 it won't help you.
65 65
 
66 66
 If your app creates HTML pages and forms in some unusual way, (e.g.
67  
-it sends fragments of HTML in javascript document.write statements)
  67
+it sends fragments of HTML in JavaScript document.write statements)
68 68
 you might bypass the filter that adds the hidden field to the form,
69 69
 in which case form submission will always fail.  It may still be possible
70 70
 to use the middleware, provided you can find some way to get the
6  docs/forms.txt
@@ -1847,7 +1847,7 @@ This is where Django media definitions come in. Django allows you to
1847 1847
 associate different media files with the forms and widgets that require
1848 1848
 that media. For example, if you want to use a calendar to render DateFields, 
1849 1849
 you can define a custom Calendar widget. This widget can then be associated 
1850  
-with the CSS and Javascript that is required to render the calendar. When 
  1850
+with the CSS and JavaScript that is required to render the calendar. When 
1851 1851
 the Calendar widget is used on a form, Django is able to identify the CSS and
1852 1852
 JavaScript files that are required, and provide the list of file names
1853 1853
 in a form suitable for easy inclusion on your web page.
@@ -1953,7 +1953,7 @@ If this last CSS definition were to be rendered, it would become the following H
1953 1953
 ``js``
1954 1954
 ~~~~~~
1955 1955
 
1956  
-A tuple describing the required javascript files. See
  1956
+A tuple describing the required JavaScript files. See
1957 1957
 `the section on media paths`_ for details of how to specify paths to media 
1958 1958
 files.
1959 1959
 
@@ -2271,7 +2271,7 @@ an exception::
2271 2271
     django.forms.util.ValidationError: [u'ManagementForm data is missing or has been tampered with']
2272 2272
 
2273 2273
 It is used to keep track of how many form instances are being displayed. If
2274  
-you are adding new forms via javascript, you should increment the count fields
  2274
+you are adding new forms via JavaScript, you should increment the count fields
2275 2275
 in this form as well.
2276 2276
 
2277 2277
 Custom formset validation
2  docs/middleware.txt
@@ -104,7 +104,7 @@ browsers).
104 104
 It is suggested to place this first in the middleware list, so that the
105 105
 compression of the response content is the last thing that happens. Will not
106 106
 compress content bodies less than 200 bytes long, when the response code is
107  
-something other than 200, Javascript files (for IE compatibitility), or
  107
+something other than 200, JavaScript files (for IE compatibitility), or
108 108
 responses that have the ``Content-Encoding`` header already specified.
109 109
 
110 110
 django.middleware.http.ConditionalGetMiddleware

0 notes on commit b1c0dc5

Please sign in to comment.
Something went wrong with that request. Please try again.