mirror of
https://github.com/jazzband/django-dbtemplates.git
synced 2026-05-16 19:41:09 +00:00
Use django.utils.six instead of six directly.
This commit is contained in:
parent
db5e4ec4b6
commit
16afa49831
1 changed files with 2 additions and 2 deletions
|
|
@ -8,12 +8,12 @@ from django.contrib.sites.models import Site
|
|||
from django.db import models
|
||||
from django.db.models import signals
|
||||
from django.template import TemplateDoesNotExist
|
||||
from django.utils.six import python_2_unicode_compatible
|
||||
from django.utils.translation import ugettext_lazy as _
|
||||
from django.utils.timezone import now
|
||||
import six
|
||||
|
||||
|
||||
@six.python_2_unicode_compatible
|
||||
@python_2_unicode_compatible
|
||||
class Template(models.Model):
|
||||
"""
|
||||
Defines a template model for use with the database template loader.
|
||||
|
|
|
|||
Loading…
Reference in a new issue