2013-12-26 17:03:17 +00:00
|
|
|
from __future__ import unicode_literals
|
|
|
|
|
2013-12-24 11:25:17 +00:00
|
|
|
from django.apps.registry import Apps
|
2013-05-09 14:59:26 +00:00
|
|
|
from django.db import models
|
|
|
|
|
2013-12-24 11:25:17 +00:00
|
|
|
# We're testing app registry presence on load, so this is handy.
|
2013-05-09 14:59:26 +00:00
|
|
|
|
2013-12-30 15:03:06 +00:00
|
|
|
new_apps = Apps(['apps'])
|
2013-05-09 14:59:26 +00:00
|
|
|
|
|
|
|
|
|
|
|
class TotallyNormal(models.Model):
|
|
|
|
name = models.CharField(max_length=255)
|
|
|
|
|
|
|
|
|
|
|
|
class SoAlternative(models.Model):
|
|
|
|
name = models.CharField(max_length=255)
|
|
|
|
|
|
|
|
class Meta:
|
2013-12-24 11:25:17 +00:00
|
|
|
apps = new_apps
|