1
0
mirror of https://github.com/django/django.git synced 2025-03-26 09:10:50 +00:00
Aymeric Augustin 0e9d3472d7 Stored AppConfig objects instead of models modules in the app cache.
This is a step towards allowing applications without a models module.
2013-12-17 10:17:44 +01:00

12 lines
296 B
Python

class AppConfig(object):
"""
Class representing a Django application and its configuration.
"""
def __init__(self, label, models_module):
self.label = label
self.models_module = models_module
def __repr__(self):
return '<AppConfig: %s>' % self.label