Revised README.

This commit is contained in:
依瑪貓 2021-02-03 11:20:13 +08:00
parent 1cc9b1732b
commit 112201ee8b

View File

@ -1,11 +1,10 @@
###################################### ======================================
The Mia! Django Accounting Application The Mia! Django Accounting Application
###################################### ======================================
***********
Description Description
*********** ===========
*mia-accounting* is a `Django <https://www.djangoproject.com>`_ *mia-accounting* is a `Django <https://www.djangoproject.com>`_
accounting application. It was rewritten from my own private accounting application. It was rewritten from my own private
@ -30,15 +29,14 @@ You may try it in live demonstration at:
- Password: ``12345`` - Password: ``12345``
************
Installation Installation
************ ============
Install Install
####### -------
The Mia! Django accounting application requires Python 3.6 or above The Mia! Django accounting application requires Python 3.7 and Django
to work. 3.1.
Install ``mia-accounting`` with ``pip``. Install ``mia-accounting`` with ``pip``.
@ -47,7 +45,7 @@ Install ``mia-accounting`` with ``pip``.
pip install mia-accounting pip install mia-accounting
``settings.py`` ``settings.py``
############### ---------------
Add these two applications in the ``INSTALL_APPS`` section of your Add these two applications in the ``INSTALL_APPS`` section of your
``settings.py``. ``settings.py``.
@ -72,7 +70,7 @@ your ``settings.py``, and add it if it is not added yet.
] ]
``urls.py`` ``urls.py``
########### -----------
Add the ``accounting`` application in the ``urlpatterns`` in your Add the ``accounting`` application in the ``urlpatterns`` in your
``urls.py``. ``urls.py``.
@ -98,7 +96,7 @@ your ``urls.py``, and add them if they are not added yet.
] ]
``base.html`` ``base.html``
############# -------------
Add the following to the very beginning of your base template Add the following to the very beginning of your base template
``base.html``, before your first real HTML tag. ``base.html``, before your first real HTML tag.
@ -122,7 +120,7 @@ base template ``base.html``.
{% endfor %} {% endfor %}
Database Initialization Database Initialization
####################### -----------------------
Run the management commands to initialize the database. Run the management commands to initialize the database.
@ -138,14 +136,13 @@ Optionally you can populate the database with some sample data.
./manage.py accounting_sample ./manage.py accounting_sample
Restart Your Web Server Restart Your Web Server
####################### -----------------------
And you are done. And you are done.
*****************
Advanced Settings Advanced Settings
***************** =================
The following advanced settings are available in ``settings.py``. The following advanced settings are available in ``settings.py``.
@ -224,7 +221,7 @@ The following advanced settings are available in ``settings.py``.
Bugs and Supports Bugs and Supports
################# =================
The Mia! Django accounting application is hosted on GitHub. The Mia! Django accounting application is hosted on GitHub.
@ -232,8 +229,9 @@ The Mia! Django accounting application is hosted on GitHub.
Address all bugs and support requests to imacat@mail.imacat.idv.tw. Address all bugs and support requests to imacat@mail.imacat.idv.tw.
Copyright Copyright
######### =========
Copyright (c) 2020-2021 imacat. Copyright (c) 2020-2021 imacat.