-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #76 from coredump-ch/member-key-managment
Member key managment
- Loading branch information
Showing
8 changed files
with
131 additions
and
8 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,66 @@ | ||
[ | ||
{ | ||
"model": "memberdb.member", | ||
"pk": 1, | ||
"fields": { | ||
"name": "Donald Knuth", | ||
"email": "[email protected]", | ||
"phone": "+41 79 000 11 22", | ||
"city": "Stanford", | ||
"key_safe": "app" | ||
} | ||
}, | ||
{ | ||
"model": "memberdb.member", | ||
"pk": 2, | ||
"fields": { | ||
"name": "Ada Lovelace", | ||
"email": "[email protected]", | ||
"phone": "+41 78 000 33 44", | ||
"city": "London", | ||
"key_number": "13", | ||
"key_safe": "code" | ||
} | ||
}, | ||
{ | ||
"model": "memberdb.member", | ||
"pk": 3, | ||
"fields": { | ||
"name": "Marvin Minsky", | ||
"email": "[email protected]", | ||
"phone": "+41 77 000 55 66", | ||
"city": "Massachusetts" | ||
} | ||
}, | ||
{ | ||
"model": "memberdb.membership", | ||
"pk": 1, | ||
"fields": { | ||
"Member": 1, | ||
"start": "2017-08-20", | ||
"category": 2, | ||
"ccc": false | ||
} | ||
}, | ||
{ | ||
"model": "memberdb.membership", | ||
"pk": 2, | ||
"fields": { | ||
"Member": 2, | ||
"start": "2020-08-20", | ||
"category": 1, | ||
"ccc": true | ||
} | ||
}, | ||
{ | ||
"model": "memberdb.membership", | ||
"pk": 3, | ||
"fields": { | ||
"Member": 3, | ||
"start": "2015-08-20", | ||
"end": "2020-08-20", | ||
"category": 1, | ||
"ccc": true | ||
} | ||
} | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
# Generated by Django 4.2.18 on 2025-01-22 12:02 | ||
|
||
from django.db import migrations | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("memberdb", "0003_remove_member_access_code"), | ||
] | ||
|
||
operations = [ | ||
migrations.RemoveField( | ||
model_name="member", | ||
name="twitter", | ||
), | ||
] |
30 changes: 30 additions & 0 deletions
30
interna/memberdb/migrations/0005_member_key_number_member_key_safe.py
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,30 @@ | ||
# Generated by Django 4.2.18 on 2025-01-22 12:12 | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
("memberdb", "0004_remove_member_twitter"), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name="member", | ||
name="key_number", | ||
field=models.CharField( | ||
blank=True, help_text="Schlüsselnummer", max_length=100 | ||
), | ||
), | ||
migrations.AddField( | ||
model_name="member", | ||
name="key_safe", | ||
field=models.CharField( | ||
blank=True, | ||
choices=[("app", "App"), ("code", "Code")], | ||
help_text="Art des Schlüsselsafe-Zugriffs", | ||
max_length=100, | ||
), | ||
), | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters