diff --git a/djangoldp/admin.py b/djangoldp/admin.py index e3b01fb19f0a46da0755d28c112dec0d8fecd63f..13370eb9c2d30adf23697b66dade78891f3becf6 100644 --- a/djangoldp/admin.py +++ b/djangoldp/admin.py @@ -1,5 +1,4 @@ from django.contrib import admin -from .models import LDPSource, LDNotification +from .models import LDPSource admin.site.register(LDPSource) -admin.site.register(LDNotification) diff --git a/djangoldp/models.py b/djangoldp/models.py index a57b26d2ff258dc54eefa5e035b42dbc40e51072..a3fe37c6d74021e40a343bbf66ae8748446d47b6 100644 --- a/djangoldp/models.py +++ b/djangoldp/models.py @@ -134,19 +134,3 @@ class LDPSource(models.Model): def __str__(self): return "{}: {}".format(self.federation, self.container) - - -class LDNotification(models.Model): - user = models.ForeignKey(settings.AUTH_USER_MODEL, on_delete=models.deletion.CASCADE) - author = models.URLField() - object = models.URLField() - type = models.CharField(max_length=255) - summary = models.TextField() - date = models.DateTimeField(auto_now_add=True) - - class Meta: - permissions = ( - ('view_todo', 'Read'), - ('control_todo', 'Control'), - ) -