Matthias
a96ceba0be
use constant for content type
2022-01-20 23:58:36 +01:00
Matthias Mair
9e21dde6de
Merge branch 'inventree:master' into webhooks
2022-01-08 21:42:18 +01:00
Oliver
7cb029e7c3
Refactor: Rename "GLOBAL_SETTINGS" to "SETTINGS"
2022-01-01 22:43:35 +11:00
Matthias
260c51f6fc
Pulls out the webhook dev for partial merge
...
Fixes #2036
2021-11-19 22:35:28 +01:00
Oliver
6c724556f1
PEP fixes
2021-11-04 01:21:08 +11:00
Oliver
bebf368d06
Add functionality and unit testing for new model
2021-11-04 01:11:42 +11:00
f2b0717d10
removes all lines consisting only of spaces
...
this really bothers me for some reason - nothing technical
2021-05-06 12:11:38 +02:00
Oliver Walters
0f9c4703cf
Update unit testing
2021-01-03 23:33:47 +11:00
Oliver Walters
ee70e27f7d
Change function name
2020-11-13 13:21:43 +11:00
Oliver Walters
ae7fbd6112
Add PEP8-naming extension for flake
...
- Enforcing python naming checks
2020-11-12 21:53:04 +11:00
Oliver Walters
96ef5e1bde
Travis fixes
2020-11-12 15:37:21 +11:00
Oliver Walters
21315096d4
Further unit testing fixes
2020-11-12 14:53:49 +11:00
Oliver Walters
1738df9042
Update unit tests
2020-11-12 14:48:57 +11:00
Oliver Walters
a6028f027a
Add setting to allow or prohibit duplicate IPN values
2020-11-10 09:03:26 +11:00
Oliver Walters
7286281a06
Fix for unit testing
2020-11-10 07:14:38 +11:00
Oliver Walters
10758a9626
Improvements for global settings
...
- Name and description are defined in models.py
- Lookup functions for name / description / units / default
- Shortcut template for rending settings
- More unit testing
2020-10-25 07:49:38 +11:00
Oliver Walters
226a91718b
Add a simple unit test for the settings model
2020-10-20 08:29:06 +11:00
Oliver Walters
9f91797f42
Simple test case for currency
2019-09-03 09:19:37 +10:00
Oliver Walters
aeb25e4c34
startapp common
2019-09-03 08:30:14 +10:00