Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

update links #115

Merged
merged 1 commit into from
Nov 22, 2022
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions CHANGES.rst
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ Development:
* #35: Drop support for Django 1.8, 1.9 and 1.10.
* #40: Support Django 2.0.
* #42: Support DISTKEY. Thanks to Benjy Weinberger.
* Documentation: http://django-redshift-backend.rtfd.io/
* Documentation: https://django-redshift-backend.rtfd.io/
* Change LICENSE from 'BSD License' to 'Apache Software License'

0.8.1 (2018-06-19)
Expand Down Expand Up @@ -196,7 +196,7 @@ Bug Fixes:

Documentation:

* Add documentation: http://django-redshift-backend.rtfd.io/
* Add documentation: https://django-redshift-backend.rtfd.io/


0.7 (2017-06-08)
Expand Down
4 changes: 2 additions & 2 deletions django_redshift_backend/base.py
Original file line number Diff line number Diff line change
Expand Up @@ -64,8 +64,8 @@ def last_insert_id(self, cursor, table_name, pk_name):
retrieve MAX(pk) after insertion as a workaround.

refs:
* http://stackoverflow.com/q/19428860
* http://stackoverflow.com/q/25638539
* https://stackoverflow.com/q/19428860
* https://stackoverflow.com/q/25638539

How about ``return cursor.lastrowid`` that is implemented in
django.db.backends.base.operations? Unfortunately, it doesn't
Expand Down
2 changes: 1 addition & 1 deletion doc/dev.rst
Original file line number Diff line number Diff line change
Expand Up @@ -81,5 +81,5 @@ Here is a release procefure for releasing.
Updated documentation
---------------------

Sphinx documentation under ``doc/`` directory on the master branch will be automatically uploaded into ReadTheDocs: http://django-redshift-backend.rtfd.io/.
Sphinx documentation under ``doc/`` directory on the master branch will be automatically uploaded into ReadTheDocs: https://django-redshift-backend.rtfd.io/.

4 changes: 2 additions & 2 deletions doc/index.rst
Original file line number Diff line number Diff line change
Expand Up @@ -10,11 +10,11 @@ This is a `Amazon Redshift`_ database backend for Django_.

.. image:: https://img.shields.io/readthedocs/django-redshift-backend/master.svg
:alt: Read the Docs (master)
:target: http://django-redshift-backend.rtfd.io/
:target: https://django-redshift-backend.rtfd.io/

.. image:: https://img.shields.io/pypi/v/django-redshift-backend.svg
:alt: PyPI
:target: http://pypi.org/p/django-redshift-backend
:target: https://pypi.org/project/django-redshift-backend/

.. image:: https://img.shields.io/pypi/pyversions/django-redshift-backend.svg
:alt: PyPI - Python Version
Expand Down
6 changes: 3 additions & 3 deletions doc/refs.rst
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,8 @@ Amazon Redshift doesn't support RETURNING, so ``last_insert_id`` method retrieve

refs:

* http://stackoverflow.com/q/19428860
* http://stackoverflow.com/q/25638539
* https://stackoverflow.com/q/19428860
* https://stackoverflow.com/q/25638539

In some case, MAX(pk) workaround does not work correctly.
Bulk insertion makes non-contiguous IDs like: 1, 4, 7, 10, ...
Expand Down Expand Up @@ -103,7 +103,7 @@ meta with the custom sortkey type `django_redshift_backend.SortKey` as follow::

`SortKey` in `ordering` are also valid as ordering in Django.

N.B.: there is no validation of this option, instead we let Redshift validate it for you. Be sure to refer to the `documentation <http://docs.aws.amazon.com/redshift/latest/dg/r_CREATE_TABLE_examples.html>`_.
N.B.: there is no validation of this option, instead we let Redshift validate it for you. Be sure to refer to the `documentation <https://docs.aws.amazon.com/redshift/latest/dg/r_CREATE_TABLE_examples.html>`_.

Using distkey
-------------
Expand Down