Skip to content

Commit

Permalink
Add license note to the readme.
Browse files Browse the repository at this point in the history
  • Loading branch information
streeter committed Mar 3, 2013
1 parent 0942586 commit 3f450df
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 1 deletion.
7 changes: 7 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,14 @@ contains any write actions (defined in
detected, an exception is raised.


License
-------

Uses the [MIT][mit] license.


[pypi]: http://pypi.python.org/pypi/django-db-readonly/
[error500]: http://docs.djangoproject.com/en/1.3/topics/http/urls/#handler500
[ddt]: https://github.com/robhudson/django-debug-toolbar
[sql-panel]: https://github.com/robhudson/django-debug-toolbar/blob/master/debug_toolbar/panels/sql.py
[mit]: http://opensource.org/licenses/MIT
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ def run(self, *args, **kwargs):
url='http://github.com/streeter/django-db-readonly',
description='Add a global database read-only setting.',
packages=packages,
license=open('LICENSE').read(),
license='MIT',
zip_safe=False,
install_requires=requires,
test_suite='readonly.tests',
Expand Down

0 comments on commit 3f450df

Please sign in to comment.