summaryrefslogtreecommitdiff
path: root/django
diff options
context:
space:
mode:
authorMaxime Lorant <maxime.lorant@gmail.com>2015-09-03 23:23:08 +0200
committerTim Graham <timograham@gmail.com>2015-09-04 08:18:22 -0400
commit7dabaa8ee33a97558486905f18e8cb5cd357d7da (patch)
tree72400d8af1649678b66fb807d8bfc67571ebaefe /django
parent64410a09dab7a6abfce02f4c60805f462825488b (diff)
[1.8.x] Refs #25345 -- Updated links to code.google.com.
Backport of c92cd22d02349b73d169a3a2ff3b6fe7a54bfb0c from master
Diffstat (limited to 'django')
-rw-r--r--django/contrib/gis/maps/google/overlays.py10
-rw-r--r--django/utils/ipv6.py2
2 files changed, 6 insertions, 6 deletions
diff --git a/django/contrib/gis/maps/google/overlays.py b/django/contrib/gis/maps/google/overlays.py
index ac0a6bd315..f313329f05 100644
--- a/django/contrib/gis/maps/google/overlays.py
+++ b/django/contrib/gis/maps/google/overlays.py
@@ -19,7 +19,7 @@ class GEvent(object):
add_event() call.
For more information please see the Google Maps API Reference:
- http://code.google.com/apis/maps/documentation/reference.html#GEvent
+ https://developers.google.com/maps/documentation/javascript/reference#event
Example:
@@ -83,7 +83,7 @@ class GPolygon(GOverlayBase):
"""
A Python wrapper for the Google GPolygon object. For more information
please see the Google Maps API Reference:
- http://code.google.com/apis/maps/documentation/reference.html#GPolygon
+ https://developers.google.com/maps/documentation/javascript/reference#Polygon
"""
def __init__(self, poly,
stroke_color='#0000ff', stroke_weight=2, stroke_opacity=1,
@@ -143,7 +143,7 @@ class GPolyline(GOverlayBase):
"""
A Python wrapper for the Google GPolyline object. For more information
please see the Google Maps API Reference:
- http://code.google.com/apis/maps/documentation/reference.html#GPolyline
+ https://developers.google.com/maps/documentation/javascript/reference#Polyline
"""
def __init__(self, geom, color='#0000ff', weight=2, opacity=1):
"""
@@ -194,7 +194,7 @@ class GIcon(object):
in turn, correspond to a subset of the attributes of the official GIcon
javascript object:
- http://code.google.com/apis/maps/documentation/reference.html#GIcon
+ https://developers.google.com/maps/documentation/javascript/reference#Icon
Because a Google map often uses several different icons, a name field has
been added to the required arguments.
@@ -267,7 +267,7 @@ class GMarker(GOverlayBase):
"""
A Python wrapper for the Google GMarker object. For more information
please see the Google Maps API Reference:
- http://code.google.com/apis/maps/documentation/reference.html#GMarker
+ https://developers.google.com/maps/documentation/javascript/reference#Marker
Example:
diff --git a/django/utils/ipv6.py b/django/utils/ipv6.py
index 94e9dcf50e..a0675ca65e 100644
--- a/django/utils/ipv6.py
+++ b/django/utils/ipv6.py
@@ -1,5 +1,5 @@
# This code was mostly based on ipaddr-py
-# Copyright 2007 Google Inc. http://code.google.com/p/ipaddr-py/
+# Copyright 2007 Google Inc. https://github.com/google/ipaddr-py
# Licensed under the Apache License, Version 2.0 (the "License").
from django.core.exceptions import ValidationError
from django.utils.six.moves import range