Skip to content

Commit af6a47d

Browse files
Fix-up docs and remove unnecessary stuff.
1 parent d81f5a3 commit af6a47d

14 files changed

+20
-93
lines changed

.travis.yml

Lines changed: 0 additions & 13 deletions
This file was deleted.

CONTRIBUTING.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -60,8 +60,7 @@ Ready to contribute? Here's how to set up `django_dbshell_plus` for local develo
6060

6161
5. When you're done making changes, check that your changes pass flake8 and the tests, including testing other Python versions with tox::
6262

63-
$ flake8 django_dbshell_plus tests
64-
$ python setup.py test
63+
$ flake8 django_dbshell_plus
6564
$ tox
6665

6766
To get flake8 and tox, just pip install them into your virtualenv.

HISTORY.rst

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,10 @@ Changelog
55
Here's the recent changes to Django DB Shell Plus.
66

77
.. changelog::
8-
:version: dev
9-
:released: Ongoing
8+
:version: 1.0.1
9+
:released: 2015-08-12
1010

1111
.. change::
12-
:tags: docs
12+
:tags: general
1313

14-
Updated CHANGES.
14+
Initial version, use `pgcli` or `mycli` when available.

MANIFEST.in

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,3 @@ include HISTORY.rst
44
include LICENSE
55
include README.rst
66
include requirements.txt
7-
include test_requirements.txt

Makefile

Lines changed: 2 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,12 @@ help:
44
@echo "clean-build - remove build artifacts"
55
@echo "clean-pyc - remove Python file artifacts"
66
@echo "lint - check style with flake8"
7-
@echo "test - run tests"
87
@echo "coverage - check code coverage quickly with the default Python"
98
@echo "docs - generate Sphinx HTML documentation, including API docs"
109
@echo "release - package and upload a release"
1110
@echo "sdist - package"
1211

13-
clean: clean-build clean-pyc
12+
clean: clean-build clean-pyc clean-docs
1413
rm -fr htmlcov/
1514

1615
clean-build:
@@ -27,13 +26,7 @@ clean-docs:
2726
rm -f docs/django_dbshell_plus*.rst
2827

2928
lint:
30-
flake8 lib/django_dbshell_plus tests
31-
32-
test:
33-
tox
34-
35-
coverage:
36-
tox -e coverage
29+
flake8 lib/django_dbshell_plus
3730

3831
docs:
3932
tox -e docs

README.rst

Lines changed: 6 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,23 +2,15 @@
22
Django DB Shell Plus
33
====================
44

5-
.. This is an example of how the readme could be decorated with badges.
6-
.. image:: https://badge.fury.io/py/django_dbshell_plus.png
7-
:target: http://badge.fury.io/py/django_dbshell_plus
85

9-
.. image:: https://travis-ci.org/<your github username>/django_dbshell_plus.png?branch=master
10-
:target: https://travis-ci.org/<your github username>/django_dbshell_plus
6+
.. image:: https://badge.fury.io/py/django_dbshell_plus.png
7+
:target: http://badge.fury.io/py/django-dbshell-plus
118

12-
.. image:: https://pypip.in/d/django_dbshell_plus/badge.png
13-
:target: https://crate.io/packages/django_dbshell_plus?version=latest
9+
.. image:: https://pypip.in/d/django_dbshell_plus/badge.png
10+
:target: https://crate.io/packages/django-dbshell-plus?version=latest
1411

1512

16-
A dbshell_plus management command for Django that selects pgcli or mycli when available.
13+
A dbshell_plus management command for Django that selects `pgcli` or `mycli` when available.
1714

1815
* Free software: BSD license
19-
* Documentation: http://django_dbshell_plus.rtfd.org.
20-
21-
Features
22-
--------
23-
24-
* TODO
16+
* Documentation: http://django-dbshell-plus.rtfd.org.

docs/django_dbshell_plus.rst

Lines changed: 0 additions & 10 deletions
This file was deleted.

docs/index.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ Contents:
1212

1313
installation
1414
usage
15-
django_dbshell_plus
1615
contributing
1716
authors
1817
history

docs/installation.rst

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,5 @@ Installation
44

55
At the command line::
66

7-
$ easy_install django_dbshell_plus
8-
9-
Or, if you have virtualenvwrapper installed::
10-
11-
$ mkvirtualenv django_dbshell_plus
127
$ pip install django_dbshell_plus
8+

docs/usage.rst

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
Usage
33
=====
44

5-
To use Django DB Shell Plus in a project::
5+
Add `django_dbshell_plus` to installed apps in `settings.py`, then run::
6+
7+
> ./manage.py dbshell_plus
68

7-
import django_dbshell_plus

0 commit comments

Comments
 (0)