mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-09 04:20:17 +02:00
13 lines
391 B
Python
Executable File
13 lines
391 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)
|
|
servicename = models.CharField(max_length=254, default="")
|
|
|
|
user = models.ForeignKey(User)
|
|
|
|
def __str__(self):
|
|
return self.user.username + ' - ' + self.groupname + ' - ' + self.servicename + ' - SyncGroupCache'
|