2
0
mirror of https://github.com/inventree/InvenTree.git synced 2025-06-20 22:06:28 +00:00

Style fixes

This commit is contained in:
Oliver Walters
2017-04-16 01:01:48 +10:00
parent 2e133b7744
commit 7e1fbf8a04
9 changed files with 4 additions and 28 deletions

View File

@ -187,20 +187,3 @@ class PartParameter(models.Model):
class Meta:
verbose_name = "Part Parameter"
verbose_name_plural = "Part Parameters"
class PartRevision(models.Model):
""" A PartRevision represents a change-notification to a Part
A Part may go through several revisions in its lifetime,
which should be tracked.
UniqueParts can have a single associated PartRevision
"""
part = models.ForeignKey(Part, on_delete=models.CASCADE)
name = models.CharField(max_length=100)
description = models.CharField(max_length=500)
revision_date = models.DateField(auto_now_add=True)
def __str__(self):
return self.name

View File

@ -1,4 +1,4 @@
from django.conf.urls import url, include
from django.conf.urls import url
from . import views

View File

@ -1,4 +1,3 @@
import django_filters
from django_filters.rest_framework import FilterSet, DjangoFilterBackend
from django_filters import NumberFilter