cleanup in news/
This commit is contained in:
parent
aac89c0a9c
commit
e482501d7b
|
@ -1,5 +1,3 @@
|
|||
|
||||
|
||||
from django.apps import AppConfig
|
||||
|
||||
|
||||
|
|
|
@ -1,5 +1,3 @@
|
|||
|
||||
|
||||
from django.db import models
|
||||
from django.utils import encoding
|
||||
from django.utils.text import slugify
|
||||
|
|
|
@ -1,3 +0,0 @@
|
|||
from django.test import TestCase
|
||||
|
||||
# Create your tests here.
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue