mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2026-02-07 07:36:20 +01:00
Remove references to legacy is_blue attributes
Provide simple EVE model creation forms with ID, populate the rest from providers Correct handling of non-main characters in signals
This commit is contained in:
@@ -113,5 +113,7 @@ def assign_state_on_reactivate(sender, instance, *args, **kwargs):
|
||||
@receiver(post_save, sender=EveCharacter)
|
||||
def check_state_on_character_update(sender, instance, *args, **kwargs):
|
||||
# if this is a main character updating, check that user's state
|
||||
if instance.userprofile:
|
||||
try:
|
||||
instance.userprofile.assign_state()
|
||||
except UserProfile.DoesNotExist:
|
||||
pass
|
||||
|
||||
Reference in New Issue
Block a user