Commit 20c8aa2a authored by Adrian Holovaty's avatar Adrian Holovaty
Browse files

Fixed various dodgy behaviours

git-svn-id: http://code.djangoproject.com/svn/django/trunk@17226 bcc190cf-cafb-0310-a4f2-bffc1f526a37
parent c7534584
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -152,7 +152,7 @@ DATABASES = {
    },
}

# Classes used to implement db routing behaviour
# Classes used to implement DB routing behavior.
DATABASE_ROUTERS = []

# The email backend to use. For possible shortcuts see django.core.mail.
+1 −1
Original line number Diff line number Diff line
@@ -11,7 +11,7 @@ function reorder_init() {
    setOrder(input.value.split(','));
    input.disabled = true;
    draw();
    // Now initialise the dragging behaviour
    // Now initialize the dragging behavior
    var limit = (lis.length - 1) * height;
    for (var i = 0; i < lis.length; i++) {
        var li = lis[i];
+2 −2
Original line number Diff line number Diff line
@@ -892,11 +892,11 @@ class GEOSTest(unittest.TestCase, TestDataMixin):

    def test23_transform_nosrid(self):
        """ Testing `transform` method (no SRID) """
        # raise a warning if SRID <0/None
        # Raise a warning if SRID <0/None.
        import warnings
        print "\nBEGIN - expecting Warnings; safe to ignore.\n"

        # test for do-nothing behaviour.
        # Test for do-nothing behavior.
        try:
            # Keeping line-noise down by only printing the relevant
            # warnings once.
+1 −1
Original line number Diff line number Diff line
@@ -410,6 +410,6 @@ class CookieSessionTests(SessionTestsMixin, TestCase):
        This test tested cycle_key() which would create a new session
        key for the same session data. But we can't invalidate previously
        signed cookies (other than letting them expire naturally) so
        testing for this behaviour is meaningless.
        testing for this behavior is meaningless.
        """
        pass
+1 −1
Original line number Diff line number Diff line
@@ -168,7 +168,7 @@ class LaxOptionParser(OptionParser):
    def print_lax_help(self):
        """Output the basic options available to every command.

        This just redirects to the default print_help() behaviour.
        This just redirects to the default print_help() behavior.
        """
        OptionParser.print_help(self)

Loading