from __future__ import unicode_literals

from django.db import models

# Create your models here.

from __future__ import unicode_literals

from django.conf import settings
from django.db import models


class Bookmark(models.Model):
    user = models.ForeignKey(settings.AUTH_USER_MODEL)
    url = models.URLField(max_length=255)
    title = models.CharField(max_length=255)
    saved = models.DateTimeField(auto_now_add=True)
    deleted = models.BooleanField(default=False)
    comment = models.TextField(blank=True)
    tags = models.ManyToManyField('wptags.Tag')

    def __str__(self):
        return self.title

Add initial bookmark model