Migrate to PositiveBigIntegerField and other minor fixes
- Using
PositiveBigIntegerField
for user telegram ids - Add context: CallbackContext typing
- Remove unused fields from
User
model - Add
GetOrNoneManager
. Example of using:user = User.objects.get_or_none(user_id=<some_id>)
- Add
AdminManager
. You can select all admins viaUser.admins.all()
instead ofUser.objects.filter(is_admin=True)