Compare commits

..

No commits in common. "2ec072854bbdd3718fc20776dd1f41fbe1a4ba82" and "020555602d0c280ef45a9c8c9e052eef4311a7aa" have entirely different histories.

4 changed files with 21 additions and 39 deletions

View File

@ -1,25 +1,8 @@
======================================
The Mia! Accounting Django Application
The Mia! Django Accounting Application
======================================
Warning
=======
This is the last release of Django. It will be replaced by a new
Flask_ release, starting from scratch. Do not upgrade to the next
release, as it will not work.
This was my first large Python project, and at that time, I had zero
experience with Django. I ended up in a mess with Django MVT. The
code is unnecessarily complicated, and I do not actually know how the
views work anymore.
If you are new to the Mia! Accounting project, please skip this and
try the new release. You may contact me if you have problems with
the existing installation, but I may not be able to help you.
Description
===========
@ -30,7 +13,7 @@ a modern back-end framework and front-end technology like jQuery. The
first revision was in Perl/Mojolicious_ in 2019. This is the second
revision in Python/Django in 2020.
The Mia! Accounting Django application comes with two parts:
The Mia! Django accounting application comes with two parts:
- The ``accounting`` application contains the main accounting
application.
@ -40,11 +23,10 @@ The Mia! Accounting Django application comes with two parts:
You may try it in live demonstration at:
- URL: https://accounting-django.imacat.idv.tw/accounting
- URL: https://accounting.imacat.idv.tw/accounting
- Username: ``admin``
- Password: ``12345``
.. _Flask: https://flask.palletsprojects.com
.. _Django: https://www.djangoproject.com
.. _mod_perl: https://perl.apache.org
.. _Mojolicious: https://mojolicious.org
@ -56,14 +38,14 @@ Installation
Install
-------
The Mia! Accounting Django application requires Python 3.7 and Django
The Mia! Django accounting application requires Python 3.7 and Django
3.1.
Install ``mia-accounting-django`` with ``pip``.
Install ``mia-accounting`` with ``pip``.
.. code::
pip install mia-accounting-django
pip install mia-accounting
``settings.py``
---------------
@ -165,7 +147,7 @@ And you are done.
Management Commands
===================
The following management commands are added by *the Mia! Accounting Django
The following management commands are added by *the Mia! accounting
application* to ``manage.py``:
``accounting_accounts``
@ -301,9 +283,9 @@ The following advanced settings are available in ``settings.py``.
Bugs and Supports
=================
The Mia! Accounting Django application is hosted on GitHub.
The Mia! Django accounting application is hosted on GitHub.
https://github.com/imacat/mia-accounting-django
https://github.com/imacat/mia-accounting
Address all bugs and support requests to imacat@mail.imacat.idv.tw.
@ -311,7 +293,7 @@ Address all bugs and support requests to imacat@mail.imacat.idv.tw.
Copyright
=========
Copyright (c) 2020-2023 imacat.
Copyright (c) 2020-2021 imacat.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.

View File

@ -14,10 +14,10 @@ django.setup()
# -- Project information -----------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#project-information
project = 'Mia! Accounting Django'
copyright = '2022-2023, imacat'
project = 'Mia! Accounting'
copyright = '2022, imacat'
author = 'imacat'
release = '0.2.0'
release = '0.1.0'
# -- General configuration ---------------------------------------------------
# https://www.sphinx-doc.org/en/master/usage/configuration.html#general-configuration

View File

@ -1,10 +1,10 @@
.. Mia! Accounting Django documentation master file, created by
.. Mia! Accounting documentation master file, created by
sphinx-quickstart on Thu Dec 8 00:42:14 2022.
You can adapt this file completely to your liking, but it should at least
contain the root `toctree` directive.
Welcome to Mia! Accounting Django's documentation!
==================================================
Welcome to Mia! Accounting's documentation!
===========================================
.. toctree::
:maxdepth: 2

View File

@ -1,7 +1,7 @@
# The setup.cfg
# by imacat <imacat@mail.imacat.idv.tw>, 2020/9/7
# Copyright (c) 2020-2023 imacat.
# Copyright (c) 2020 imacat.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
@ -17,15 +17,15 @@
[metadata]
name = mia-accounting
version = 0.2.0
version = 0.1.0
author = imacat
author_email = imacat@mail.imacat.idv.tw
description = The Mia! Accounting Django project.
description = A Django accounting application.
long_description = file: README.rst
long_description_content_type = text/x-rst
url = https://github.com/imacat/mia-accounting-django
url = https://github.com/imacat/mia-accounting
project_urls =
Bug Tracker = https://github.com/imacat/mia-accounting-django/issues
Bug Tracker = https://github.com/imacat/mia-accounting/issues
classifiers =
Programming Language :: Python :: 3
License :: OSI Approved :: Apache Software License