show tickets filtered by active event
This commit is contained in:
parent
8dd56dd859
commit
450562f534
8 changed files with 175 additions and 198 deletions
|
@ -15,9 +15,11 @@ import sys
|
|||
import dotenv
|
||||
from pathlib import Path
|
||||
|
||||
|
||||
def truthy_str(s):
|
||||
return s.lower() in ['true', '1', 't', 'y', 'yes', 'yeah', 'yup', 'certainly', 'sure', 'positive', 'uh-huh', '👍']
|
||||
|
||||
|
||||
# Build paths inside the project like this: BASE_DIR / 'subdir'.
|
||||
BASE_DIR = Path(__file__).resolve().parent.parent
|
||||
|
||||
|
|
|
@ -55,8 +55,6 @@ class IssueSerializer(serializers.ModelSerializer):
|
|||
ret = super().to_internal_value(data)
|
||||
if 'state' in data:
|
||||
ret['state'] = data['state']
|
||||
# if 'assigned_to' in data:
|
||||
# ret['assigned_to'] = data['assigned_to']
|
||||
return ret
|
||||
|
||||
def validate(self, attrs):
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue