This repository has been archived by the owner on Oct 6, 2020. It is now read-only.
forked from johnsensible/django-sendfile
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request johnsensible#28 from NotSqrt/master
- Loading branch information
Showing
11 changed files
with
57 additions
and
38 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,3 +9,4 @@ | |
/lib | ||
/build | ||
.Python | ||
.tox |
This file was deleted.
Oops, something went wrong.
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,10 @@ | ||
#!/usr/bin/env python | ||
import os | ||
import sys | ||
|
||
from __future__ import absolute_import | ||
if __name__ == "__main__": | ||
os.environ.setdefault("DJANGO_SETTINGS_MODULE", "example.settings") | ||
|
||
from django.core.management import execute_manager | ||
try: | ||
from . import settings # Assumed to be in the same directory. | ||
except ImportError: | ||
import sys | ||
sys.stderr.write("Error: Can't find the file 'settings.py' in the directory containing %r. It appears you've customized things.\nYou'll have to run django-admin.py, passing it your settings module.\n(If the file settings.py does indeed exist, it's causing an ImportError somehow.)\n" % __file__) | ||
sys.exit(1) | ||
from django.core.management import execute_from_command_line | ||
|
||
if __name__ == "__main__": | ||
execute_manager(settings) | ||
execute_from_command_line(sys.argv) |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[wheel] | ||
# create "py2.py3-none-any.whl" package | ||
universal = 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# Tox (http://codespeak.net/~hpk/tox/) is a tool for running tests | ||
# in multiple virtualenvs. This configuration file will run the | ||
# test suite on all supported python versions. To use it, "pip install tox" | ||
# and then run "tox" from this directory. | ||
|
||
[tox] | ||
minversion=1.8.0 | ||
envlist = | ||
py26-django14, | ||
py26-django15, | ||
|
||
py27-django14, | ||
py27-django15, | ||
py27-django16, | ||
py27-django17, | ||
|
||
py32-django15, | ||
py32-django16, | ||
py32-django17, | ||
|
||
py33-django15, | ||
py33-django16, | ||
py33-django17, | ||
|
||
py34-django15, | ||
py34-django16, | ||
py34-django17, | ||
|
||
[testenv] | ||
changedir = examples/protected_downloads | ||
commands = python manage.py test sendfile | ||
deps = | ||
django14: django >=1.4.2,<1.5 | ||
django15: django >=1.5,<1.6 | ||
django16: django >=1.6,<1.7 | ||
django17: django >=1.7,<1.8 |