Source

article / article / urls.py

Diff from to

article/urls.py

 from django.views.generic.dates import ArchiveIndexView, MonthArchiveView # YearArchiveView
 from django.views.generic.base import TemplateView
 
-from models import Post
-from views import YearArchiveView
+from article.models import Post
+from article.views import YearArchiveView
 
 post_info_dict = {
     'queryset': Post.active.filter(is_published=1,post_type=1),