diff options
Diffstat (limited to 'news')
-rw-r--r-- | news/models.py | 2 | ||||
-rw-r--r-- | news/views.py | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/news/models.py b/news/models.py index acd9667..68d2865 100644 --- a/news/models.py +++ b/news/models.py @@ -1,7 +1,7 @@ from django.db import models from django.contrib.auth.models import User import re -from archlinux.utils import Stripper +from archweb_dev.utils import Stripper class News(models.Model): id = models.AutoField(primary_key=True) diff --git a/news/views.py b/news/views.py index 29f2044..5ceb331 100644 --- a/news/views.py +++ b/news/views.py @@ -3,8 +3,8 @@ from django.shortcuts import get_object_or_404 from django.contrib.auth.decorators import user_passes_test from django.contrib.auth.models import User from django import forms -from archlinux.utils import render_template -from archlinux.news.models import News +from archweb_dev.utils import render_template +from archweb_dev.news.models import News from datetime import date def view(request, newsid): |