Django 1.7 threw a warning that they were going to require that by 1.8
class DataFileForm(ModelForm):
class Meta:
model = DataFile
+ fields = ('random_key', 'data_run', 'library', 'file_type', 'relative_pathname')
class DataFileInline(admin.TabularInline):
model = DataFile
class Meta:
model = Lane
+ fields = ('flowcell', 'lane_number', 'library', 'pM', 'cluster_estimate',
+ 'status', 'comment')
class LaneInline(admin.StackedInline):
"""
class HTSUserChangeForm(UserChangeForm):
class Meta:
model = HTSUser
+ fields = ("username",'first_name','last_name')
class HTSUserOptions(UserAdmin):
form = HTSUserChangeForm