1. addons package¶
1.1. Subpackages¶
- 1.1.1. addons.migrations package
- 1.1.1.1. Submodules
- 1.1.1.2. addons.migrations.0001_initial module
- 1.1.1.3. addons.migrations.0002_addons_quality_vintages module
- 1.1.1.4. addons.migrations.0003_alter_vintages_country module
- 1.1.1.5. addons.migrations.0004_alter_vintages_notes module
- 1.1.1.6. addons.migrations.0005_alter_addons_quality_alter_vintages_quality module
- 1.1.1.7. addons.migrations.0006_vintages_version module
- 1.1.1.8. addons.migrations.0007_alter_vintages_region_alter_vintages_subregion module
- 1.1.1.9. addons.migrations.0008_alter_vintages_subregion module
- 1.1.1.10. addons.migrations.0009_vintages_type module
- 1.1.1.11. addons.migrations.0010_alter_vintages_type module
- 1.1.1.12. addons.migrations.0011_vintages_status module
- 1.1.1.13. addons.migrations.0012_alter_vintages_subregion module
- 1.1.1.14. addons.migrations.0013_addons_country_addons_region_addons_status_and_more module
- 1.1.1.15. addons.migrations.0014_addons_addition_status_addons_version module
- 1.1.1.16. addons.migrations.0015_rename_wine_addons_name module
- 1.1.1.17. addons.migrations.0016_alter_addons_drink module
- 1.1.1.18. addons.migrations.0017_alter_addons_drink module
- 1.1.1.19. addons.migrations.0018_alter_addons_ready module
- 1.1.1.20. addons.migrations.0019_alter_addons_quality_alter_addons_region_and_more module
- 1.1.1.21. addons.migrations.0020_remove_addons_addition_status_remove_addons_country_and_more module
- 1.1.1.22. addons.migrations.0021_addons_load_status module
- 1.1.1.23. addons.migrations.0022_test module
- 1.1.1.24. addons.migrations.0023_remove_addons_id_remove_addons_name_and_more module
- 1.1.1.25. addons.migrations.0024_addons_addon_id module
- 1.1.1.26. addons.migrations.0025_remove_addons_addition_ptr_remove_addons_addon_id_and_more module
- 1.1.1.27. addons.migrations.0026_alter_addons_drink module
- 1.1.1.28. Module contents
- 1.1.2. addons.templatetags package
1.2. Submodules¶
1.3. addons.addon_filters module¶
1.4. addons.admin module¶
1.5. addons.apps module¶
1.6. addons.functions module¶
1.7. addons.models module¶
- class addons.models.Addons(id, wine, drink, ready, stars, quality, region, subregion, status, version, load_status)[source]¶
Bases:
Model- exception DoesNotExist¶
Bases:
ObjectDoesNotExist
- exception MultipleObjectsReturned¶
Bases:
MultipleObjectsReturned
- drink¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- id¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- load_status¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- objects = <django.db.models.manager.Manager object>¶
- quality¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- ready¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- region¶
Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Child.parentis aForwardManyToOneDescriptorinstance.
- region_id¶
- stars¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- status¶
Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Child.parentis aForwardManyToOneDescriptorinstance.
- status_id¶
- subregion¶
Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Child.parentis aForwardManyToOneDescriptorinstance.
- subregion_id¶
- version¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- wine¶
Accessor to the related object on the forward side of a one-to-one relation.
In the example:
class Restaurant(Model): place = OneToOneField(Place, related_name='restaurant')
Restaurant.placeis aForwardOneToOneDescriptorinstance.
- wine_id¶
- class addons.models.Vintages(id, year, country, region, subregion, type, notes, quality, life, version, status)[source]¶
Bases:
Model- exception DoesNotExist¶
Bases:
ObjectDoesNotExist
- exception MultipleObjectsReturned¶
Bases:
MultipleObjectsReturned
- country¶
Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Child.parentis aForwardManyToOneDescriptorinstance.
- country_id¶
- id¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- life¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- notes¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- objects = <django.db.models.manager.Manager object>¶
- quality¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- region¶
Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Child.parentis aForwardManyToOneDescriptorinstance.
- region_id¶
- status¶
Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Child.parentis aForwardManyToOneDescriptorinstance.
- status_id¶
- subregion¶
Accessor to the related object on the forward side of a many-to-one or one-to-one (via ForwardOneToOneDescriptor subclass) relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Child.parentis aForwardManyToOneDescriptorinstance.
- subregion_id¶
- type¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- version¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
- year¶
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
1.8. addons.tests module¶
1.9. addons.urls module¶
1.10. addons.views module¶
1.11. Module contents¶
Addons module for Cellar.