Skip to content

Commit

Permalink
Update links readthedocs.org -> readthedocs.io
Browse files Browse the repository at this point in the history
  • Loading branch information
rudyryk committed May 2, 2016
1 parent e20dad1 commit 586c8a3
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 11 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ Asynchronous interface for **[peewee](https://github.com/coleifer/peewee)**
ORM powered by **[asyncio](https://docs.python.org/3/library/asyncio.html)**.

[![Build Status](https://travis-ci.org/05bit/peewee-async.svg)](https://travis-ci.org/05bit/peewee-async) [![PyPi Version](https://img.shields.io/pypi/v/peewee-async.svg)](https://pypi.python.org/pypi/peewee-async)
[![Documentation Status](https://readthedocs.org/projects/peewee-async/badge/?version=latest)](http://peewee-async.readthedocs.org/en/latest/?badge=latest)
[![Documentation Status](https://readthedocs.io/projects/peewee-async/badge/?version=latest)](http://peewee-async.readthedocs.io/en/latest/?badge=latest)

Overview
--------
Expand All @@ -19,7 +19,7 @@ Overview
* Transactions support is present, yet not heavily tested

The complete documentation:
http://peewee-async.readthedocs.org
http://peewee-async.readthedocs.io

Install
-------
Expand Down Expand Up @@ -96,7 +96,7 @@ with objects.allow_sync():
Documentation
-------------

http://peewee-async.readthedocs.org
http://peewee-async.readthedocs.io

Discuss
-------
Expand Down
12 changes: 6 additions & 6 deletions peewee_async.py
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ def delete_object(obj, recursive=False, delete_nullable=False):
For details please check out `Model.delete_instance()`_ in peewee docs.
.. _Model.delete_instance(): http://peewee.readthedocs.org/en/latest/peewee/api.html#Model.delete_instance
.. _Model.delete_instance(): http://peewee.readthedocs.io/en/latest/peewee/api.html#Model.delete_instance
"""
warnings.warn("delete_object() is deprecated, Manager.delete() "
"should be used instead",
Expand Down Expand Up @@ -516,7 +516,7 @@ def update_object(obj, only=None):
doesn't invoke ``save()`` method on model class. That is important to know if you
overrided save method for your model.
.. _Model.save(): http://peewee.readthedocs.org/en/latest/peewee/api.html#Model.save
.. _Model.save(): http://peewee.readthedocs.io/en/latest/peewee/api.html#Model.save
"""
# Here are private calls involved:
#
Expand Down Expand Up @@ -1078,7 +1078,7 @@ class PostgresqlDatabase(AsyncPostgresqlMixin, peewee.PostgresqlDatabase):
database = PostgresqlDatabase('test')
See also:
http://peewee.readthedocs.org/en/latest/peewee/api.html#PostgresqlDatabase
http://peewee.readthedocs.io/en/latest/peewee/api.html#PostgresqlDatabase
"""
def init(self, database, **kwargs):
self.min_connections = 1
Expand All @@ -1098,7 +1098,7 @@ class PooledPostgresqlDatabase(AsyncPostgresqlMixin, peewee.PostgresqlDatabase):
database = PooledPostgresqlDatabase('test', max_connections=20)
See also:
http://peewee.readthedocs.org/en/latest/peewee/api.html#PostgresqlDatabase
http://peewee.readthedocs.io/en/latest/peewee/api.html#PostgresqlDatabase
"""
def init(self, database, **kwargs):
self.min_connections = kwargs.pop('min_connections', 1)
Expand Down Expand Up @@ -1185,7 +1185,7 @@ class MySQLDatabase(AsyncDatabase, peewee.MySQLDatabase):
database = MySQLDatabase('test')
See also:
http://peewee.readthedocs.org/en/latest/peewee/api.html#MySQLDatabase
http://peewee.readthedocs.io/en/latest/peewee/api.html#MySQLDatabase
"""
if aiomysql:
import pymysql
Expand Down Expand Up @@ -1230,7 +1230,7 @@ class PooledMySQLDatabase(MySQLDatabase):
database = MySQLDatabase('test', max_connections=10)
See also:
http://peewee.readthedocs.org/en/latest/peewee/api.html#MySQLDatabase
http://peewee.readthedocs.io/en/latest/peewee/api.html#MySQLDatabase
"""
def init(self, database, **kwargs):
self.min_connections = kwargs.pop('min_connections', 1)
Expand Down
4 changes: 2 additions & 2 deletions peewee_asyncext.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ class PostgresqlExtDatabase(AsyncPostgresqlMixin, ext.PostgresqlExtDatabase):
database = PostgresqlExtDatabase('test', register_hstore=False)
See also:
https://peewee.readthedocs.org/en/latest/peewee/playhouse.html#PostgresqlExtDatabase
https://peewee.readthedocs.io/en/latest/peewee/playhouse.html#PostgresqlExtDatabase
"""
def init(self, database, **kwargs):
self.min_connections = 1
Expand All @@ -54,7 +54,7 @@ class PooledPostgresqlExtDatabase(AsyncPostgresqlMixin, ext.PostgresqlExtDatabas
max_connections=20)
See also:
https://peewee.readthedocs.org/en/latest/peewee/playhouse.html#PostgresqlExtDatabase
https://peewee.readthedocs.io/en/latest/peewee/playhouse.html#PostgresqlExtDatabase
"""
def init(self, database, **kwargs):
self.min_connections = kwargs.pop('min_connections', 1)
Expand Down

0 comments on commit 586c8a3

Please sign in to comment.