cleanup in news/

This commit is contained in:
Stephan Telling 2018-03-04 15:51:33 +01:00
parent aac89c0a9c
commit e482501d7b
4 changed files with 2 additions and 8 deletions

View File

@ -1,5 +1,3 @@
from django.apps import AppConfig

View File

@ -1,5 +1,3 @@
from django.db import models
from django.utils import encoding
from django.utils.text import slugify

View File

@ -1,3 +0,0 @@
from django.test import TestCase
# Create your tests here.

View File

@ -1,6 +1,7 @@
from django.views.generic import ListView, DetailView
from django.utils import timezone
from .models import *
from .models import NewsItem
class NewsIndex(ListView):
model = NewsItem