File tree 3 files changed +20
-3
lines changed
3 files changed +20
-3
lines changed Original file line number Diff line number Diff line change @@ -13,7 +13,7 @@ class VersionForm(forms.ModelForm):
13
13
14
14
class Meta :
15
15
model = Version
16
- fields = ['active' , 'privacy_level' , 'tags' ]
16
+ fields = ['active' , 'privacy_level' ]
17
17
18
18
def clean_active (self ):
19
19
active = self .cleaned_data ['active' ]
Original file line number Diff line number Diff line change
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by Django 1.11.20 on 2019-06-28 16:29
3
+ from __future__ import unicode_literals
4
+
5
+ from django .db import migrations
6
+
7
+
8
+ class Migration (migrations .Migration ):
9
+
10
+ dependencies = [
11
+ ('builds' , '0007_add-automation-rules' ),
12
+ ]
13
+
14
+ operations = [
15
+ migrations .RemoveField (
16
+ model_name = 'version' ,
17
+ name = 'tags' ,
18
+ ),
19
+ ]
Original file line number Diff line number Diff line change 15
15
from django_extensions .db .models import TimeStampedModel
16
16
from jsonfield import JSONField
17
17
from polymorphic .models import PolymorphicModel
18
- from taggit .managers import TaggableManager
19
18
20
19
import readthedocs .builds .automation_actions as actions
21
20
from readthedocs .config import LATEST_CONFIGURATION_VERSION
@@ -106,7 +105,6 @@ class Version(models.Model):
106
105
default = settings .DEFAULT_VERSION_PRIVACY_LEVEL ,
107
106
help_text = _ ('Level of privacy for this Version.' ),
108
107
)
109
- tags = TaggableManager (blank = True )
110
108
machine = models .BooleanField (_ ('Machine Created' ), default = False )
111
109
112
110
objects = VersionManager .from_queryset (VersionQuerySet )()
You can’t perform that action at this time.
0 commit comments