mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-09 20:40:17 +02:00
11 lines
300 B
Python
Executable File
11 lines
300 B
Python
Executable File
from django.db import models
|
|
from django.contrib.auth.models import User
|
|
|
|
|
|
class SyncGroupCache(models.Model):
|
|
groupname = models.CharField(max_length=254)
|
|
user = models.ForeignKey(User)
|
|
|
|
def __str__(self):
|
|
return self.user.username + ' - ' + self.groupname + ' - SyncGroupCache'
|