Skip to content
This repository was archived by the owner on Feb 27, 2021. It is now read-only.

Fix args as str #25

Open
wants to merge 307 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
307 commits
Select commit Hold shift + click to select a range
d340acd
Corrected README datetime.now() => timezone.now()
philippeowagner May 17, 2015
cef2f4d
update AUTHORS.txt
yannik-ammann May 26, 2015
7744c72
Merge pull request #17 from yannik-ammann/master
yannik-ammann May 26, 2015
3d4ad35
Update tasks.py
philippeowagner Jun 9, 2015
609e4bd
Bump version: 1.0.2 → 1.0.3
Jun 10, 2015
90b3646
Added CompletedTaskAdmin
philippeowagner Jul 27, 2015
3495f91
Merge pull request #22 from philippeowagner/master
philippeowagner Jul 27, 2015
0010a14
WIP async support, refactored imports fixes #18
philippeowagner Jul 27, 2015
608ccf5
Working async. There is an SQLite issue (see django docs!) fixes #19
philippeowagner Jul 27, 2015
2d3403c
Removed forgotten print statements.
philippeowagner Jul 27, 2015
d2a7a0c
Removing the rest of the print statements...
philippeowagner Jul 27, 2015
bd8656e
Added exceptions to cope with the tests.
philippeowagner Jul 27, 2015
790d2bf
Fixing py3 errors
philippeowagner Jul 27, 2015
88b1f52
Works, but the tests are failing with async = true and there is anoth…
philippeowagner Jul 28, 2015
bb0edca
Merge pull request #23 from philippeowagner/master
philippeowagner Jul 28, 2015
76aa006
Fixes implicit import.
chadgh Aug 20, 2015
0a99f1a
Merge pull request #29 from chadgh/chadgh-patch-1
philippeowagner Aug 20, 2015
2ad4456
Added @chadgh to the list of authors
philippeowagner Aug 20, 2015
4871a51
Bump version: 1.0.3 → 1.0.4
Aug 20, 2015
480b71a
Update README.rst
philippeowagner Aug 20, 2015
4f99448
get_query_set/get_queryset
philippeowagner Aug 21, 2015
fadac66
.
philippeowagner Aug 21, 2015
d8a7b02
Authors
philippeowagner Aug 21, 2015
5adf0f8
added missing import
philippeowagner Aug 21, 2015
df2470f
Merge pull request #31 from philippeowagner/master
philippeowagner Aug 21, 2015
f7bc59d
Bump version: 1.0.4 → 1.0.5
Aug 21, 2015
af3737a
Added "broken for Python 3" info.
philippeowagner Aug 26, 2015
b11fa12
Fixed “TypeError: Unicode-objects must be encoded before hashing”
philippeowagner Aug 26, 2015
6a35521
Bump version: 1.0.5 → 1.0.6
Aug 26, 2015
4a42040
second part
philippeowagner Aug 26, 2015
8fd8131
Bump version: 1.0.6 → 1.0.7
Aug 26, 2015
db2526b
Removed Py3 notice
philippeowagner Aug 26, 2015
dd8dd2a
Added section with Hiroaki Nakamura's example project
philippeowagner Aug 26, 2015
7be6760
Add installation to docs
grantmcconnaughey Sep 15, 2015
9c2aa33
Merge pull request #33 from grantmcconnaughey/master
philippeowagner Sep 16, 2015
eb94bce
Added a bit more info about autodiscover
philippeowagner Sep 16, 2015
7ad59fc
Added (@grantmcconnaughey) to the list of authors. Thanks you for you…
philippeowagner Sep 16, 2015
de0e9b5
Bugfix
jvamvas Sep 28, 2015
812572a
Update README.rst
jvamvas Sep 28, 2015
ec869e6
Add some hooks for customization
jvamvas Oct 7, 2015
0fa9575
Fix off-by-one-bug in MAX_ATTEMPTS implementation
jvamvas Oct 8, 2015
14c0127
Bump version: 1.0.7 → 1.0.8
Oct 14, 2015
c4ef440
Signals for task creation, failure, and completion
jvamvas Oct 19, 2015
bd431c1
Refine signals
jvamvas Oct 19, 2015
cad8d56
Bump version: 1.0.8 → 1.0.9
Oct 19, 2015
3844a3a
Turn Tasks that have reached their maximum attempts into CompletedTasks
jvamvas Oct 22, 2015
6b747e8
Bump version: 1.0.9 → 1.0.10
Oct 22, 2015
7b7b17e
Update README.rst
bear454 Nov 23, 2015
69717db
Merge pull request #37 from bear454/master
philippeowagner Nov 23, 2015
1d28dfe
Added @bear454 - thanks for your contribution!
philippeowagner Nov 23, 2015
7f3025d
Task with dictionary with integer keys in arguments are ignored and s…
Zagrebelin Dec 12, 2015
2cc5656
Python2 compatibility.
Zagrebelin Dec 12, 2015
81a8fb1
Add ability to launch background function in synchronous mode.
Zagrebelin Dec 15, 2015
8d873c4
Correct unittests.
Zagrebelin Dec 15, 2015
9c7733f
Add ability to launch background function in synchronous mode.
Zagrebelin Dec 15, 2015
46f939d
Merge pull request #43 from Zagrebelin/tasks_sync
jvamvas Dec 15, 2015
4ea7c4a
Add @Zagrebelin to authors. Thank you for contributing!
jvamvas Dec 15, 2015
f2ef763
Merge branch 'tasks_sync'
Zagrebelin Dec 15, 2015
184458c
Merge remote-tracking branch 'upstream/master'
Zagrebelin Dec 15, 2015
88302ef
Remove reference to "autodiscover" from Readme
jvamvas Dec 23, 2015
f9a14ac
Merge pull request #41 from Zagrebelin/master
jvamvas Dec 23, 2015
e85a380
Simplify tests
jvamvas Dec 23, 2015
be43102
Issue 47: Ordering of keys matters in creation of task hash
drfraser Mar 21, 2016
bbd26c3
Merge pull request #48 from drfraser/master
walterrenner Mar 22, 2016
8dcc4a6
Bump version: 1.0.10 → 1.0.11
Mar 22, 2016
cba825c
Basic named queue support for background tasks - not tested unittests
december1981 Apr 19, 2016
7419869
Fix assignment error
jvamvas Apr 25, 2016
7748059
Add basic test for named queues
jvamvas Apr 25, 2016
3596294
Merge pull request #1 from jvamvas/fix-assignment-error
december1981 Apr 25, 2016
1c98c62
Merge pull request #2 from jvamvas/named-queues-test-case
december1981 Apr 25, 2016
81a17a3
Merge pull request #52 from december1981/task-queues
jvamvas Apr 25, 2016
825643e
Add @december1981 to AUTHORS
jvamvas Apr 25, 2016
1fe0954
Document named queues
jvamvas Apr 26, 2016
e0cf673
Bump version: 1.0.11 → 1.0.12
Apr 26, 2016
b65dcc9
Extend travis tests by Django 1.9, 1.10; Python 3.5
jvamvas Aug 22, 2016
fe7c908
Django 1.10 compatible process_task command options
jvamvas Aug 22, 2016
3fbdd11
Bump version: 1.0.12 → 1.0.13
Aug 22, 2016
9d6edd8
Update README.rst
jvamvas Aug 22, 2016
0901407
Catch ImportError in "autodiscover" method
jvamvas Aug 23, 2016
4cf5c08
Remove tasks autodiscovery from README
jvamvas Aug 23, 2016
e7e0d9f
setup.py: Read readme with utf-8 encoding
jvamvas Aug 24, 2016
9976888
Bump version: 1.0.13 → 1.0.14
Aug 24, 2016
fa9143f
Fix management command options
Oct 30, 2016
ef9f2eb
Merge pull request #63 from danieljcrabtree/process-tasks-options-fix
jvamvas Oct 31, 2016
78d20ca
Bump version: 1.0.14 → 1.0.15
Oct 31, 2016
9370f4f
- use djangos default test runner
Oct 31, 2016
0027916
add source code encoding definition to all files
Oct 31, 2016
059b197
pep8 changes
Oct 31, 2016
4333459
add source code encoding definition
Nov 1, 2016
699206a
fix path to the test settings module
Nov 1, 2016
f53a9d0
update docstring for the --async argument in runtests
Nov 1, 2016
62f6ec5
fix path to the tests module
Nov 1, 2016
bb148f2
revert changes in tests
Nov 1, 2016
059a816
add asnc test env for travis
Nov 1, 2016
aae2481
fix travis syntax error
Nov 1, 2016
2f0cf0a
Add verbose_name field to Task and CompletedTask
jvamvas Nov 1, 2016
caebe0a
Streamline string representation of models
jvamvas Nov 1, 2016
339ad2e
Add GenericForeignKey "creator" to Task and CompletedTask
jvamvas Nov 1, 2016
8ea44ee
Include verbose_name and creator in Task.create_completed_task
jvamvas Nov 1, 2016
55243c1
Add test for #67
jvamvas Nov 1, 2016
e6a919d
Specify verbose_name and creator at task instantiation
jvamvas Nov 2, 2016
712b714
Extend Task and CompletedTask managers
jvamvas Nov 2, 2016
6603b8f
install correct django version when running travix tests #69
Nov 2, 2016
4b62012
first install django, than others
Nov 2, 2016
38d4230
Avoid "database locked" error in asynchronous queryset tests
jvamvas Nov 2, 2016
b9708d9
Update documentation
jvamvas Nov 2, 2016
20d4bbd
Merge branch 'improve-api'
jvamvas Nov 2, 2016
29d8c70
Add fields "repeat" and "repeat_until" to Task model
jvamvas Nov 2, 2016
2f30f5f
Add app config
jvamvas Nov 2, 2016
89b2042
Implement task repetition
jvamvas Nov 2, 2016
07fe3c8
Readjust repeat encoding
jvamvas Nov 2, 2016
e036a85
Update documentation
jvamvas Nov 2, 2016
80fc86e
typos
jvamvas Nov 2, 2016
277e449
Allow repeat_until=None
jvamvas Nov 7, 2016
3f0fde3
Merge branch 'repeating-tasks'
jvamvas Nov 7, 2016
5652cef
Bump version 1.1.0rc1
jvamvas Nov 8, 2016
655f921
Add priority parameter to decorator
jvamvas Nov 9, 2016
693a3d1
Remove logging options from mgmt command; use django settings instead
jvamvas Nov 16, 2016
17c1098
Add tests for logging
jvamvas Nov 16, 2016
1c0ef81
Restore log-std option, which might still be useful
jvamvas Nov 16, 2016
176d5dd
Bump version 1.1.0rc2
jvamvas Nov 16, 2016
a144a14
add related_name to Tasks. creator_content_type ForeignKey
Nov 17, 2016
60c440a
Bump version 1.1.0rc3
Nov 17, 2016
0278a41
add related_name to CompletedTasks.creator_content_type ForeignKey
Nov 17, 2016
e3a102a
Bump version 1.1.0rc4
Nov 17, 2016
b97213a
Bump version 1.1.0rc5
Nov 17, 2016
926da88
Document migrations in README
jvamvas Jan 17, 2017
3216964
Add a limit of created threads. #26
mjr27 Feb 2, 2017
6dcbb3b
version bump
Feb 22, 2017
50502bb
Bump version: 1.1.0rc5 → 1.1.1
Feb 22, 2017
5f1f091
Merge pull request #78 from mjr27/master
walterrenner Feb 22, 2017
863cd7f
Bump version: 1.1.1 → 1.1.2
Feb 22, 2017
36e7139
Removed TODO
philippeowagner Feb 24, 2017
96f64ad
Described task pickup mechanis - this fixes #74
philippeowagner Feb 24, 2017
219facb
remove unused imports
Mar 1, 2017
1a18953
find_available will return a siced query
Mar 1, 2017
63f6b54
bump version
Mar 1, 2017
c4699c0
check for tasks in the queue faster
Mar 1, 2017
70e3d8c
better settings handling
Mar 2, 2017
e996d0b
added pypi badge
Mar 2, 2017
6a5aa96
remove print statements
Mar 2, 2017
c863aba
setting to choose the ordering direction for priority
Mar 2, 2017
75d9b89
Merge pull request #81 from arteria/feature-async-test
walterrenner Mar 2, 2017
1db9393
pre version bump
Mar 2, 2017
5e3f9d4
Bump version: 1.1.2 → 1.1.3
Mar 2, 2017
3292f88
Close db connection before sleeping, #79
Mar 3, 2017
3098bde
Bump version: 1.1.3 → 1.1.4
Mar 3, 2017
609da82
use close_connection from django compat
Mar 3, 2017
9be57d1
Merge branch 'master' of github.com:arteria/django-background-tasks
Mar 3, 2017
da1a8d7
Bump version: 1.1.4 → 1.1.5
Mar 3, 2017
abb849c
README - update syntax highlighting
adamchainz Mar 8, 2017
6d8e750
Merge pull request #82 from adamchainz/patch-1
jvamvas Mar 8, 2017
123f1d2
Add @adamchainz to AUTHORS
jvamvas Mar 8, 2017
25b631c
Improved importing of signals
Mar 16, 2017
7539822
Inroducing new signals
Mar 16, 2017
788a31f
Individual DB connections for each Thread
Mar 16, 2017
dd6cd4b
Merge pull request #84 from arteria/individual-db-connections
walterrenner Mar 16, 2017
1085eb3
Improved Admin (#87)
walterrenner Mar 21, 2017
19b024c
Bump version: 1.1.5 → 1.1.6
Mar 21, 2017
a2ab205
added docs folder
Mar 30, 2017
c6cef20
switch README from rst to md
Mar 30, 2017
c8a8f56
remove badged from docs
Mar 30, 2017
150c4b8
correct urls for docs
Mar 30, 2017
8157c2a
added coveralls
Mar 30, 2017
ff4cd61
include correct readme format
Mar 30, 2017
25c8d44
improved tox config
Mar 30, 2017
2306ee5
Setup Tox with Travis CI
Mar 30, 2017
e9507b6
pick correct python interpreter
Mar 30, 2017
10bf237
tox test
Mar 30, 2017
0604931
wip
Mar 30, 2017
51faf48
pick correct python interpreter
Mar 30, 2017
3de423f
wip
Mar 30, 2017
9caf11d
Fixed broken links due to migration of README -> READTHEDOCS.
philippeowagner Mar 30, 2017
5001b9e
clarify how to run tests locally
Apr 3, 2017
d687a9f
correct code formatting for .rst
Apr 3, 2017
5bfd405
Locked by pid running is only displayed if Task is actually locked #85
Apr 3, 2017
7b565d3
added django 1.11 to test environments
walterrenner Apr 4, 2017
89132d4
process_tasks should exit gracefully (#90)
walterrenner Apr 6, 2017
68d91a2
Added missing migrations (#94)
javier-tarazaga Apr 10, 2017
8fc1dad
manage time to wait with POSIX signals (#92)
walterrenner Apr 10, 2017
794d50e
Bump version: 1.1.7 → 1.1.8
Apr 10, 2017
0db911e
Update index.rst
walterrenner Apr 10, 2017
9ae1957
use the SIGTSTP singnal instead of SIGSTOP
walterrenner Apr 11, 2017
917a44c
Bump version: 1.1.8 → 1.1.9
Apr 11, 2017
1063254
Update utils.py
kherrett Apr 28, 2017
31b9202
Merge pull request #97 from kherrett/patch-1
philippeowagner May 2, 2017
c528293
Added kherrett, #pack
philippeowagner May 2, 2017
ab790b2
Bump version: 1.1.9 → 1.1.10
May 2, 2017
7d9a0d6
Removed pre Django1.8 compatibility stuff (#99)
claudep May 30, 2017
e442651
added Coverage Status badge
walterrenner Aug 2, 2017
777c80f
fix Coverage Status badge
walterrenner Aug 2, 2017
fb2bf67
Initialize ThreadPools only if/when needed. (#110)
kleingeist Aug 4, 2017
f9b561d
Bump version: 1.1.10 → 1.1.11
Aug 8, 2017
33586f0
added kleingeist to authors
walterrenner Aug 8, 2017
811bc70
Update README.md
philippeowagner Aug 22, 2017
b3ca880
Limit length of indexed fields to 190 (#116)
grote Nov 10, 2017
cee3e90
Bump version: 1.1.11 → 1.1.12
Nov 10, 2017
f927f88
added Django2.0 to test matrix
Dec 6, 2017
e052597
fix tests for Django 2.0
Dec 6, 2017
6d9ce8a
fix: Bad first argument given to super()
Dec 6, 2017
8e7c001
Ensure that Task repetitions are created only in the future (#126)
grote Jan 24, 2018
fc1888c
Bump version: 1.1.12 → 1.1.13
Jan 24, 2018
bd569f4
removed the `@atomic` decorator
Jan 26, 2018
ccb8f08
added contributing guidelines
Feb 21, 2018
22b40ca
added Contributing part to docs
Feb 21, 2018
e73fc17
Add InvalidTaskError exception class. (#133)
Ariki Apr 10, 2018
0c49a57
Update supported versions of Django in the docs
walterrenner Apr 19, 2018
a9ee7a5
Merge pull request #129 from arteria/remove-atomic-decorator
philippeowagner May 28, 2018
0e8940e
Fix typo
TheLovinator1 Jun 24, 2018
2edacee
Added unit test to reproduce error condition
jtimmons Jul 3, 2018
d3c24b8
Catch database outage errors and log a warning
jtimmons Jul 3, 2018
ae76ae0
Merge pull request #147 from TheLovinator1/patch-1
philippeowagner Jul 12, 2018
9533cdc
Added @TheLovinator1, thanks for the fix.
philippeowagner Jul 12, 2018
38b4700
For Windows default TTW better is Fast.
Jul 19, 2018
18b4d5e
For Windows default TTW better is Fast.
Jul 19, 2018
47dc39b
replace existing tasks
philippeowagner Aug 7, 2018
3556a8d
Added missing kwarg
philippeowagner Aug 7, 2018
7bc9d43
changed to a segwit btc donation address
philippeowagner Aug 7, 2018
232710a
Merge pull request #159 from philippeowagner/master
philippeowagner Aug 7, 2018
8378290
Merge pull request #156 from AMRivkin/master
philippeowagner Aug 7, 2018
2531a58
Merge pull request #150 from jtimmons/bugfix/warn-if-cant-reach-db
philippeowagner Aug 7, 2018
d23deda
Update AUTHORS.txt
philippeowagner Aug 7, 2018
49d1542
Bump version: 1.1.13 → 1.1.14
Aug 7, 2018
2283d06
.
philippeowagner Aug 7, 2018
2cf2dcb
Merge pull request #160 from philippeowagner/master
philippeowagner Aug 7, 2018
f120175
Bump version: 1.1.14 → 1.1.15
Aug 7, 2018
4b60b55
Modify initial migration to use acceptable max_lengths on indexed fields
dbreen Aug 29, 2018
083d7e3
remove "makemigrations" step from docs
jedie Sep 6, 2018
0034e62
Updated tox.ini to test with Django 2.1
Sep 26, 2018
40f6c03
Updated docs that it support Django 2.1
Sep 26, 2018
f8dcd26
Added py36-django21 env to travis
Sep 26, 2018
c72bbfb
Simplified the build matrix
Sep 26, 2018
10c4064
Converted the README to an rst so Pypi will show something sane
Sep 26, 2018
3762d8d
Updated the classifiers to django 1.11 / 2.0 / 2.1
Sep 26, 2018
63831a4
Adjusted test/ci configs to currently supported django and python ver…
Sep 26, 2018
268a356
async is a reserved keyword in python 3.7, use run_async as destination
Sep 26, 2018
d5548ac
Updated docs with correct django versions
Sep 27, 2018
a1e89bb
Merge pull request #163 from jedie/patch-1
philippeowagner Sep 28, 2018
7e9075b
Thanks @lorddaedra, @jedie for your contribution.
philippeowagner Sep 28, 2018
f23c2cf
Specified python verisons in classifiers, readded Django 1.8
Sep 29, 2018
44be2fe
Readded Django 1.8 with python {27,34,35}
Sep 29, 2018
d94343a
Added note that Django 1.8 is not advisable anymore
Oct 3, 2018
307ac21
Merge pull request #165 from maerteijn/master
philippeowagner Oct 3, 2018
23f2b8f
bump
philippeowagner Oct 3, 2018
cfabf6a
Update __init__.py
philippeowagner Oct 3, 2018
0271cdc
Merge pull request #162 from dbreen/master
philippeowagner Oct 18, 2018
dd209ea
Added @dbreen
philippeowagner Oct 18, 2018
af3c857
Adding search fields and admin action +1/-1. #pack
philippeowagner Oct 18, 2018
cbc7241
Bump version: 1.2.0 → 1.2.1
Oct 18, 2018
3f3207e
Fix a bug with command arguments that remain str in some cases
vincent-lg Oct 19, 2018
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
11 changes: 11 additions & 0 deletions .bumpversion.cfg
Original file line number Diff line number Diff line change
@@ -0,0 +1,11 @@
[bumpversion]
commit = True
tag = True
current_version = 1.2.1
parse = (?P<major>\d+)\.(?P<minor>\d+)\.(?P<patch>\d+)(\-(?P<release>[a-z]+))?
serialize =
{major}.{minor}.{patch}-{release}
{major}.{minor}.{patch}

[bumpversion:file:background_task/__init__.py]

4 changes: 4 additions & 0 deletions .coveragerc
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
[run]
source = background_task
omit =
background_task/tests/*
61 changes: 61 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,64 @@
/src
/include
/dist
# Byte-compiled / optimized / DLL files
__pycache__/
*.py[cod]
*$py.class

# C extensions
*.so

# Distribution / packaging
.Python
env*/
build/
develop-eggs/
dist/
downloads/
eggs/
.eggs/
lib/
lib64/
parts/
sdist/
var/
*.egg-info/
.installed.cfg
*.egg

# PyInstaller
# Usually these files are written by a python script from a template
# before PyInstaller builds the exe, so as to inject date/other infos into it.
*.manifest
*.spec

# Installer logs
pip-log.txt
pip-delete-this-directory.txt

# Unit test / coverage reports
htmlcov/
.tox/
.coverage
.coverage.*
.cache
nosetests.xml
coverage.xml
*,cover

# Translations
*.mo
*.pot

# Django stuff:
*.log

# Sphinx documentation
docs/_build/

# PyBuilder
target/

test_db
.idea
45 changes: 45 additions & 0 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
sudo: false
language: python

# this list can be easily checked by running `tox -l`
matrix:
include:
- { python: "2.7", env: TOX_ENV=py27-django18-async }
- { python: "2.7", env: TOX_ENV=py27-django18-sync }
- { python: "2.7", env: TOX_ENV=py27-django111-async }
- { python: "2.7", env: TOX_ENV=py27-django111-sync }

- { python: "3.4", env: TOX_ENV=py34-django18-async }
- { python: "3.4", env: TOX_ENV=py34-django18-sync }
- { python: "3.4", env: TOX_ENV=py34-django111-async }
- { python: "3.4", env: TOX_ENV=py34-django111-sync }
- { python: "3.4", env: TOX_ENV=py34-django20-sync }
- { python: "3.4", env: TOX_ENV=py34-django20-async }

- { python: "3.5", env: TOX_ENV=py35-django18-async }
- { python: "3.5", env: TOX_ENV=py35-django18-sync }
- { python: "3.5", env: TOX_ENV=py35-django111-async }
- { python: "3.5", env: TOX_ENV=py35-django111-sync }
- { python: "3.5", env: TOX_ENV=py35-django20-async }
- { python: "3.5", env: TOX_ENV=py35-django20-sync }
- { python: "3.5", env: TOX_ENV=py35-django21-async }
- { python: "3.5", env: TOX_ENV=py35-django21-sync }

- { python: "3.6", env: TOX_ENV=py36-django111-async }
- { python: "3.6", env: TOX_ENV=py36-django111-sync }
- { python: "3.6", env: TOX_ENV=py36-django20-async }
- { python: "3.6", env: TOX_ENV=py36-django20-sync }
- { python: "3.6", env: TOX_ENV=py36-django21-async }
- { python: "3.6", env: TOX_ENV=py36-django21-sync }

# the dist: xenial, sudo: true settings are currently needed to test with python 3.7
- { python: "3.7", env: TOX_ENV=py37-django20-async, dist: xenial, sudo: true }
- { python: "3.7", env: TOX_ENV=py37-django20-sync, dist: xenial, sudo: true }
- { python: "3.7", env: TOX_ENV=py37-django21-async, dist: xenial, sudo: true }
- { python: "3.7", env: TOX_ENV=py37-django21-sync, dist: xenial, sudo: true }

install: pip install tox-travis coveralls

script: tox -e $TOX_ENV

after_success: coveralls
25 changes: 25 additions & 0 deletions AUTHORS.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
Contributors

* John Montgomery (lilspikey & johnsensible, initiator)
* Yannik Ammann (yannik-ammann)
* Luthaf (luthaf)
* Philippe O. Wagner (philippeowagner)
* weijia (weijia)
* tdruez (tdruez)
* Chad G. Hansen (chadgh)
* Grant McConnaughey (grantmcconnaughey)
* James Mason (bear454)
* Pavel Zagrebelin (Zagrebelin)
* Stephen Brown (december1981)
* Adam Johnson (adamchainz)
* (kherrett)
* Johannes Dillmann (kleingeist)
* TheLovinator1
* AMRivkin
* jtimmons
* jedie
* lorddaedra
* dbreen


Your name could stand here :)
142 changes: 142 additions & 0 deletions CONTRIBUTING.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,142 @@
# Contributing to this project

Please take a moment to review this document in order to make the contribution
process easy and effective for everyone involved.

Following these guidelines helps to communicate that you respect the time of
the developers managing and developing this open source project. In return,
they should reciprocate that respect in addressing your issue or assessing
patches and features.


## Using the issue tracker

The issue tracker is the preferred channel for [bug reports](#bugs),
[features requests](#features) and [submitting pull
requests](#pull-requests), but please respect the following restrictions:

* Please **do not** use the issue tracker for personal support requests (use
[Stack Overflow](http://stackoverflow.com) or IRC).

* Please **do not** derail or troll issues. Keep the discussion on topic and
respect the opinions of others.


<a name="bugs"></a>
## Bug reports

A bug is a _demonstrable problem_ that is caused by the code in the repository.
Good bug reports are extremely helpful - thank you!

Guidelines for bug reports:

1. **Use the GitHub issue search** &mdash; check if the issue has already been
reported.

2. **Check if the issue has been fixed** &mdash; try to reproduce it using the
latest `master` or development branch in the repository.

3. **Isolate the problem** &mdash; create a [reduced test
case](http://css-tricks.com/reduced-test-cases/) and a live example.

A good bug report shouldn't leave others needing to chase you up for more
information. Please try to be as detailed as possible in your report. What is
your environment? What steps will reproduce the issue? What browser(s) and OS
experience the problem? What would you expect to be the outcome? All these
details will help people to fix any potential bugs.

Example:

> Short and descriptive example bug report title
>
> A summary of the issue and the browser/OS environment in which it occurs. If
> suitable, include the steps required to reproduce the bug.
>
> 1. This is the first step
> 2. This is the second step
> 3. Further steps, etc.
>
> `<url>` - a link to the reduced test case
>
> Any other information you want to share that is relevant to the issue being
> reported. This might include the lines of code that you have identified as
> causing the bug, and potential solutions (and your opinions on their
> merits).


<a name="features"></a>
## Feature requests

Feature requests are welcome. But take a moment to find out whether your idea
fits with the scope and aims of the project. It's up to *you* to make a strong
case to convince the project's developers of the merits of this feature. Please
provide as much detail and context as possible.


<a name="pull-requests"></a>
## Pull requests

Good pull requests - patches, improvements, new features - are a fantastic
help. They should remain focused in scope and avoid containing unrelated
commits.

**Please ask first** before embarking on any significant pull request (e.g.
implementing features, refactoring code, porting to a different language),
otherwise you risk spending a lot of time working on something that the
project's developers might not want to merge into the project.

Please adhere to the coding conventions used throughout a project (indentation,
accurate comments, etc.) and any other requirements (such as test coverage).

Follow this process if you'd like your work considered for inclusion in the
project:

1. [Fork](http://help.github.com/fork-a-repo/) the project, clone your fork,
and configure the remotes:

```bash
# Clone your fork of the repo into the current directory
git clone https://github.com/<your-username>/<repo-name>
# Navigate to the newly cloned directory
cd <repo-name>
# Assign the original repo to a remote called "upstream"
git remote add upstream https://github.com/<upstream-owner>/<repo-name>
```

2. If you cloned a while ago, get the latest changes from upstream:

```bash
git checkout <dev-branch>
git pull upstream <dev-branch>
```

3. Create a new topic branch (off the main project development branch) to
contain your feature, change, or fix:

```bash
git checkout -b <topic-branch-name>
```

4. Commit your changes in logical chunks. Please adhere to these [git commit
message guidelines](http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html)
or your code is unlikely be merged into the main project. Use Git's
[interactive rebase](https://help.github.com/articles/interactive-rebase)
feature to tidy up your commits before making them public.

5. Locally merge (or rebase) the upstream development branch into your topic branch:

```bash
git pull [--rebase] upstream <dev-branch>
```

6. Push your topic branch up to your fork:

```bash
git push origin <topic-branch-name>
```

7. [Open a Pull Request](https://help.github.com/articles/using-pull-requests/)
with a clear title and description.

**IMPORTANT**: By submitting a patch, you agree to allow the project owner to
license your work under the same license as that used by the project.
1 change: 1 addition & 0 deletions LICENSE
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
Copyright (c) 2015, arteria GmbH.
Copyright (c) 2010, John Montgomery.
All rights reserved.

Expand Down
7 changes: 5 additions & 2 deletions MANIFEST.in
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
include README.rst
include README.md
include LICENSE
recursive-include tests *
include AUTHORS.txt
include requirements.txt
include classifiers
recursive-include tests *
Loading