Skip to content

Commit 3127eb6

Browse files
committed
beautify readme
1 parent aeaa492 commit 3127eb6

File tree

1 file changed

+14
-12
lines changed

1 file changed

+14
-12
lines changed

README.rst

Lines changed: 14 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -41,8 +41,8 @@ Plugins Supported file formats
4141
================ ========================================================================
4242
`pyexcel-xls`_ xls, xlsx(r), xlsm(r)
4343
`pyexcel-xlsx`_ xlsx
44-
`pyexcel-ods`_ ods (python 2.6, 2.7)
4544
`pyexcel-ods3`_ ods (python 2.7, 3.3, 3.4)
45+
`pyexcel-ods`_ ods (python 2.6, 2.7)
4646
`pyexcel-text`_ (write only)json, rst, mediawiki,latex, grid, pipe, orgtbl, plain simple
4747
================ ========================================================================
4848

@@ -75,12 +75,16 @@ Tested Django Versions
7575
Installation
7676
============
7777

78-
You can install it via pip::
78+
You can install it via pip:
79+
80+
.. code-block:: bash
81+
82+
$ pip install django-excel
7983
80-
$ pip install django-excel
8184
85+
or clone it and install it:
8286

83-
or clone it and install it::
87+
.. code-block:: bash
8488
8589
$ git clone http://github.com/chfw/django-pyexcel.git
8690
$ cd django-excel
@@ -91,7 +95,9 @@ Installation of individual plugins , please refer to individual plugin page.
9195
Setup
9296
======
9397

94-
You will need to update your *settings.py*::
98+
You will need to update your *settings.py*:
99+
100+
.. code-block:: python
95101
96102
FILE_UPLOAD_HANDLERS = ("django_excel.ExcelMemoryFileUploadHandler",
97103
"django_excel.TemporaryExcelFileUploadHandler")
@@ -100,7 +106,9 @@ You will need to update your *settings.py*::
100106
Usage
101107
======
102108

103-
Here is the example viewing function codes::
109+
Here is the example viewing function codes:
110+
111+
.. code-block:: python
104112
105113
from django.shortcuts import render_to_response
106114
from django.http import HttpResponseBadRequest
@@ -134,10 +142,4 @@ License
134142

135143
New BSD License
136144

137-
Dependencies
138-
=============
139-
140-
* Django
141-
* pyexcel >= 0.1.5
142-
* pyexcel-webio
143145

0 commit comments

Comments
 (0)