forked from GithubBackups/healthchecks
Django 3.0
This commit is contained in:
parent
eafff677d9
commit
2a8e7ee766
@ -1,7 +1,6 @@
|
|||||||
dist: xenial
|
dist: xenial
|
||||||
language: python
|
language: python
|
||||||
python:
|
python:
|
||||||
- "3.5"
|
|
||||||
- "3.6"
|
- "3.6"
|
||||||
- "3.7"
|
- "3.7"
|
||||||
- "3.8"
|
- "3.8"
|
||||||
|
@ -7,6 +7,7 @@ All notable changes to this project will be documented in this file.
|
|||||||
- "Filtering Rules" dialog, an option to require HTTP POST (#297)
|
- "Filtering Rules" dialog, an option to require HTTP POST (#297)
|
||||||
- Show Healthchecks version in Django admin header (#306)
|
- Show Healthchecks version in Django admin header (#306)
|
||||||
- Added JSON endpoint for Shields.io (#304)
|
- Added JSON endpoint for Shields.io (#304)
|
||||||
|
- Django 3.0
|
||||||
|
|
||||||
### Bug Fixes
|
### Bug Fixes
|
||||||
- Don't set CSRF cookie on first visit. Signup is exempt from CSRF protection
|
- Don't set CSRF cookie on first visit. Signup is exempt from CSRF protection
|
||||||
|
@ -21,7 +21,7 @@ It is live here: [http://healthchecks.io/](http://healthchecks.io/)
|
|||||||
The building blocks are:
|
The building blocks are:
|
||||||
|
|
||||||
* Python 3
|
* Python 3
|
||||||
* Django 2
|
* Django 3
|
||||||
* PostgreSQL or MySQL
|
* PostgreSQL or MySQL
|
||||||
|
|
||||||
## Setting Up for Development
|
## Setting Up for Development
|
||||||
|
@ -84,9 +84,9 @@ class ProjectTestCase(BaseTestCase):
|
|||||||
# And an email should have been sent
|
# And an email should have been sent
|
||||||
subj = (
|
subj = (
|
||||||
"You have been invited to join"
|
"You have been invited to join"
|
||||||
" Alice's Project on %s" % settings.SITE_NAME
|
" Alice's Project on %s" % settings.SITE_NAME
|
||||||
)
|
)
|
||||||
self.assertEqual(mail.outbox[0].subject, subj)
|
self.assertHTMLEqual(mail.outbox[0].subject, subj)
|
||||||
|
|
||||||
@override_settings(SECRET_KEY="test-secret")
|
@override_settings(SECRET_KEY="test-secret")
|
||||||
def test_it_rate_limits_invites(self):
|
def test_it_rate_limits_invites(self):
|
||||||
|
@ -35,10 +35,11 @@ SUPPORT_EMAIL = os.getenv("SUPPORT_EMAIL")
|
|||||||
USE_PAYMENTS = envbool("USE_PAYMENTS", "False")
|
USE_PAYMENTS = envbool("USE_PAYMENTS", "False")
|
||||||
REGISTRATION_OPEN = envbool("REGISTRATION_OPEN", "True")
|
REGISTRATION_OPEN = envbool("REGISTRATION_OPEN", "True")
|
||||||
VERSION = ""
|
VERSION = ""
|
||||||
for line in open(os.path.join(BASE_DIR, "CHANGELOG.md")).readlines():
|
with open(os.path.join(BASE_DIR, "CHANGELOG.md")) as f:
|
||||||
if line.startswith("## v"):
|
for line in f.readlines():
|
||||||
VERSION = line.split()[1]
|
if line.startswith("## v"):
|
||||||
break
|
VERSION = line.split()[1]
|
||||||
|
break
|
||||||
|
|
||||||
|
|
||||||
INSTALLED_APPS = (
|
INSTALLED_APPS = (
|
||||||
|
@ -1,5 +1,5 @@
|
|||||||
croniter==0.3.30
|
croniter==0.3.30
|
||||||
Django==2.2.8
|
Django==3.0
|
||||||
django_compressor==2.3
|
django_compressor==2.3
|
||||||
psycopg2==2.8.3
|
psycopg2==2.8.3
|
||||||
pytz==2019.1
|
pytz==2019.1
|
||||||
|
Loading…
x
Reference in New Issue
Block a user