mirror of
https://github.com/django/django.git
synced 2025-10-27 15:46:10 +00:00
Renamed AppCache to Apps.
Also renamed app_cache to apps and "app cache" to "app registry". Deprecated AppCache.app_cache_ready() in favor of Apps.ready().
This commit is contained in:
@@ -1,4 +1,4 @@
|
||||
from django.apps.cache import AppCache
|
||||
from django.apps.registry import Apps
|
||||
from django.db import models
|
||||
from django.utils.timezone import now
|
||||
|
||||
@@ -22,7 +22,7 @@ class MigrationRecorder(object):
|
||||
applied = models.DateTimeField(default=now)
|
||||
|
||||
class Meta:
|
||||
app_cache = AppCache()
|
||||
apps = Apps()
|
||||
app_label = "migrations"
|
||||
db_table = "django_migrations"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user