X-Git-Url: https://git.mdrn.pl/cas.git/blobdiff_plain/ba4a79354412a4679b7a24358c9a09fc60ea78c2..3a5b7046f78122c77861a2cfce46fa3b5e248f8f:/src/accounts/models.py?ds=sidebyside diff --git a/src/accounts/models.py b/src/accounts/models.py index 819fcc0..b0be8d4 100644 --- a/src/accounts/models.py +++ b/src/accounts/models.py @@ -1,17 +1,6 @@ -from django.db import models from cas_provider.signals import cas_collect_custom_attributes -class Service(models.Model): - ordering = models.IntegerField() - name = models.CharField(max_length=255) - url = models.URLField() - image = models.ImageField(upload_to='accounts/service/') - - class Meta: - ordering = ('ordering', ) - - def user_attributes(sender, user, **kwargs): return { 'firstname': user.first_name,