From 663099a6030b0a29613bd8901a47a8e7bc3b650d Mon Sep 17 00:00:00 2001 From: Stephan Telling Date: Sun, 4 Mar 2018 15:59:12 +0100 Subject: [PATCH] cleanup in bar/ --- src/bar/admin.py | 3 --- src/bar/apps.py | 2 -- src/bar/models.py | 1 - src/bar/views.py | 1 - 4 files changed, 7 deletions(-) diff --git a/src/bar/admin.py b/src/bar/admin.py index 337ee768..ee04ed0f 100644 --- a/src/bar/admin.py +++ b/src/bar/admin.py @@ -1,5 +1,4 @@ from django.contrib import admin - from .models import ProductCategory, Product @@ -12,5 +11,3 @@ class ProductCategoryAdmin(admin.ModelAdmin): class ProductAdmin(admin.ModelAdmin): list_display = ['name', 'price', 'category', 'in_stock'] list_editable = ['in_stock'] - - diff --git a/src/bar/apps.py b/src/bar/apps.py index 7a6c111b..e24009a8 100644 --- a/src/bar/apps.py +++ b/src/bar/apps.py @@ -1,5 +1,3 @@ - - from django.apps import AppConfig diff --git a/src/bar/models.py b/src/bar/models.py index 9c70a485..8d4d3b87 100644 --- a/src/bar/models.py +++ b/src/bar/models.py @@ -1,5 +1,4 @@ from django.db import models - from utils.models import CampRelatedModel diff --git a/src/bar/views.py b/src/bar/views.py index eb0cf10e..747a744e 100644 --- a/src/bar/views.py +++ b/src/bar/views.py @@ -6,4 +6,3 @@ class MenuView(ListView): model = ProductCategory template_name = "bar_menu.html" context_object_name = "categories" -