From 3bb4eefe81fc36ef4c3e2e7da9cb8e9e98e84121 Mon Sep 17 00:00:00 2001 From: kimarakov Date: Sat, 6 Jan 2018 08:27:31 -0800 Subject: [PATCH] Update and improve project links - Prefer https over http - Drop unnecessary utm_* style "campaign" parameters to improve privacy - Use updated dateutil documentation - Drop comment with bogus URL to improve grep - For the read the docs badge, use the documented URL, https://docs.readthedocs.io/en/latest/badges.html - Prefer readthedocs.io instead of readthedocs.org for doc links Read the Docs moved hosting to readthedocs.io instead of readthedocs.org. For additional details, see: https://blog.readthedocs.com/securing-subdomains/ > Starting today, Read the Docs will start hosting projects from subdomains on > the domain readthedocs.io, instead of on readthedocs.org. This change > addresses some security concerns around site cookies while hosting user > generated data on the same domain as our dashboard. --- README.md | 6 +++--- schedule/models/rules.py | 2 +- schedule/widgets.py | 2 +- tests/settings.py | 1 - 4 files changed, 5 insertions(+), 6 deletions(-) diff --git a/README.md b/README.md index 413649a..2b74553 100644 --- a/README.md +++ b/README.md @@ -1,14 +1,14 @@ Django Scheduler ======== -[![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/llazzaro/django-scheduler?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge) +[![Gitter](https://badges.gitter.im/Join%20Chat.svg)](https://gitter.im/llazzaro/django-scheduler) [](https://travis-ci.org/llazzaro/django-scheduler) [![Code Health](https://landscape.io/github/llazzaro/django-scheduler/master/landscape.svg?style=flat)](https://landscape.io/github/llazzaro/django-scheduler/master) [](https://coveralls.io/r/llazzaro/django-scheduler) [](https://pypi.python.org/pypi/django-scheduler) [](https://pypi.python.org/pypi/django-scheduler) [](https://github.com/llazzaro/django-scheduler/blob/master/LICENSE.txt) -[![Documentation Status](http://readthedocs.org/projects/django-scheduler/badge/?version=latest)](http://django-scheduler.readthedocs.org/en/latest/?badge=latest) +[![Documentation Status](https://readthedocs.org/projects/django-scheduler/badge/)](https://django-scheduler.readthedocs.io/) A calendar app for Django @@ -22,7 +22,7 @@ Donate bitcoins to this project. Information ======== -* [Documentation](http://django-scheduler.readthedocs.org/en/latest/) +* [Documentation](https://django-scheduler.readthedocs.io/) * [Wiki](https://github.com/llazzaro/django-scheduler/wiki) * [Sample Project](https://github.com/llazzaro/django-scheduler-sample) diff --git a/schedule/models/rules.py b/schedule/models/rules.py index 3fa4bb6..61ad909 100644 --- a/schedule/models/rules.py +++ b/schedule/models/rules.py @@ -39,7 +39,7 @@ class Rule(with_metaclass(ModelBase, *get_model_bases('Rule'))): value = int[,int]* The options are: (documentation for these can be found at - http://labix.org/python-dateutil#head-470fa22b2db72000d7abe698a5783a46b0731b57) + https://dateutil.readthedocs.io/en/stable/rrule.html#module-dateutil.rrule ** count ** bysetpos ** bymonth diff --git a/schedule/widgets.py b/schedule/widgets.py index 9b91061..eefefa2 100644 --- a/schedule/widgets.py +++ b/schedule/widgets.py @@ -6,7 +6,7 @@ class SpectrumColorPicker(TextInput): """ - Based on Brian Grinstead's Spectrum - http://bgrins.github.com/spectrum/ + Based on Brian Grinstead's Spectrum - https://bgrins.github.io/spectrum/ """ class Media: css = {'all': ("//cdnjs.cloudflare.com/ajax/libs/spectrum/1.7.1/spectrum.css",)} diff --git a/tests/settings.py b/tests/settings.py index 83d9df9..ca12ab7 100644 --- a/tests/settings.py +++ b/tests/settings.py @@ -71,7 +71,6 @@ ] # URL prefix for static files. -# Example: "http://example.com/static/", "http://static.example.com/" STATIC_URL = '/static/' STATICFILES_FINDERS = (