conjunto.models
¶
conjunto.models.AbstractSettings
¶
Bases: SingletonModel
Represents the settings of the application.
This model is meant to be subclassed by your application. Please add application specific settings as needed to this model.
conjunto.models.Page
¶
Bases: Model
Represents a generic page.
This class is an abstract base class that provides common fields and methods for all page subclasses.
conjunto.models.SingletonModel
¶
Bases: Model
Singleton Django Model.
Allow only one instance of the model to be created.
To get the instance of the model, use <YourModel>.get_instance().
get_instance()
classmethod
¶
Load object from the database.
Failing that, create a new empty (default) instance of the object and return it (without saving it - you have to do that yourself).
| Raises: |
|
|---|
save(*args, **kwargs)
¶
Save object to the database.
| Raises: |
|
|---|