mirror of
https://github.com/jazzband/django-dbtemplates.git
synced 2026-03-16 22:20:28 +00:00
use migrations generated from django 1.7
This commit is contained in:
parent
04c2d12dbd
commit
70da2e6a48
1 changed files with 1 additions and 6 deletions
|
|
@ -3,8 +3,6 @@ from __future__ import unicode_literals
|
|||
|
||||
from django.db import models, migrations
|
||||
import django.utils.timezone
|
||||
import django.db.models.manager
|
||||
import django.contrib.sites.managers
|
||||
|
||||
|
||||
class Migration(migrations.Migration):
|
||||
|
|
@ -30,9 +28,6 @@ class Migration(migrations.Migration):
|
|||
'verbose_name': 'template',
|
||||
'verbose_name_plural': 'templates',
|
||||
},
|
||||
managers=[
|
||||
('objects', django.db.models.manager.Manager()),
|
||||
('on_site', django.contrib.sites.managers.CurrentSiteManager(b'sites')),
|
||||
],
|
||||
bases=(models.Model,),
|
||||
),
|
||||
]
|
||||
|
|
|
|||
Loading…
Reference in a new issue