Skip to content
Snippets Groups Projects
Commit b50066a3 authored by Matthieu Fesselier's avatar Matthieu Fesselier
Browse files

Merge branch 'bugfix/ldp-field-object' into 'master'

bugfix: add @id to object field

See merge request startinblox/djangoldp-packages/djangoldp-notifications!6
parents 3f2c0fbf 6246b2d6
No related branches found
No related tags found
No related merge requests found
# -*- coding: utf-8 -*-
# Generated by Django 1.11 on 2019-03-01 04:18
from __future__ import unicode_literals
from django.db import migrations
import djangoldp.fields
class Migration(migrations.Migration):
dependencies = [
('djangoldp_notification', '0001_initial'),
]
operations = [
migrations.AlterField(
model_name='notification',
name='object',
field=djangoldp.fields.LDPUrlField(),
),
]
......@@ -13,7 +13,7 @@ from django.contrib.admin.models import LogEntry
class Notification(models.Model):
user = models.ForeignKey(settings.AUTH_USER_MODEL, related_name='inbox')
author_user = LDPUrlField()
object = models.URLField()
object = LDPUrlField()
type = models.CharField(max_length=255)
summary = models.TextField()
date = models.DateTimeField(auto_now_add=True)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment