Peter Pfeufer
e5f3a67919
[FIX] Calls to deprecated utcnow method of datetime.datetime
...
datetime.datetime.utcnow() is deprecated and scheduled for removal in a future version. Use timezone-aware objects to represent datetimes in UTC: datetime.datetime.now(datetime.UTC).
```python
@classmethod
@deprecated("Use timezone-aware objects to represent datetimes in UTC; e.g. by calling .now(datetime.UTC)")
def utcnow(cls) -> Self
```
2025-09-27 07:51:46 +02:00
Peter Pfeufer
257fbdef36
[FIX] Capitalization of Jabber service name
2023-10-31 10:03:06 +01:00
Peter Pfeufer
a6b340c179
update code to reflect the new minimum python version 3.7
...
- update string format method
- remove redundant default arguments from function calls
- remove unused imports
- remove unicode identifier from strings, it's default in py3 (see: https://stackoverflow.com/a/4182635/12201331 )
2021-10-18 11:59:05 +02:00
Peter Pfeufer
e6a4cea4de
editorconfig applied
2021-05-17 11:42:28 +02:00
ErikKalkoken
73f262ce4b
Add missing translations
2020-03-24 20:21:35 +01:00
Ariel Rin
4b27dd40b9
Support and Test against Python3.8
2020-02-07 04:49:17 +00:00
Basraah
ef37cb3ea5
Name generator/formatter ( #897 )
...
* Squash services migrations
* Add name to example service to allow it to be used in tests
* Add name formatter to services
* Add documentation
2017-10-11 12:34:31 +10:00
Basraah
7beec38881
Move templates and fix namespacing
...
Move base template
Refactor services urls and templates
Refactor groupmanagement urls and templates
Refactor notifications urls and templates
2017-09-23 06:48:51 +10:00
Basraah
786859294d
Restructure Alliance Auth package ( #867 )
...
* Refactor allianceauth into its own package
* Add setup
* Add missing default_app_config declarations
* Fix timerboard namespacing
* Remove obsolete future imports
* Remove py2 mock support
* Remove six
* Add experimental 3.7 support and multiple Dj versions
* Remove python_2_unicode_compatible
* Add navhelper as local package
* Update requirements
2017-09-19 09:46:40 +10:00