2013-12-26 18:03:17 +01:00
|
|
|
from __future__ import unicode_literals
|
|
|
|
|
2013-12-24 12:25:17 +01:00
|
|
|
from django.apps.registry import Apps
|
2013-05-09 16:59:26 +02:00
|
|
|
from django.db import models
|
|
|
|
|
2013-12-24 12:25:17 +01:00
|
|
|
# We're testing app registry presence on load, so this is handy.
|
2013-05-09 16:59:26 +02:00
|
|
|
|
2013-12-30 16:03:06 +01:00
|
|
|
new_apps = Apps(['apps'])
|
2013-05-09 16:59:26 +02: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 12:25:17 +01:00
|
|
|
apps = new_apps
|