gestion package¶
Subpackages¶
Submodules¶
gestion.admin module¶
-
class
gestion.admin.
ConsumptionAdmin
(model, admin_site)¶ Bases :
simple_history.admin.SimpleHistoryAdmin
-
list_display
= ('customer', 'product', 'quantity')¶
-
media
¶
-
ordering
= ('-quantity',)¶
-
search_fields
= ('customer', 'product')¶
-
-
class
gestion.admin.
ConsumptionHistoryAdmin
(model, admin_site)¶ Bases :
simple_history.admin.SimpleHistoryAdmin
-
list_display
= ('customer', 'product', 'quantity', 'paymentMethod', 'date', 'amount')¶
-
list_filter
= ('paymentMethod',)¶
-
media
¶
-
ordering
= ('-date',)¶
-
search_fields
= ('customer', 'product')¶
-
-
class
gestion.admin.
KegAdmin
(model, admin_site)¶ Bases :
simple_history.admin.SimpleHistoryAdmin
-
list_display
= ('name', 'stockHold', 'capacity', 'is_active')¶
-
list_filter
= ('capacity', 'is_active')¶
-
media
¶
-
ordering
= ('name',)¶
-
search_fields
= ('name',)¶
-
-
class
gestion.admin.
KegHistoryAdmin
(model, admin_site)¶ Bases :
simple_history.admin.SimpleHistoryAdmin
-
list_display
= ('keg', 'openingDate', 'closingDate', 'isCurrentKegHistory', 'quantitySold')¶
-
list_filter
= ('isCurrentKegHistory', 'keg')¶
-
media
¶
-
ordering
= ('-openingDate', 'quantitySold')¶
-
search_fields
= ('keg',)¶
-
-
class
gestion.admin.
MenuAdmin
(model, admin_site)¶ Bases :
simple_history.admin.SimpleHistoryAdmin
-
list_display
= ('name', 'amount', 'is_active')¶
-
list_filter
= ('is_active',)¶
-
media
¶
-
ordering
= ('name', 'amount')¶
-
search_fields
= ('name',)¶
-
-
class
gestion.admin.
MenuHistoryAdmin
(model, admin_site)¶ Bases :
simple_history.admin.SimpleHistoryAdmin
-
list_display
= ('customer', 'menu', 'paymentMethod', 'date', 'quantity', 'amount')¶
-
media
¶
-
ordering
= ('-date',)¶
-
search_fields
= ('customer', 'menu')¶
-
-
class
gestion.admin.
ProductAdmin
(model, admin_site)¶ Bases :
simple_history.admin.SimpleHistoryAdmin
-
list_display
= ('name', 'amount', 'is_active', 'category', 'adherentRequired', 'stockHold', 'stockBar', 'volume', 'deg')¶
-
list_filter
= ('is_active', 'adherentRequired', 'category')¶
-
media
¶
-
ordering
= ('name', 'amount', 'stockHold', 'stockBar', 'deg')¶
-
search_fields
= ('name',)¶
-
gestion.apps module¶
gestion.environment module¶
-
gestion.environment.
latex_safe
(value)¶
-
gestion.environment.
my_environment
(**options)¶
gestion.forms module¶
-
class
gestion.forms.
GenerateReleveForm
(data=None, files=None, auto_id='id_%s', prefix=None, initial=None, error_class=<class 'django.forms.utils.ErrorList'>, label_suffix=None, empty_permitted=False, field_order=None, use_required_attribute=None, renderer=None)¶ Bases :
django.forms.forms.Form
-
base_fields
= {'begin': <django.forms.fields.DateTimeField object>, 'end': <django.forms.fields.DateTimeField object>}¶
-
declared_fields
= {'begin': <django.forms.fields.DateTimeField object>, 'end': <django.forms.fields.DateTimeField object>}¶
-
media
¶
-
-
class
gestion.forms.
GestionForm
(data=None, files=None, auto_id='id_%s', prefix=None, initial=None, error_class=<class 'django.forms.utils.ErrorList'>, label_suffix=None, empty_permitted=False, field_order=None, use_required_attribute=None, renderer=None)¶ Bases :
django.forms.forms.Form
-
base_fields
= {'client': <django.forms.models.ModelChoiceField object>, 'product': <django.forms.models.ModelChoiceField object>}¶
-
declared_fields
= {'client': <django.forms.models.ModelChoiceField object>, 'product': <django.forms.models.ModelChoiceField object>}¶
-
media
¶
-
-
class
gestion.forms.
KegForm
(*args, **kwargs)¶ Bases :
django.forms.models.ModelForm
-
class
Meta
¶ Bases :
object
-
exclude
= ('is_active',)¶
-
model
¶ alias de
gestion.models.Keg
-
widgets
= {'amount': <class 'django.forms.widgets.TextInput'>}¶
-
-
base_fields
= {'amount': <django.forms.fields.DecimalField object>, 'barcode': <django.forms.fields.CharField object>, 'capacity': <django.forms.fields.IntegerField object>, 'demi': <django.forms.models.ModelChoiceField object>, 'galopin': <django.forms.models.ModelChoiceField object>, 'name': <django.forms.fields.CharField object>, 'pinte': <django.forms.models.ModelChoiceField object>, 'stockHold': <django.forms.fields.IntegerField object>}¶
-
declared_fields
= {}¶
-
media
¶
-
class
-
class
gestion.forms.
MenuForm
(data=None, files=None, auto_id='id_%s', prefix=None, initial=None, error_class=<class 'django.forms.utils.ErrorList'>, label_suffix=None, empty_permitted=False, instance=None, use_required_attribute=None, renderer=None)¶ Bases :
django.forms.models.ModelForm
-
class
Meta
¶ Bases :
object
-
fields
= '__all__'¶
-
model
¶ alias de
gestion.models.Menu
-
widgets
= {'amount': <class 'django.forms.widgets.TextInput'>}¶
-
-
base_fields
= {'amount': <django.forms.fields.DecimalField object>, 'articles': <django.forms.models.ModelMultipleChoiceField object>, 'barcode': <django.forms.fields.CharField object>, 'is_active': <django.forms.fields.BooleanField object>, 'name': <django.forms.fields.CharField object>}¶
-
declared_fields
= {}¶
-
media
¶
-
class
-
class
gestion.forms.
PinteForm
(data=None, files=None, auto_id='id_%s', prefix=None, initial=None, error_class=<class 'django.forms.utils.ErrorList'>, label_suffix=None, empty_permitted=False, field_order=None, use_required_attribute=None, renderer=None)¶ Bases :
django.forms.forms.Form
-
base_fields
= {'begin': <django.forms.fields.IntegerField object>, 'end': <django.forms.fields.IntegerField object>, 'ids': <django.forms.fields.CharField object>}¶
-
declared_fields
= {'begin': <django.forms.fields.IntegerField object>, 'end': <django.forms.fields.IntegerField object>, 'ids': <django.forms.fields.CharField object>}¶
-
media
¶
-
-
class
gestion.forms.
ProductForm
(data=None, files=None, auto_id='id_%s', prefix=None, initial=None, error_class=<class 'django.forms.utils.ErrorList'>, label_suffix=None, empty_permitted=False, instance=None, use_required_attribute=None, renderer=None)¶ Bases :
django.forms.models.ModelForm
-
class
Meta
¶ Bases :
object
-
fields
= '__all__'¶
-
model
¶ alias de
gestion.models.Product
-
widgets
= {'amount': <class 'django.forms.widgets.TextInput'>}¶
-
-
base_fields
= {'adherentRequired': <django.forms.fields.BooleanField object>, 'amount': <django.forms.fields.DecimalField object>, 'barcode': <django.forms.fields.CharField object>, 'category': <django.forms.fields.TypedChoiceField object>, 'deg': <django.forms.fields.DecimalField object>, 'is_active': <django.forms.fields.BooleanField object>, 'name': <django.forms.fields.CharField object>, 'needQuantityButton': <django.forms.fields.BooleanField object>, 'showingMultiplier': <django.forms.fields.IntegerField object>, 'stockBar': <django.forms.fields.IntegerField object>, 'stockHold': <django.forms.fields.IntegerField object>, 'volume': <django.forms.fields.IntegerField object>}¶
-
declared_fields
= {}¶
-
media
¶
-
class
-
class
gestion.forms.
RefundForm
(data=None, files=None, auto_id='id_%s', prefix=None, initial=None, error_class=<class 'django.forms.utils.ErrorList'>, label_suffix=None, empty_permitted=False, instance=None, use_required_attribute=None, renderer=None)¶ Bases :
django.forms.models.ModelForm
-
class
Meta
¶ Bases :
object
-
fields
= ('customer', 'amount')¶
-
model
¶ alias de
gestion.models.Refund
-
widgets
= {'amount': <class 'django.forms.widgets.TextInput'>, 'customer': <dal_select2.widgets.ModelSelect2 object>}¶
-
-
base_fields
= {'amount': <django.forms.fields.DecimalField object>, 'customer': <django.forms.models.ModelChoiceField object>}¶
-
declared_fields
= {}¶
-
media
¶
-
class
-
class
gestion.forms.
ReloadForm
(*args, **kwargs)¶ Bases :
django.forms.models.ModelForm
-
class
Meta
¶ Bases :
object
-
fields
= ('customer', 'amount', 'PaymentMethod')¶
-
model
¶ alias de
gestion.models.Reload
-
widgets
= {'amount': <class 'django.forms.widgets.TextInput'>, 'customer': <dal_select2.widgets.ModelSelect2 object>}¶
-
-
base_fields
= {'PaymentMethod': <django.forms.models.ModelChoiceField object>, 'amount': <django.forms.fields.DecimalField object>, 'customer': <django.forms.models.ModelChoiceField object>}¶
-
declared_fields
= {}¶
-
media
¶
-
class
-
class
gestion.forms.
SearchMenuForm
(data=None, files=None, auto_id='id_%s', prefix=None, initial=None, error_class=<class 'django.forms.utils.ErrorList'>, label_suffix=None, empty_permitted=False, field_order=None, use_required_attribute=None, renderer=None)¶ Bases :
django.forms.forms.Form
-
base_fields
= {'menu': <django.forms.models.ModelChoiceField object>}¶
-
declared_fields
= {'menu': <django.forms.models.ModelChoiceField object>}¶
-
media
¶
-
-
class
gestion.forms.
SearchProductForm
(data=None, files=None, auto_id='id_%s', prefix=None, initial=None, error_class=<class 'django.forms.utils.ErrorList'>, label_suffix=None, empty_permitted=False, field_order=None, use_required_attribute=None, renderer=None)¶ Bases :
django.forms.forms.Form
-
base_fields
= {'product': <django.forms.models.ModelChoiceField object>}¶
-
declared_fields
= {'product': <django.forms.models.ModelChoiceField object>}¶
-
media
¶
-
-
class
gestion.forms.
SelectActiveKegForm
(data=None, files=None, auto_id='id_%s', prefix=None, initial=None, error_class=<class 'django.forms.utils.ErrorList'>, label_suffix=None, empty_permitted=False, field_order=None, use_required_attribute=None, renderer=None)¶ Bases :
django.forms.forms.Form
-
base_fields
= {'keg': <django.forms.models.ModelChoiceField object>}¶
-
declared_fields
= {'keg': <django.forms.models.ModelChoiceField object>}¶
-
media
¶
-
-
class
gestion.forms.
SelectPositiveKegForm
(data=None, files=None, auto_id='id_%s', prefix=None, initial=None, error_class=<class 'django.forms.utils.ErrorList'>, label_suffix=None, empty_permitted=False, field_order=None, use_required_attribute=None, renderer=None)¶ Bases :
django.forms.forms.Form
-
base_fields
= {'keg': <django.forms.models.ModelChoiceField object>}¶
-
declared_fields
= {'keg': <django.forms.models.ModelChoiceField object>}¶
-
media
¶
-
gestion.models module¶
-
class
gestion.models.
Consumption
(*args, **kwargs)¶ Bases :
django.db.models.base.Model
Stores total consumptions
-
exception
DoesNotExist
¶ Bases :
django.core.exceptions.ObjectDoesNotExist
-
exception
MultipleObjectsReturned
¶ Bases :
django.core.exceptions.MultipleObjectsReturned
-
customer
¶ 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.parent
is aForwardManyToOneDescriptor
instance.
-
customer_id
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
history
= <simple_history.manager.HistoryManager object>¶
-
id
¶ 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>¶
-
product
¶ 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.parent
is aForwardManyToOneDescriptor
instance.
-
product_id
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
quantity
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
save_without_historical_record
(*args, **kwargs)¶ Save model without saving a historical record
Make sure you know what you’re doing before you use this method.
-
exception
-
class
gestion.models.
ConsumptionHistory
(*args, **kwargs)¶ Bases :
django.db.models.base.Model
Stores consumption history related to Product
-
exception
DoesNotExist
¶ Bases :
django.core.exceptions.ObjectDoesNotExist
-
exception
MultipleObjectsReturned
¶ Bases :
django.core.exceptions.MultipleObjectsReturned
-
amount
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
coopeman
¶ 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.parent
is aForwardManyToOneDescriptor
instance.
-
coopeman_id
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
customer
¶ 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.parent
is aForwardManyToOneDescriptor
instance.
-
customer_id
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
date
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
get_next_by_date
(*, field=<django.db.models.fields.DateTimeField: date>, is_next=True, **kwargs)¶
-
get_previous_by_date
(*, field=<django.db.models.fields.DateTimeField: date>, is_next=False, **kwargs)¶
-
history
= <simple_history.manager.HistoryManager object>¶
-
id
¶ 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>¶
-
paymentMethod
¶ 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.parent
is aForwardManyToOneDescriptor
instance.
-
paymentMethod_id
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
product
¶ 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.parent
is aForwardManyToOneDescriptor
instance.
-
product_id
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
quantity
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
save_without_historical_record
(*args, **kwargs)¶ Save model without saving a historical record
Make sure you know what you’re doing before you use this method.
-
exception
-
class
gestion.models.
HistoricalConsumption
(id, quantity, customer, product, history_id, history_change_reason, history_date, history_user, history_type)¶ Bases :
simple_history.models.HistoricalChanges
,django.db.models.base.Model
-
exception
DoesNotExist
¶ Bases :
django.core.exceptions.ObjectDoesNotExist
-
exception
MultipleObjectsReturned
¶ Bases :
django.core.exceptions.MultipleObjectsReturned
-
customer
¶ 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.parent
is aForwardManyToOneDescriptor
instance.
-
customer_id
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
get_history_type_display
(*, field=<django.db.models.fields.CharField: history_type>)¶
-
get_next_by_history_date
(*, field=<django.db.models.fields.DateTimeField: history_date>, is_next=True, **kwargs)¶
-
get_previous_by_history_date
(*, field=<django.db.models.fields.DateTimeField: history_date>, is_next=False, **kwargs)¶
-
history_change_reason
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
history_date
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
history_id
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
history_object
¶
-
history_type
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
history_user
¶ 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.parent
is aForwardManyToOneDescriptor
instance.
-
history_user_id
¶ 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.
-
instance
¶
-
instance_type
¶ alias de
Consumption
-
next_record
¶ Get the next history record for the instance. None if last.
-
objects
= <django.db.models.manager.Manager object>¶
-
prev_record
¶ Get the previous history record for the instance. None if first.
-
product
¶ 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.parent
is aForwardManyToOneDescriptor
instance.
-
product_id
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
quantity
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
revert_url
()¶ URL for this change in the default admin site.
-
exception
-
class
gestion.models.
HistoricalConsumptionHistory
(id, quantity, date, amount, customer, paymentMethod, product, coopeman, history_id, history_change_reason, history_date, history_user, history_type)¶ Bases :
simple_history.models.HistoricalChanges
,django.db.models.base.Model
-
exception
DoesNotExist
¶ Bases :
django.core.exceptions.ObjectDoesNotExist
-
exception
MultipleObjectsReturned
¶ Bases :
django.core.exceptions.MultipleObjectsReturned
-
amount
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
coopeman
¶ 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.parent
is aForwardManyToOneDescriptor
instance.
-
coopeman_id
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
customer
¶ 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.parent
is aForwardManyToOneDescriptor
instance.
-
customer_id
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
date
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
get_history_type_display
(*, field=<django.db.models.fields.CharField: history_type>)¶
-
get_next_by_date
(*, field=<django.db.models.fields.DateTimeField: date>, is_next=True, **kwargs)¶
-
get_next_by_history_date
(*, field=<django.db.models.fields.DateTimeField: history_date>, is_next=True, **kwargs)¶
-
get_previous_by_date
(*, field=<django.db.models.fields.DateTimeField: date>, is_next=False, **kwargs)¶
-
get_previous_by_history_date
(*, field=<django.db.models.fields.DateTimeField: history_date>, is_next=False, **kwargs)¶
-
history_change_reason
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
history_date
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
history_id
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
history_object
¶
-
history_type
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
history_user
¶ 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.parent
is aForwardManyToOneDescriptor
instance.
-
history_user_id
¶ 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.
-
instance
¶
-
instance_type
¶ alias de
ConsumptionHistory
-
next_record
¶ Get the next history record for the instance. None if last.
-
objects
= <django.db.models.manager.Manager object>¶
-
paymentMethod
¶ 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.parent
is aForwardManyToOneDescriptor
instance.
-
paymentMethod_id
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
prev_record
¶ Get the previous history record for the instance. None if first.
-
product
¶ 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.parent
is aForwardManyToOneDescriptor
instance.
-
product_id
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
quantity
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
revert_url
()¶ URL for this change in the default admin site.
-
exception
-
class
gestion.models.
HistoricalKeg
(id, name, stockHold, barcode, amount, capacity, is_active, pinte, demi, galopin, history_id, history_change_reason, history_date, history_user, history_type)¶ Bases :
simple_history.models.HistoricalChanges
,django.db.models.base.Model
-
exception
DoesNotExist
¶ Bases :
django.core.exceptions.ObjectDoesNotExist
-
exception
MultipleObjectsReturned
¶ Bases :
django.core.exceptions.MultipleObjectsReturned
-
amount
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
barcode
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
capacity
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
demi
¶ 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.parent
is aForwardManyToOneDescriptor
instance.
-
demi_id
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
galopin
¶ 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.parent
is aForwardManyToOneDescriptor
instance.
-
galopin_id
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
get_history_type_display
(*, field=<django.db.models.fields.CharField: history_type>)¶
-
get_next_by_history_date
(*, field=<django.db.models.fields.DateTimeField: history_date>, is_next=True, **kwargs)¶
-
get_previous_by_history_date
(*, field=<django.db.models.fields.DateTimeField: history_date>, is_next=False, **kwargs)¶
-
history_change_reason
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
history_date
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
history_id
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
history_object
¶
-
history_type
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
history_user
¶ 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.parent
is aForwardManyToOneDescriptor
instance.
-
history_user_id
¶ 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.
-
instance
¶
-
is_active
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
name
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
next_record
¶ Get the next history record for the instance. None if last.
-
objects
= <django.db.models.manager.Manager object>¶
-
pinte
¶ 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.parent
is aForwardManyToOneDescriptor
instance.
-
pinte_id
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
prev_record
¶ Get the previous history record for the instance. None if first.
-
revert_url
()¶ URL for this change in the default admin site.
-
stockHold
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
exception
-
class
gestion.models.
HistoricalKegHistory
(id, openingDate, quantitySold, amountSold, closingDate, isCurrentKegHistory, keg, history_id, history_change_reason, history_date, history_user, history_type)¶ Bases :
simple_history.models.HistoricalChanges
,django.db.models.base.Model
-
exception
DoesNotExist
¶ Bases :
django.core.exceptions.ObjectDoesNotExist
-
exception
MultipleObjectsReturned
¶ Bases :
django.core.exceptions.MultipleObjectsReturned
-
amountSold
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
closingDate
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
get_history_type_display
(*, field=<django.db.models.fields.CharField: history_type>)¶
-
get_next_by_history_date
(*, field=<django.db.models.fields.DateTimeField: history_date>, is_next=True, **kwargs)¶
-
get_next_by_openingDate
(*, field=<django.db.models.fields.DateTimeField: openingDate>, is_next=True, **kwargs)¶
-
get_previous_by_history_date
(*, field=<django.db.models.fields.DateTimeField: history_date>, is_next=False, **kwargs)¶
-
get_previous_by_openingDate
(*, field=<django.db.models.fields.DateTimeField: openingDate>, is_next=False, **kwargs)¶
-
history_change_reason
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
history_date
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
history_id
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
history_object
¶
-
history_type
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
history_user
¶ 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.parent
is aForwardManyToOneDescriptor
instance.
-
history_user_id
¶ 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.
-
instance
¶
-
instance_type
¶ alias de
KegHistory
-
isCurrentKegHistory
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
keg
¶ 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.parent
is aForwardManyToOneDescriptor
instance.
-
keg_id
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
next_record
¶ Get the next history record for the instance. None if last.
-
objects
= <django.db.models.manager.Manager object>¶
-
openingDate
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
prev_record
¶ Get the previous history record for the instance. None if first.
-
quantitySold
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
revert_url
()¶ URL for this change in the default admin site.
-
exception
-
class
gestion.models.
HistoricalMenu
(id, name, amount, barcode, is_active, history_id, history_change_reason, history_date, history_user, history_type)¶ Bases :
simple_history.models.HistoricalChanges
,django.db.models.base.Model
-
exception
DoesNotExist
¶ Bases :
django.core.exceptions.ObjectDoesNotExist
-
exception
MultipleObjectsReturned
¶ Bases :
django.core.exceptions.MultipleObjectsReturned
-
amount
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
barcode
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
get_history_type_display
(*, field=<django.db.models.fields.CharField: history_type>)¶
-
get_next_by_history_date
(*, field=<django.db.models.fields.DateTimeField: history_date>, is_next=True, **kwargs)¶
-
get_previous_by_history_date
(*, field=<django.db.models.fields.DateTimeField: history_date>, is_next=False, **kwargs)¶
-
history_change_reason
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
history_date
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
history_id
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
history_object
¶
-
history_type
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
history_user
¶ 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.parent
is aForwardManyToOneDescriptor
instance.
-
history_user_id
¶ 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.
-
instance
¶
-
is_active
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
name
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
next_record
¶ Get the next history record for the instance. None if last.
-
objects
= <django.db.models.manager.Manager object>¶
-
prev_record
¶ Get the previous history record for the instance. None if first.
-
revert_url
()¶ URL for this change in the default admin site.
-
exception
-
class
gestion.models.
HistoricalMenuHistory
(id, quantity, date, amount, customer, paymentMethod, menu, coopeman, history_id, history_change_reason, history_date, history_user, history_type)¶ Bases :
simple_history.models.HistoricalChanges
,django.db.models.base.Model
-
exception
DoesNotExist
¶ Bases :
django.core.exceptions.ObjectDoesNotExist
-
exception
MultipleObjectsReturned
¶ Bases :
django.core.exceptions.MultipleObjectsReturned
-
amount
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
coopeman
¶ 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.parent
is aForwardManyToOneDescriptor
instance.
-
coopeman_id
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
customer
¶ 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.parent
is aForwardManyToOneDescriptor
instance.
-
customer_id
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
date
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
get_history_type_display
(*, field=<django.db.models.fields.CharField: history_type>)¶
-
get_next_by_date
(*, field=<django.db.models.fields.DateTimeField: date>, is_next=True, **kwargs)¶
-
get_next_by_history_date
(*, field=<django.db.models.fields.DateTimeField: history_date>, is_next=True, **kwargs)¶
-
get_previous_by_date
(*, field=<django.db.models.fields.DateTimeField: date>, is_next=False, **kwargs)¶
-
get_previous_by_history_date
(*, field=<django.db.models.fields.DateTimeField: history_date>, is_next=False, **kwargs)¶
-
history_change_reason
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
history_date
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
history_id
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
history_object
¶
-
history_type
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
history_user
¶ 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.parent
is aForwardManyToOneDescriptor
instance.
-
history_user_id
¶ 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.
-
instance
¶
-
instance_type
¶ alias de
MenuHistory
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.parent
is aForwardManyToOneDescriptor
instance.
A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
next_record
¶ Get the next history record for the instance. None if last.
-
objects
= <django.db.models.manager.Manager object>¶
-
paymentMethod
¶ 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.parent
is aForwardManyToOneDescriptor
instance.
-
paymentMethod_id
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
prev_record
¶ Get the previous history record for the instance. None if first.
-
quantity
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
revert_url
()¶ URL for this change in the default admin site.
-
exception
-
class
gestion.models.
HistoricalPinte
(id, last_update_date, current_owner, previous_owner, history_id, history_change_reason, history_date, history_user, history_type)¶ Bases :
simple_history.models.HistoricalChanges
,django.db.models.base.Model
-
exception
DoesNotExist
¶ Bases :
django.core.exceptions.ObjectDoesNotExist
-
exception
MultipleObjectsReturned
¶ Bases :
django.core.exceptions.MultipleObjectsReturned
-
current_owner
¶ 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.parent
is aForwardManyToOneDescriptor
instance.
-
current_owner_id
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
get_history_type_display
(*, field=<django.db.models.fields.CharField: history_type>)¶
-
get_next_by_history_date
(*, field=<django.db.models.fields.DateTimeField: history_date>, is_next=True, **kwargs)¶
-
get_next_by_last_update_date
(*, field=<django.db.models.fields.DateTimeField: last_update_date>, is_next=True, **kwargs)¶
-
get_previous_by_history_date
(*, field=<django.db.models.fields.DateTimeField: history_date>, is_next=False, **kwargs)¶
-
get_previous_by_last_update_date
(*, field=<django.db.models.fields.DateTimeField: last_update_date>, is_next=False, **kwargs)¶
-
history_change_reason
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
history_date
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
history_id
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
history_object
¶
-
history_type
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
history_user
¶ 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.parent
is aForwardManyToOneDescriptor
instance.
-
history_user_id
¶ 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.
-
instance
¶
-
last_update_date
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
next_record
¶ Get the next history record for the instance. None if last.
-
objects
= <django.db.models.manager.Manager object>¶
-
prev_record
¶ Get the previous history record for the instance. None if first.
-
previous_owner
¶ 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.parent
is aForwardManyToOneDescriptor
instance.
-
previous_owner_id
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
revert_url
()¶ URL for this change in the default admin site.
-
exception
-
class
gestion.models.
HistoricalProduct
(id, name, amount, stockHold, stockBar, barcode, category, needQuantityButton, is_active, volume, deg, adherentRequired, showingMultiplier, history_id, history_change_reason, history_date, history_user, history_type)¶ Bases :
simple_history.models.HistoricalChanges
,django.db.models.base.Model
-
exception
DoesNotExist
¶ Bases :
django.core.exceptions.ObjectDoesNotExist
-
exception
MultipleObjectsReturned
¶ Bases :
django.core.exceptions.MultipleObjectsReturned
-
adherentRequired
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
amount
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
barcode
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
category
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
deg
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
get_category_display
(*, field=<django.db.models.fields.CharField: category>)¶
-
get_history_type_display
(*, field=<django.db.models.fields.CharField: history_type>)¶
-
get_next_by_history_date
(*, field=<django.db.models.fields.DateTimeField: history_date>, is_next=True, **kwargs)¶
-
get_previous_by_history_date
(*, field=<django.db.models.fields.DateTimeField: history_date>, is_next=False, **kwargs)¶
-
history_change_reason
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
history_date
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
history_id
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
history_object
¶
-
history_type
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
history_user
¶ 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.parent
is aForwardManyToOneDescriptor
instance.
-
history_user_id
¶ 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.
-
instance
¶
-
is_active
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
name
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
needQuantityButton
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
next_record
¶ Get the next history record for the instance. None if last.
-
objects
= <django.db.models.manager.Manager object>¶
-
prev_record
¶ Get the previous history record for the instance. None if first.
-
revert_url
()¶ URL for this change in the default admin site.
-
showingMultiplier
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
stockBar
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
stockHold
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
volume
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
exception
-
class
gestion.models.
HistoricalRefund
(id, date, amount, customer, coopeman, history_id, history_change_reason, history_date, history_user, history_type)¶ Bases :
simple_history.models.HistoricalChanges
,django.db.models.base.Model
-
exception
DoesNotExist
¶ Bases :
django.core.exceptions.ObjectDoesNotExist
-
exception
MultipleObjectsReturned
¶ Bases :
django.core.exceptions.MultipleObjectsReturned
-
amount
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
coopeman
¶ 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.parent
is aForwardManyToOneDescriptor
instance.
-
coopeman_id
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
customer
¶ 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.parent
is aForwardManyToOneDescriptor
instance.
-
customer_id
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
date
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
get_history_type_display
(*, field=<django.db.models.fields.CharField: history_type>)¶
-
get_next_by_date
(*, field=<django.db.models.fields.DateTimeField: date>, is_next=True, **kwargs)¶
-
get_next_by_history_date
(*, field=<django.db.models.fields.DateTimeField: history_date>, is_next=True, **kwargs)¶
-
get_previous_by_date
(*, field=<django.db.models.fields.DateTimeField: date>, is_next=False, **kwargs)¶
-
get_previous_by_history_date
(*, field=<django.db.models.fields.DateTimeField: history_date>, is_next=False, **kwargs)¶
-
history_change_reason
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
history_date
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
history_id
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
history_object
¶
-
history_type
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
history_user
¶ 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.parent
is aForwardManyToOneDescriptor
instance.
-
history_user_id
¶ 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.
-
instance
¶
-
next_record
¶ Get the next history record for the instance. None if last.
-
objects
= <django.db.models.manager.Manager object>¶
-
prev_record
¶ Get the previous history record for the instance. None if first.
-
revert_url
()¶ URL for this change in the default admin site.
-
exception
-
class
gestion.models.
HistoricalReload
(id, amount, date, customer, PaymentMethod, coopeman, history_id, history_change_reason, history_date, history_user, history_type)¶ Bases :
simple_history.models.HistoricalChanges
,django.db.models.base.Model
-
exception
DoesNotExist
¶ Bases :
django.core.exceptions.ObjectDoesNotExist
-
exception
MultipleObjectsReturned
¶ Bases :
django.core.exceptions.MultipleObjectsReturned
-
PaymentMethod
¶ 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.parent
is aForwardManyToOneDescriptor
instance.
-
PaymentMethod_id
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
amount
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
coopeman
¶ 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.parent
is aForwardManyToOneDescriptor
instance.
-
coopeman_id
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
customer
¶ 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.parent
is aForwardManyToOneDescriptor
instance.
-
customer_id
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
date
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
get_history_type_display
(*, field=<django.db.models.fields.CharField: history_type>)¶
-
get_next_by_date
(*, field=<django.db.models.fields.DateTimeField: date>, is_next=True, **kwargs)¶
-
get_next_by_history_date
(*, field=<django.db.models.fields.DateTimeField: history_date>, is_next=True, **kwargs)¶
-
get_previous_by_date
(*, field=<django.db.models.fields.DateTimeField: date>, is_next=False, **kwargs)¶
-
get_previous_by_history_date
(*, field=<django.db.models.fields.DateTimeField: history_date>, is_next=False, **kwargs)¶
-
history_change_reason
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
history_date
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
history_id
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
history_object
¶
-
history_type
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
history_user
¶ 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.parent
is aForwardManyToOneDescriptor
instance.
-
history_user_id
¶ 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.
-
instance
¶
-
next_record
¶ Get the next history record for the instance. None if last.
-
objects
= <django.db.models.manager.Manager object>¶
-
prev_record
¶ Get the previous history record for the instance. None if first.
-
revert_url
()¶ URL for this change in the default admin site.
-
exception
-
class
gestion.models.
Keg
(*args, **kwargs)¶ Bases :
django.db.models.base.Model
Stores a keg
-
exception
DoesNotExist
¶ Bases :
django.core.exceptions.ObjectDoesNotExist
-
exception
MultipleObjectsReturned
¶ Bases :
django.core.exceptions.MultipleObjectsReturned
-
amount
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
barcode
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
capacity
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
demi
¶ 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.parent
is aForwardManyToOneDescriptor
instance.
-
demi_id
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
galopin
¶ 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.parent
is aForwardManyToOneDescriptor
instance.
-
galopin_id
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
history
= <simple_history.manager.HistoryManager object>¶
-
id
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
is_active
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
keghistory_set
¶ Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
-
name
¶ 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>¶
-
pinte
¶ 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.parent
is aForwardManyToOneDescriptor
instance.
-
pinte_id
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
save_without_historical_record
(*args, **kwargs)¶ Save model without saving a historical record
Make sure you know what you’re doing before you use this method.
-
stockHold
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
exception
-
class
gestion.models.
KegHistory
(*args, **kwargs)¶ Bases :
django.db.models.base.Model
Stores a keg history, related to keg
-
exception
DoesNotExist
¶ Bases :
django.core.exceptions.ObjectDoesNotExist
-
exception
MultipleObjectsReturned
¶ Bases :
django.core.exceptions.MultipleObjectsReturned
-
amountSold
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
closingDate
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
get_next_by_openingDate
(*, field=<django.db.models.fields.DateTimeField: openingDate>, is_next=True, **kwargs)¶
-
get_previous_by_openingDate
(*, field=<django.db.models.fields.DateTimeField: openingDate>, is_next=False, **kwargs)¶
-
history
= <simple_history.manager.HistoryManager object>¶
-
id
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
isCurrentKegHistory
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
keg
¶ 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.parent
is aForwardManyToOneDescriptor
instance.
-
keg_id
¶ 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>¶
-
openingDate
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
quantitySold
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
save_without_historical_record
(*args, **kwargs)¶ Save model without saving a historical record
Make sure you know what you’re doing before you use this method.
-
exception
-
class
gestion.models.
Menu
(*args, **kwargs)¶ Bases :
django.db.models.base.Model
Stores menus
-
exception
DoesNotExist
¶ Bases :
django.core.exceptions.ObjectDoesNotExist
-
exception
MultipleObjectsReturned
¶ Bases :
django.core.exceptions.MultipleObjectsReturned
-
adherent_required
¶
-
amount
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
articles
¶ Accessor to the related objects manager on the forward and reverse sides of a many-to-many relation.
In the example:
class Pizza(Model): toppings = ManyToManyField(Topping, related_name='pizzas')
Pizza.toppings
andTopping.pizzas
areManyToManyDescriptor
instances.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
-
barcode
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
history
= <simple_history.manager.HistoryManager object>¶
-
id
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
is_active
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
-
name
¶ 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>¶
-
save_without_historical_record
(*args, **kwargs)¶ Save model without saving a historical record
Make sure you know what you’re doing before you use this method.
-
exception
-
class
gestion.models.
MenuHistory
(*args, **kwargs)¶ Bases :
django.db.models.base.Model
Stores MenuHistory related to Menu
-
exception
DoesNotExist
¶ Bases :
django.core.exceptions.ObjectDoesNotExist
-
exception
MultipleObjectsReturned
¶ Bases :
django.core.exceptions.MultipleObjectsReturned
-
amount
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
coopeman
¶ 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.parent
is aForwardManyToOneDescriptor
instance.
-
coopeman_id
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
customer
¶ 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.parent
is aForwardManyToOneDescriptor
instance.
-
customer_id
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
date
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
get_next_by_date
(*, field=<django.db.models.fields.DateTimeField: date>, is_next=True, **kwargs)¶
-
get_previous_by_date
(*, field=<django.db.models.fields.DateTimeField: date>, is_next=False, **kwargs)¶
-
history
= <simple_history.manager.HistoryManager object>¶
-
id
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
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.parent
is aForwardManyToOneDescriptor
instance.
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>¶
-
paymentMethod
¶ 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.parent
is aForwardManyToOneDescriptor
instance.
-
paymentMethod_id
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
quantity
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
save_without_historical_record
(*args, **kwargs)¶ Save model without saving a historical record
Make sure you know what you’re doing before you use this method.
-
exception
-
class
gestion.models.
Pinte
(*args, **kwargs)¶ Bases :
django.db.models.base.Model
Stores a physical pinte
-
exception
DoesNotExist
¶ Bases :
django.core.exceptions.ObjectDoesNotExist
-
exception
MultipleObjectsReturned
¶ Bases :
django.core.exceptions.MultipleObjectsReturned
-
current_owner
¶ 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.parent
is aForwardManyToOneDescriptor
instance.
-
current_owner_id
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
get_next_by_last_update_date
(*, field=<django.db.models.fields.DateTimeField: last_update_date>, is_next=True, **kwargs)¶
-
get_previous_by_last_update_date
(*, field=<django.db.models.fields.DateTimeField: last_update_date>, is_next=False, **kwargs)¶
-
history
= <simple_history.manager.HistoryManager object>¶
-
id
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
last_update_date
¶ 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>¶
-
previous_owner
¶ 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.parent
is aForwardManyToOneDescriptor
instance.
-
previous_owner_id
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
save_without_historical_record
(*args, **kwargs)¶ Save model without saving a historical record
Make sure you know what you’re doing before you use this method.
-
exception
-
class
gestion.models.
Product
(*args, **kwargs)¶ Bases :
django.db.models.base.Model
Stores a product
-
BOTTLE
= 'BT'¶
-
D_PRESSION
= 'DP'¶
-
exception
DoesNotExist
¶ Bases :
django.core.exceptions.ObjectDoesNotExist
-
FOOD
= 'FO'¶
-
G_PRESSION
= 'GP'¶
-
exception
MultipleObjectsReturned
¶ Bases :
django.core.exceptions.MultipleObjectsReturned
-
PANINI
= 'PA'¶
-
P_PRESSION
= 'PP'¶
-
SOFT
= 'SO'¶
-
TYPEINPUT_CHOICES_CATEGORIE
= (('PP', 'Pinte Pression'), ('DP', 'Demi Pression'), ('GP', 'Galopin pression'), ('BT', 'Bouteille'), ('SO', 'Soft'), ('FO', 'En-cas'), ('PA', 'Ingredients panini'))¶
-
adherentRequired
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
amount
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
barcode
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
category
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
consumption_set
¶ Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
-
consumptionhistory_set
¶ Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
-
deg
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
futd
¶ Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
-
futg
¶ Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
-
futp
¶ Accessor to the related objects manager on the reverse side of a many-to-one relation.
In the example:
class Child(Model): parent = ForeignKey(Parent, related_name='children')
Parent.children
is aReverseManyToOneDescriptor
instance.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
-
get_category_display
(*, field=<django.db.models.fields.CharField: category>)¶
-
history
= <simple_history.manager.HistoryManager object>¶
-
id
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
is_active
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
Accessor to the related objects manager on the forward and reverse sides of a many-to-many relation.
In the example:
class Pizza(Model): toppings = ManyToManyField(Topping, related_name='pizzas')
Pizza.toppings
andTopping.pizzas
areManyToManyDescriptor
instances.Most of the implementation is delegated to a dynamically defined manager class built by
create_forward_many_to_many_manager()
defined below.
-
name
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
needQuantityButton
¶ 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>¶
-
ranking
¶
-
save_without_historical_record
(*args, **kwargs)¶ Save model without saving a historical record
Make sure you know what you’re doing before you use this method.
-
showingMultiplier
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
stockBar
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
stockHold
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
user_ranking
(pk)¶
-
volume
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
-
class
gestion.models.
Refund
(*args, **kwargs)¶ Bases :
django.db.models.base.Model
Stores refunds
-
exception
DoesNotExist
¶ Bases :
django.core.exceptions.ObjectDoesNotExist
-
exception
MultipleObjectsReturned
¶ Bases :
django.core.exceptions.MultipleObjectsReturned
-
amount
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
coopeman
¶ 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.parent
is aForwardManyToOneDescriptor
instance.
-
coopeman_id
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
customer
¶ 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.parent
is aForwardManyToOneDescriptor
instance.
-
customer_id
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
date
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
get_next_by_date
(*, field=<django.db.models.fields.DateTimeField: date>, is_next=True, **kwargs)¶
-
get_previous_by_date
(*, field=<django.db.models.fields.DateTimeField: date>, is_next=False, **kwargs)¶
-
history
= <simple_history.manager.HistoryManager object>¶
-
id
¶ 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>¶
-
save_without_historical_record
(*args, **kwargs)¶ Save model without saving a historical record
Make sure you know what you’re doing before you use this method.
-
exception
-
class
gestion.models.
Reload
(*args, **kwargs)¶ Bases :
django.db.models.base.Model
Stores reloads
-
exception
DoesNotExist
¶ Bases :
django.core.exceptions.ObjectDoesNotExist
-
exception
MultipleObjectsReturned
¶ Bases :
django.core.exceptions.MultipleObjectsReturned
-
PaymentMethod
¶ 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.parent
is aForwardManyToOneDescriptor
instance.
-
PaymentMethod_id
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
amount
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
coopeman
¶ 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.parent
is aForwardManyToOneDescriptor
instance.
-
coopeman_id
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
customer
¶ 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.parent
is aForwardManyToOneDescriptor
instance.
-
customer_id
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
date
¶ A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.
-
get_next_by_date
(*, field=<django.db.models.fields.DateTimeField: date>, is_next=True, **kwargs)¶
-
get_previous_by_date
(*, field=<django.db.models.fields.DateTimeField: date>, is_next=False, **kwargs)¶
-
history
= <simple_history.manager.HistoryManager object>¶
-
id
¶ 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>¶
-
save_without_historical_record
(*args, **kwargs)¶ Save model without saving a historical record
Make sure you know what you’re doing before you use this method.
-
exception
-
gestion.models.
isDemi
(id)¶
-
gestion.models.
isGalopin
(id)¶
-
gestion.models.
isPinte
(id)¶
gestion.tests module¶
gestion.urls module¶
-
gestion.urls.
path
(route, view, kwargs=None, name=None, *, Pattern=<class 'django.urls.resolvers.RoutePattern'>)¶
gestion.views module¶
-
class
gestion.views.
ActiveProductsAutocomplete
(**kwargs)¶ Bases :
dal_select2.views.Select2QuerySetView
Autocomplete view for active products
-
get_queryset
()¶ Filter the queryset with GET[“q”].
-
-
class
gestion.views.
KegActiveAutocomplete
(**kwargs)¶ Bases :
dal_select2.views.Select2QuerySetView
Autocomplete view for active kegs
-
get_queryset
()¶ Filter the queryset with GET[“q”].
-
-
class
gestion.views.
KegPositiveAutocomplete
(**kwargs)¶ Bases :
dal_select2.views.Select2QuerySetView
Autocomplete view for kegs with positive stockHold
-
get_queryset
()¶ Filter the queryset with GET[“q”].
-
-
class
gestion.views.
MenusAutocomplete
(**kwargs)¶ Bases :
dal_select2.views.Select2QuerySetView
Used as autcomplete for all menus
-
get_queryset
()¶ Filter the queryset with GET[“q”].
-
-
class
gestion.views.
ProductsAutocomplete
(**kwargs)¶ Bases :
dal_select2.views.Select2QuerySetView
Autocomplete view for all products
-
get_queryset
()¶ Filter the queryset with GET[“q”].
-
-
gestion.views.
allocate
(pinte_pk, user)¶ Allocate a pinte to a user or release the pinte if user is None


Track your music listening with Last.fm to get personalised charts and recommendations.
Tracks you listen to will be automatically "scrobbled". Love tracks with the heart symbol in the Now Playing view.
When logged in, this feature shares information about your music listening with Last.fm Ltd / CBS Interactive.


American English
Latin American Spanish
European Spanish
UK English
American French
Dutch
American English
Latin American Spanish
European Spanish
UK English
American French
Dutch
American English
Latin American Spanish
European Spanish
UK English
American French
Dutch


Your current {{ activeSubscription.plan.name }} subscription will start on started on {{ activeSubscription.start_datetime | date:'dd MMMM yyyy' }} and ended on {{ activeSubscription.end_datetime | date:'dd MMMM yyyy' }} with {{ activeSubscription.quantity }} members.
Only you, as the account owner, can upgrade, downgrade or change the billing information for the account.
If your card expired, or you want to switch to another card:
Update your Credit CardIf you are not satisfied with Gorgias Templates for Chrome you can cancel your subscription below.
Warning: If you cancel we will permanently delete all backups of your templates and those of your team members from our servers.
Templates on your computer and your team members will be stored on your computers only! If you delete the extension after you unsubscribe you will lose your templates.
We encourage you to backup your templates before you cancel by exporting here.
{{ paymentError }}
{{ paymentMsg }}
Note: You'll get billed only for what you use.
Simple example: If you begin with 2 users (10$/month) on 1st May, then on 15th May if you add a 3rd
user then on 31st you get billed 12.5$.
Only the account owner, can upgrade, downgrade or change the billing information.
Please contact<EMAIL_ADDRESS>for more information.


For more info please check the components's official demos & documentation
demos & documentation
<mat-checkbox> provides the same functionality as a
native <input type="checkbox"> enhanced with
Material Design styling and animations.
Check me!
@Input() labelPosition: 'before' | 'after' Whether the
label should appear after or before the checkbox. Defaults to 'after'
Check me!Slide labels position
@Output() change: EventEmitter<MatCheckboxChange>
Event emitted when the checkbox's checked value changes.
Check me!Checked: {{ myValue }}
When user clicks on the
mat-checkbox, the default behavior is toggle checked
value and set indeterminate to false. This behavior can be customized
by
providing a new value
of MAT_CHECKBOX_CLICK_ACTION to the checkbox.
CheckedIndeterminateStartEndDisabled
Result:
I'm a checkbox


This challenge focuses on using the this
keyword as well as getting comfortable with prototypes by building out a fantasy themed video game.
Follow these steps to set up and work on your project:
<firstName-lastName>
.<firstName-lastName>
branch, committing changes regularly.<firstName-lastName>
.Follow these steps for completing your project.
console.log()
statements, open up the index.html file found in the assignments folder and use the developer tools to view the console.this
keywordHaving a solid understanding of how this
works will give you a huge advantage when you start building with more advanced frameworks. Use the this.js file to traverse through a few this
problems.
The prototype challenge will focus on building prototypes for a fantasy themed game that includes mages, swordsmen, and archers. Follow the prototypes.js instructions closely to create the beginnings of what could be an awesome JavaScript game.


Showing of 'interpolate' filter: {{ 'Current version is v%VERSION%.' | interpolate }}
Now start test ng model and bind, plese input number:


Hi all,
I have a big difficulty in "Building the full emoncms on the raspberrypi software stack".
All is fine until I arrive to "Install Php Redis Client"
Arrived at this stage, the command :
./configure [--enable-redis-igbinary]
gives me several messages :
at the beginning of the messages
Warning You should use --build --host -- target
Warning invalid host type [--enable-redis-igbinary]
...
at the end og the messages
Invalid configuration [--enable-redis-igbinary]
Machine '[--enable-redis not recognised
Configure: error: /bin/bash ./config.sub [--enable-redis-igbinary] failed
The command make && make install which follows gives :
no target specified and no makefile found. Stop
I am completely blocked.
I have made several attempts, restarting the building fom the very beginning, with always the same result at this point.
Can anyone help me ?
Thanks in advance.
Ben
Re: Difficulty in "Building the full emoncms on the raspberrypi software stack".
Hello Ben, I've update the documentation to use the same steps that are used in the harddrive installation for redis, it can be installed via pecl with:
sudo pecl install redis
and added to php conf with:
sudo sh -c 'echo "extension=redis.so" > /etc/php5/apache2/conf.d/20-redis.ini'
sudo sh -c 'echo "extension=redis.so" > /etc/php5/cli/conf.d/20-redis.ini'
Re: Difficulty in "Building the full emoncms on the raspberrypi software stack".
Hello Trystan,
Thanks for your reply.
I have followed your updated doc.
All went fine, up to the stage "Install Emoncms" .
The command "git clone -b redismetadata https://github.com/emoncms/emoncms.git returned me the fatal message : "Cloning into emoncms. Remote branch redismetadata not found in upstream stream."
By the way, I had the same type of message some days ago, when attempting to update to latest version a Raspberry+Harddrive installation with the command "git pull /var/www/emoncms". I got the message "Your configuration specifies to merge with the ref 'redismetadata' from the remote, but not such ref was fetched."
What can I do to overcome this problem ?
Are these commands to be modified ?
Thanks in advance for your assistance.
Bernard
Re: Difficulty in "Building the full emoncms on the raspberrypi software stack".
Hello,
I have the same problem. I tried too Install redis by github and ./configure Make && make install but I have a lot error messages.
I done all the steps except one of the tutorial.
I can't execute this command : sudo pecl install redis
error message : can't find the pecl command.
And I can't install it.
Someone have an idea?
Thank you.
Franck
Re: Difficulty in "Building the full emoncms on the raspberrypi software stack".
Hello,
I have got the solution :
launch these before :
sudo apt-get install php-http
sudo apt-get install php5-dev
Then start the command :
sudo pecl install redis
And wait, wait, wait ..... :)
Regards,
Franck.