Fixed PEP issues

This commit is contained in:
Oliver Walters 2017-03-29 15:12:14 +11:00
parent 11b790c3ec
commit 4dc0179484
2 changed files with 3 additions and 2 deletions

View File

@ -25,4 +25,4 @@ admin.site.register(Part, PartAdmin)
admin.site.register(PartCategory, PartCategoryAdmin)
admin.site.register(PartParameter, ParameterAdmin)
admin.site.register(PartParameterTemplate, ParameterTemplateAdmin)
admin.site.register(PartParameterTemplate, ParameterTemplateAdmin)

View File

@ -75,7 +75,8 @@ class Part(models.Model):
projects.append(pp.project)
return projects
class PartParameterTemplate(models.Model):
""" A PartParameterTemplate pre-defines a parameter field,
ready to be copied for use with a given Part.