Updated various links to HTTPS and new locations.
Co-Authored-By: Nick Pope <nick@nickpope.me.uk>
This commit is contained in:
parent
d75c387f46
commit
5def7f3f74
|
@ -7,7 +7,7 @@ GeoIP(R) is a registered trademark of MaxMind, Inc.
|
||||||
|
|
||||||
For IP-based geolocation, this module requires the GeoLite2 Country and City
|
For IP-based geolocation, this module requires the GeoLite2 Country and City
|
||||||
datasets, in binary format (CSV will not work!). The datasets may be
|
datasets, in binary format (CSV will not work!). The datasets may be
|
||||||
downloaded from MaxMind at http://dev.maxmind.com/geoip/geoip2/geolite2/.
|
downloaded from MaxMind at https://dev.maxmind.com/geoip/geoip2/geolite2/.
|
||||||
Grab GeoLite2-Country.mmdb.gz and GeoLite2-City.mmdb.gz, and unzip them in the
|
Grab GeoLite2-Country.mmdb.gz and GeoLite2-City.mmdb.gz, and unzip them in the
|
||||||
directory corresponding to settings.GEOIP_PATH.
|
directory corresponding to settings.GEOIP_PATH.
|
||||||
"""
|
"""
|
||||||
|
|
|
@ -5,7 +5,7 @@ Based partially on an example by Jonathan Feignberg in the Python
|
||||||
Cookbook [1] (licensed under the Python Software License) and a ctypes port by
|
Cookbook [1] (licensed under the Python Software License) and a ctypes port by
|
||||||
Anatoly Techtonik for Roundup [2] (license [3]).
|
Anatoly Techtonik for Roundup [2] (license [3]).
|
||||||
|
|
||||||
[1] http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/65203
|
[1] https://code.activestate.com/recipes/65203/
|
||||||
[2] https://sourceforge.net/p/roundup/code/ci/default/tree/roundup/backends/portalocker.py
|
[2] https://sourceforge.net/p/roundup/code/ci/default/tree/roundup/backends/portalocker.py
|
||||||
[3] https://sourceforge.net/p/roundup/code/ci/default/tree/COPYING.txt
|
[3] https://sourceforge.net/p/roundup/code/ci/default/tree/COPYING.txt
|
||||||
|
|
||||||
|
|
|
@ -126,7 +126,7 @@ class DatabaseSchemaEditor(BaseDatabaseSchemaEditor):
|
||||||
MySQL can remove an implicit FK index on a field when that field is
|
MySQL can remove an implicit FK index on a field when that field is
|
||||||
covered by another index like a unique_together. "covered" here means
|
covered by another index like a unique_together. "covered" here means
|
||||||
that the more complex index starts like the simpler one.
|
that the more complex index starts like the simpler one.
|
||||||
http://bugs.mysql.com/bug.php?id=37910 / Django ticket #24757
|
https://bugs.mysql.com/bug.php?id=37910 / Django ticket #24757
|
||||||
We check here before removing the [unique|index]_together if we have to
|
We check here before removing the [unique|index]_together if we have to
|
||||||
recreate a FK index.
|
recreate a FK index.
|
||||||
"""
|
"""
|
||||||
|
|
|
@ -685,7 +685,7 @@ def parse_header(line):
|
||||||
name = p[:i].strip().lower().decode('ascii')
|
name = p[:i].strip().lower().decode('ascii')
|
||||||
if name.endswith('*'):
|
if name.endswith('*'):
|
||||||
# Lang/encoding embedded in the value (like "filename*=UTF-8''file.ext")
|
# Lang/encoding embedded in the value (like "filename*=UTF-8''file.ext")
|
||||||
# http://tools.ietf.org/html/rfc2231#section-4
|
# https://tools.ietf.org/html/rfc2231#section-4
|
||||||
name = name[:-1]
|
name = name[:-1]
|
||||||
if p.count(b"'") == 2:
|
if p.count(b"'") == 2:
|
||||||
has_encoding = True
|
has_encoding = True
|
||||||
|
|
|
@ -1,6 +1,6 @@
|
||||||
"""
|
"""
|
||||||
PHP date() style date formatting
|
PHP date() style date formatting
|
||||||
See http://www.php.net/date for format strings
|
See https://www.php.net/date for format strings
|
||||||
|
|
||||||
Usage:
|
Usage:
|
||||||
>>> import datetime
|
>>> import datetime
|
||||||
|
|
|
@ -92,7 +92,7 @@ class JsLexer(Lexer):
|
||||||
# lex correct JavaScript, so much of this is simplified.
|
# lex correct JavaScript, so much of this is simplified.
|
||||||
|
|
||||||
# Details of JavaScript lexical structure are taken from
|
# Details of JavaScript lexical structure are taken from
|
||||||
# http://www.ecma-international.org/publications/files/ECMA-ST/ECMA-262.pdf
|
# https://www.ecma-international.org/publications-and-standards/standards/ecma-262/
|
||||||
|
|
||||||
# A useful explanation of automatic semicolon insertion is at
|
# A useful explanation of automatic semicolon insertion is at
|
||||||
# http://inimino.org/~inimino/blog/javascript_semicolons
|
# http://inimino.org/~inimino/blog/javascript_semicolons
|
||||||
|
|
|
@ -58,7 +58,7 @@ class TestUtilsCryptoMisc(SimpleTestCase):
|
||||||
|
|
||||||
class TestUtilsCryptoPBKDF2(unittest.TestCase):
|
class TestUtilsCryptoPBKDF2(unittest.TestCase):
|
||||||
|
|
||||||
# http://tools.ietf.org/html/draft-josefsson-pbkdf2-test-vectors-06
|
# https://tools.ietf.org/html/draft-josefsson-pbkdf2-test-vectors-06
|
||||||
rfc_vectors = [
|
rfc_vectors = [
|
||||||
{
|
{
|
||||||
"args": {
|
"args": {
|
||||||
|
|
Loading…
Reference in New Issue