Skip to content

Commit 4b35d0b

Browse files
committed
update docs & removed css atwho
1 parent 5cd6559 commit 4b35d0b

File tree

2 files changed

+36
-9
lines changed

2 files changed

+36
-9
lines changed

README.rst

Lines changed: 36 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -41,29 +41,57 @@ Preview
4141
.. image:: https://raw.githubusercontent.com/agusmakmun/dracos-markdown-editor/master/__screenshot/draceditor-preview.png
4242

4343

44+
Requirements
45+
------------------------------
46+
47+
* ``Django>=1.10.1``
48+
* ``Markdown>=2.6.7``
49+
* ``requests>=2.12.4``
50+
51+
4452
Installation
4553
------------------------------
4654

4755
DracEditor is available directly from `PyPI`_:
4856

57+
1. Installing the package.
58+
4959
::
5060

5161
$ pip install draceditor
5262

5363

54-
***).** And don't forget to add ``'draceditor'`` to your ``'INSTALLED_APPS'`` setting `(without migrations)`.
64+
2. Don't forget to add ``'draceditor'`` to your ``'INSTALLED_APPS'`` setting `(without migrations)`.
5565

66+
::
5667

57-
Requirements
58-
------------------------------
68+
# settings.py
69+
INSTALLED_APPS = [
70+
....
71+
'draceditor',
72+
]
5973

60-
* ``Django>=1.10.1``
61-
* ``Markdown>=2.6.7``
62-
* ``requests>=2.12.4``
6374

75+
3. Add url pattern to your ``urls.py.``
6476

65-
Configurations
66-
------------------------------
77+
::
78+
79+
# urls.py
80+
urlpatterns = [
81+
...
82+
url(r'^draceditor/', include('draceditor.urls')),
83+
]
84+
85+
86+
4. Collect included some draceditor static files to your ``STATIC_ROOT`` folder.
87+
88+
::
89+
90+
./manage.py collectstatic
91+
92+
93+
Setting Configurations ``settings.py``
94+
---------------------------------------
6795

6896
::
6997

draceditor/widgets.py

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,6 @@ class Media:
3737
css = {
3838
'all': (
3939
'plugins/css/ace.min.css',
40-
'plugins/css/atwho.css',
4140
'plugins/css/semantic.min.css',
4241
'css/draceditor.css',
4342
)

0 commit comments

Comments
 (0)