]> git.parisson.com Git - teleforma.git/commitdiff
rm notes
authorGuillaume Pellerin <yomguy@parisson.com>
Thu, 28 May 2015 21:43:28 +0000 (23:43 +0200)
committerGuillaume Pellerin <yomguy@parisson.com>
Thu, 28 May 2015 21:43:28 +0000 (23:43 +0200)
teleforma/models/core.py
teleforma/static/teleforma/js/rainbowvis.js [changed mode: 0755->0644]

index d6320b062b84567bc896ecbae6ab77e34d9e8f0e..b008193df7317be86949deff522405657f903477 100644 (file)
@@ -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
old mode 100755 (executable)
new mode 100644 (file)