forked from GithubBackups/healthchecks
Django 3.0
This commit is contained in:
parent
eafff677d9
commit
2a8e7ee766
@ -1,7 +1,6 @@
|
||||
dist: xenial
|
||||
language: python
|
||||
python:
|
||||
- "3.5"
|
||||
- "3.6"
|
||||
- "3.7"
|
||||
- "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)
|
||||
- Show Healthchecks version in Django admin header (#306)
|
||||
- Added JSON endpoint for Shields.io (#304)
|
||||
- Django 3.0
|
||||
|
||||
### Bug Fixes
|
||||
- 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:
|
||||
|
||||
* Python 3
|
||||
* Django 2
|
||||
* Django 3
|
||||
* PostgreSQL or MySQL
|
||||
|
||||
## Setting Up for Development
|
||||
|
@ -84,9 +84,9 @@ class ProjectTestCase(BaseTestCase):
|
||||
# And an email should have been sent
|
||||
subj = (
|
||||
"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")
|
||||
def test_it_rate_limits_invites(self):
|
||||
|
@ -35,10 +35,11 @@ SUPPORT_EMAIL = os.getenv("SUPPORT_EMAIL")
|
||||
USE_PAYMENTS = envbool("USE_PAYMENTS", "False")
|
||||
REGISTRATION_OPEN = envbool("REGISTRATION_OPEN", "True")
|
||||
VERSION = ""
|
||||
for line in open(os.path.join(BASE_DIR, "CHANGELOG.md")).readlines():
|
||||
if line.startswith("## v"):
|
||||
VERSION = line.split()[1]
|
||||
break
|
||||
with open(os.path.join(BASE_DIR, "CHANGELOG.md")) as f:
|
||||
for line in f.readlines():
|
||||
if line.startswith("## v"):
|
||||
VERSION = line.split()[1]
|
||||
break
|
||||
|
||||
|
||||
INSTALLED_APPS = (
|
||||
|
@ -1,5 +1,5 @@
|
||||
croniter==0.3.30
|
||||
Django==2.2.8
|
||||
Django==3.0
|
||||
django_compressor==2.3
|
||||
psycopg2==2.8.3
|
||||
pytz==2019.1
|
||||
|
Loading…
x
Reference in New Issue
Block a user