Commit Graph

108 Commits

Author SHA1 Message Date
688e350017 Adapted dirtyfields in the data models. 2020-08-02 09:53:26 +08:00
fe8dae191e Revised the strip_form() utility to remove the empty input in the Mia core application. 2020-08-02 09:44:08 +08:00
db4100cb9c Removed the unused is_chosen_year() method from the Period utility in the Mia core application. 2020-08-02 02:28:47 +08:00
c3fc7ad3ca Removed unnecessary @property decorations in the Period utility in the Mia core application. 2020-08-02 02:27:54 +08:00
783ecea5cb Revised the documentation of Period in the Mia core application. 2020-08-02 02:20:08 +08:00
1b89fef01c Fixed and replaced the incorrect class property declaration with the instance property declaration, and replaced unnecessary pseudo properties with instance properties. 2020-08-02 01:04:47 +08:00
edb1aece09 Fixed the documentation of the view of the home page in the Mia core application. 2020-08-02 00:29:43 +08:00
da80816b37 Revised the coding style according to PEP8. 2020-08-02 00:08:53 +08:00
9d988f17ca Added forms and validators, and applied them to the transaction form in the accounting application. 2020-08-01 23:56:41 +08:00
c1da25b3b5 Fixed the text in the period chooser for the period "since last month" in the period chooser template in the Mia core application. 2020-08-01 07:56:06 +08:00
aec234fc01 Renamed the add_param() method to add(), the del_param() method to remove(), and the set_param() method to set() in UrlBuilder in the Mia core application. 2020-07-31 21:16:03 +08:00
1a27d87400 Added the strip_form() utility to the Mia core application, and apply it to the transaction_store() view of the accounting application. 2020-07-31 00:14:12 +08:00
a30c937a4b Renamed the digest_login_required() decorator to login_required(), for consistency. 2020-07-30 00:12:13 +08:00
e64089f06f Added the default_spec() method to Period, and applied it to the views in the accounting application. 2020-07-29 19:08:10 +08:00
80b871d488 Added the retrieve_status() utility and applied it in the retrieve_status template tag in the Mia core application. 2020-07-28 22:22:06 +08:00
983f38d6f0 Renamed the function of the retrieve_status() template tag to retrieve_status_tag() with alias to retrieve_status. 2020-07-28 22:19:26 +08:00
a0ec831310 Removed the unused index template filter from the Mia core application. 2020-07-28 22:12:46 +08:00
9ab325a1c7 Added the dict template filter to obtain a value from a dictionary in the Mia core application, and applied it in the templates of the forms of the transactions in the acccounting application. 2020-07-28 22:11:54 +08:00
d6df2496be Removed an excess trailing blank line in the Mia core application. 2020-07-28 20:14:55 +08:00
7ae30f9980 Revised the retrieve_status() template tag and renamed the errors template variable to page_errors in the Mia core application. 2020-07-28 20:06:09 +08:00
50c06bd3d3 Added the error_redirect() utility, and revised the documentation of the stored status utilities in the Mia core application. 2020-07-28 20:01:58 +08:00
958e3048bb Added the documentation to the success_redirect() utility in the Mia core application. 2020-07-28 19:34:14 +08:00
依瑪貓
8285c69685 Fixed an error in the storing the status into the session in the Mia core application. 2020-07-28 09:38:58 +08:00
b5e7f9878f Fixed an error in the storing the status into the session in the Mia core application. 2020-07-28 08:43:30 +08:00
e90defd25d Added the stored status and a dummy transaction_store() view to the accounting application. 2020-07-28 08:22:42 +08:00
99fb99b160 Added the view and the templates for the forms of the transactions in the accounting application. 2020-07-27 22:36:28 +08:00
cc18dbd5f1 Reordered the code in the template tags in the Mia core application. 2020-07-27 21:23:40 +08:00
5a2a3a6c56 Fixed the UrlBuilder utility to allow dummy parameter value that is None in the Mia core application. 2020-07-24 07:25:30 +08:00
10cbe2a70f Revised the documentation of the utilities of the Mia core application. 2020-07-24 06:42:33 +08:00
6e49443b88 Renamed the new_id() utility to new_pk() in the Mia core application. 2020-07-23 23:24:42 +08:00
e04736b90d Renamed the new_sn() utility to new_id() in the Mia core application. 2020-07-23 23:04:18 +08:00
6453cd4b8e Added the edit button to the transaction views in the accounting application. 2020-07-23 22:32:34 +08:00
0a29ffaa12 Moved the url_with_return template tag from the accounting application to the Mia core application. 2020-07-23 22:23:40 +08:00
334292e6e8 Revised the url_period() tag in the Mia core application. 2020-07-23 22:19:27 +08:00
25383a3ae6 Employed a regular expression pattern in the PeriodConverter to check the period format first. 2020-07-23 22:13:17 +08:00
d88d3942d2 Removed the url_query() template tag from the Mia core application. 2020-07-23 22:05:41 +08:00
2db3899dea Added the transaction views in the accounting application. 2020-07-23 22:02:26 +08:00
f9a9a99246 Added PeriodConverter to convert a period specification to a period, and applied it in the URL patterns. 2020-07-21 22:05:39 +08:00
01dbd7e60b Removed the default order of the users and the countries in the Mia core application. 2020-07-21 21:24:36 +08:00
ebb7c06f91 Applied the set_multi_lingual_attr() utility function to the titles of the accounts and the names of the countries. 2020-07-21 21:23:54 +08:00
8d2d4c39b6 Added the set_multi_lingual_attr() utility function in the Mia core application. 2020-07-21 21:21:43 +08:00
依瑪貓
c6a62d92d5 Added the search page in the accounting application. 2020-07-21 10:04:29 +08:00
361b8c9881 Added the new_sn() utility method to the Mia core application. 2020-07-20 21:55:34 +08:00
b8b5546b9f Renamed the variables. 2020-07-19 21:08:10 +08:00
1cd64955a3 Removed the now-unused SqlQuery from the Mia core application. 2020-07-18 23:43:31 +08:00
0525197993 Renamed the variable in the url_period template tag in the Mia core application. 2020-07-17 23:06:10 +08:00
856bcd47ff Revised the url_period template tag so that it works with or without the subject code in the mia_core application. 2020-07-17 23:05:23 +08:00
e2945045f3 Added the default parameter to the get_multi_lingual_attr() function to allow a different default lanugage for a data model. 2020-07-16 23:18:16 +08:00
418dcd9803 Renamed the get_multi_language_attr() method to get_multi_lingual_attr(), and renamed the multi-lingual model fields from _zhtw to _zh_hant, and _zhcn to _zh_hans. 2020-07-16 23:13:15 +08:00
a58f6d6d11 Moved the core custom template filters and tags to the template tag library in the Mia core application. 2020-07-16 23:03:37 +08:00