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 16
16
from guardian .shortcuts import assign
17
17
from jsonfield import JSONField
18
18
from polymorphic .models import PolymorphicModel
19
- from taggit .managers import TaggableManager
20
19
21
20
import readthedocs .builds .automation_actions as actions
22
21
from readthedocs .config import LATEST_CONFIGURATION_VERSION
@@ -107,7 +106,6 @@ class Version(models.Model):
107
106
default = settings .DEFAULT_VERSION_PRIVACY_LEVEL ,
108
107
help_text = _ ('Level of privacy for this Version.' ),
109
108
)
110
- tags = TaggableManager (blank = True )
111
109
machine = models .BooleanField (_ ('Machine Created' ), default = False )
112
110
113
111
objects = VersionManager .from_queryset (VersionQuerySet )()
You can’t perform that action at this time.
0 commit comments