mirror of
https://gitlab.com/allianceauth/allianceauth.git
synced 2025-07-09 20:40:17 +02:00
18 lines
702 B
Python
18 lines
702 B
Python
from django.db import models
|
|
from django.contrib import admin
|
|
from django.contrib.auth.models import User
|
|
|
|
|
|
class AuthServicesInfo(models.Model):
|
|
forum_username = models.CharField(max_length=254, default="")
|
|
forum_password = models.CharField(max_length=254, default="")
|
|
jabber_username = models.CharField(max_length=254, default="")
|
|
jabber_password = models.CharField(max_length=254, default="")
|
|
mumble_username = models.CharField(max_length=254, default="")
|
|
mumble_password = models.CharField(max_length=254, default="")
|
|
main_char_id = models.CharField(max_length=64, default="")
|
|
|
|
user = models.ForeignKey(User)
|
|
|
|
def __str__(self):
|
|
return self.user.username |