-
Notifications
You must be signed in to change notification settings - Fork 11
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 #22 from caktus/django-1-10
Django 1.8-1.10 support
- Loading branch information
Showing
39 changed files
with
417 additions
and
372 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 |
---|---|---|
@@ -0,0 +1,3 @@ | ||
[run] | ||
source = file_picker | ||
omit = */tests*,*/migrations/* |
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,6 +1,7 @@ | ||
*.pyc | ||
*.db | ||
sample_project/sample_project/media | ||
sample_project/media | ||
_build | ||
*.egg-info* | ||
.tox | ||
.coverage |
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,10 @@ | ||
language: python | ||
|
||
python: | ||
- "2.7" | ||
|
||
install: | ||
- pip install tox | ||
|
||
script: | ||
- tox |
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
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
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,9 +1,9 @@ | ||
Motivation | ||
========== | ||
|
||
The deep concern while building file picker has been flexibility. Too many | ||
projects focus on wrapping everything together so that they can make | ||
The deep concern while building a file picker has been flexibility. Too many | ||
projects focus on wrapping everything together so that they can make | ||
deep connections. | ||
|
||
Our main goal has been to build a application that facilitates connections, | ||
that can be attached accross multiple applications and models. | ||
that can be attached across multiple applications and models. |
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,17 @@ | ||
Running the Sample Project | ||
=============================== | ||
|
||
django-file-picker includes a sample project to use as an example. You can run the sample project like so:: | ||
|
||
~$ mkvirtualenv --distribute filepicker-sample | ||
(filepicker-sample)~$ pip install "django>=1.8,<1.11" | ||
(filepicker-sample)~$ git clone git://github.com/caktus/django-file-picker.git | ||
(filepicker-sample)~$ cd django-file-picker/ | ||
(filepicker-sample)~/django-file-picker$ python setup.py develop | ||
(filepicker-sample)~/django-file-picker$ cd sample_project/ | ||
(filepicker-sample)~/django-file-picker/sample_project$ ./manage.py migrate | ||
(filepicker-sample)~/django-file-picker/sample_project$ ./manage.py createsuperuser | ||
(filepicker-sample)~/django-file-picker/sample_project$ ./manage.py runserver | ||
|
||
Then go to the `admin <http://localhost:8000/admin/>`_, log in, and add an Article Post. There will be 2 | ||
links to 'Insert File' and 'Insert Image' which will pop up the File Picker dialog. |
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
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
Oops, something went wrong.