1
0
Fork 0
Commit Graph

3 Commits (a83a707de2114fce419253b5b802f55f7d648724)

Author SHA1 Message Date
Alfredos-Panagiotis Damkalis a83a707de2 migrations: Replace bytes with string literals
Missing changes from previous commit.

Signed-off-by: Alfredos-Panagiotis Damkalis <fredy@fredy.gr>
2020-01-10 20:07:31 +02:00
Fabian P. Schmidt ec73abeaa7 migrations: Replace bytes with string literals
As long as the bytes literal contains only ASCII data it can be replaced
with a string literal already in Python 2.
https://docs.djangoproject.com/en/1.11/topics/python3/#unicode-literals

The following command was used to generate this patch:
```
sed -i "s/b'\([\x00-\x7F]*\)'/'\1'/g" network/base/migrations/*
```

Similar commit in db: librespacefoundation/satnogs/satnogs-db@f0c0c9bc

Signed-off-by: Fabian P. Schmidt <kerel@mailbox.org>
2020-01-08 18:16:15 +01:00
Alfredos-Panagiotis Damkalis 5ff265b24b Add missing migration for antenna type 2019-03-07 20:04:54 +02:00