mirror of
https://github.com/jazzband/django-dbtemplates.git
synced 2026-05-13 01:53:13 +00:00
remove oldforms stuff
git-svn-id: https://django-dbtemplates.googlecode.com/svn/trunk@46 cfb8ba98-e953-0410-9cff-959ffddf5974 committer: leidel <leidel@cfb8ba98-e953-0410-9cff-959ffddf5974> --HG-- extra : convert_revision : c4a85e403e270c4749b620f8d4f1602ac8533164
This commit is contained in:
parent
2a96856550
commit
39446c08b3
1 changed files with 1 additions and 2 deletions
|
|
@ -1,8 +1,6 @@
|
|||
# -*- coding: utf-8 -*-
|
||||
from datetime import datetime
|
||||
from django.db import models
|
||||
from django.template import loader, Context
|
||||
from django.core import validators
|
||||
from django.contrib.sites.models import Site
|
||||
from django.utils.translation import gettext_lazy as _
|
||||
|
||||
|
|
@ -32,6 +30,7 @@ class Template(models.Model):
|
|||
|
||||
|
||||
__test__ = {'API_TESTS':"""
|
||||
>>> from django.template import loader, Context
|
||||
>>> test_site = Site.objects.get(pk=1)
|
||||
>>> test_site
|
||||
<Site: example.com>
|
||||
|
|
|
|||
Loading…
Reference in a new issue