mirror of https://github.com/scrapy/scrapy.git
Fix import in templatetag
--HG-- extra : convert_revision : svn%3Ab85faa78-f9eb-468e-a121-7cced6da292c%407
This commit is contained in:
parent
a5aa40c214
commit
87b97f07a7
|
|
@ -1,7 +1,10 @@
|
|||
from django import template
|
||||
from django_website.apps.blog.models import Entry
|
||||
import datetime
|
||||
|
||||
from django import template
|
||||
|
||||
from blog.models import Entry
|
||||
|
||||
|
||||
class LatestBlogEntriesNode(template.Node):
|
||||
def __init__(self, num, varname):
|
||||
self.num, self.varname = num, varname
|
||||
|
|
|
|||
Loading…
Reference in New Issue