You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: README.md
+24-9
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,5 @@
1
1
# django-dropbox
2
-
> Version 0.0.1
2
+
> Version 0.1.2
3
3
4
4
# What
5
5
@@ -23,16 +23,31 @@ INSTALLED_APPS on settings.py
23
23
24
24
additionally you must need to set the next settings:
25
25
26
-
DROPBOX_CONSUMER_KEY = 'xxx'
27
-
DROPBOX_CONSUMER_SECRET = 'xxx'
28
26
DROPBOX_ACCESS_TOKEN = 'xxx'
29
-
DROPBOX_ACCESS_TOKEN_SECRET = 'xxx'
30
27
31
-
if you don't have `DROPBOX_CONSUMER_KEY` or `DROPBOX_CONSUMER_SECRET`
32
-
you will need to create an Dropbox app at [Dropbox for Developers](https://www.dropbox.com/developers)
33
-
then set `DROPBOX_CONSUMER_KEY` and `DROPBOX_CONSUMER_SECRET` settings in `settings.py`,
34
-
after that run:
28
+
if you don't have `DROPBOX_ACCESS_TOKEN` you can create one after creating a Dropbox app at [Dropbox for Developers](https://www.dropbox.com/developers).
29
+
If you have your Dropbox `App key` and `App secret`, you can set `DROPBOX_CONSUMER_KEY` and `DROPBOX_CONSUMER_SECRET` settings in `settings.py`, then run:
35
30
36
31
$ python manage.py get_dropbox_token
37
32
38
-
And follow up on screen instructions, finally set the `DROPBOX_ACCESS_TOKEN` and `DROPBOX_ACCESS_TOKEN_SECRET` in `settings.py`
33
+
And follow up on screen instructions, finally set the and `DROPBOX_ACCESS_TOKEN_SECRET` in `settings.py`
34
+
35
+
36
+
# Contributing
37
+
When contributing, please follow these steps:
38
+
39
+
* Clone the repo and make your changes.
40
+
* Make sure your code has test cases written against it.
41
+
* Make sure all the tests pass.
42
+
* Lint your code with Flake8.
43
+
* Add your name to the list of contributers.
44
+
* Submit a Pull Request.
45
+
46
+
## Tests
47
+
48
+
Tests are written following Django best practices. You can run them all easily using the example django_project.
imp.find_module('settings') # Assumed to be in the same directory.
6
-
exceptImportError:
7
-
importsys
8
-
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"%__file__)
0 commit comments