From: Guillaume Pellerin Date: Thu, 28 May 2015 21:43:28 +0000 (+0200) Subject: rm notes X-Git-Tag: 1.1~232^2~5^2~3 X-Git-Url: https://git.parisson.com/?a=commitdiff_plain;h=7dc7287d6fe8571d51b24c8bdd644ee01c9ef7bd;p=teleforma.git rm notes --- diff --git a/teleforma/models/core.py b/teleforma/models/core.py index d6320b06..b008193d 100644 --- a/teleforma/models/core.py +++ b/teleforma/models/core.py @@ -51,7 +51,6 @@ from django.utils.translation import ugettext_lazy as _ from django.contrib.auth.models import User from django.core.exceptions import ValidationError from django.contrib.contenttypes import generic -from notes.models import Note import jqchat.models from django.core.paginator import InvalidPage, EmptyPage from django.template.defaultfilters import slugify @@ -164,7 +163,6 @@ class Course(Model): obligation = BooleanField(_('obligations')) magistral = BooleanField(_('magistral')) - notes = generic.GenericRelation(Note) def __unicode__(self): return self.title @@ -269,7 +267,6 @@ class Conference(Model): blank=True, null=True) status = models.IntegerField(_('status'), choices=STATUS_CHOICES, default=2) - notes = generic.GenericRelation(Note) @property def description(self): @@ -466,7 +463,6 @@ class MediaBase(Model): is_published = BooleanField(_('published')) mime_type = CharField(_('mime type'), max_length=255, blank=True) weight = models.IntegerField(_('weight'), choices=WEIGHT_CHOICES, default=1, blank=True) - notes = generic.GenericRelation(Note) def get_fields(self): return self._meta.fields diff --git a/teleforma/static/teleforma/js/rainbowvis.js b/teleforma/static/teleforma/js/rainbowvis.js old mode 100755 new mode 100644