Module ImportFrom alias ImportFrom alias ImportFrom alias ImportFrom alias identifier alias ImportFrom alias ClassDef bases AttributeLoad NameLoad attr body Expr Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Str keyword NameLoad keyword NameLoad keyword NameLoad Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Str keyword NameLoad keyword NameLoad keyword Call NameLoad Str Assign NameStore Call AttributeLoad NameLoad attr Call NameLoad Str keyword NameLoad keyword NameLoad keyword Call NameLoad Str ClassDef bases body Assign NameStore Call NameLoad Str Str Assign NameStore Call NameLoad Str Str decorator_list FunctionDef arguments args NameParam defaults body Expr Str If CompareIs AttributeLoad NameLoad attr NameLoad body Assign NameStore Call AttributeLoad Call AttributeLoad NameLoad attr attr Assign NameStore Call AttributeLoad NameLoad attr AttributeLoad NameLoad attr Num Num Assign NameStore Call AttributeLoad Call AttributeLoad AttributeLoad NameLoad attr attr keyword NameLoad keyword NameLoad attr Call AttributeLoad NameLoad attr Str TryExcept body Assign NameStore BinOpAdd Call NameLoad SubscriptLoad Call NameLoad SubscriptLoad NameLoad Index Str Slice Num Num Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad Str attr AttributeLoad NameLoad attr NameLoad handlers ExceptHandler type TupleLoad NameLoad NameLoad body Assign AttributeStore NameLoad attr Call NameLoad Call AttributeLoad Str attr AttributeLoad NameLoad attr Return Call AttributeLoad NameLoad attr decorator_list FunctionDef arguments args NameParam defaults body Return Call AttributeLoad Str attr SubscriptLoad Call NameLoad AttributeLoad NameLoad attr Slice Num SubscriptLoad Call NameLoad AttributeLoad NameLoad attr Slice Num decorator_list FunctionDef arguments args NameParam NameParam NameParam defaults body Assign AttributeStore NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr Assign AttributeStore NameLoad attr IfExp AttributeLoad NameLoad attr Call AttributeLoad AttributeLoad NameLoad attr attr AttributeLoad NameLoad attr Expr Call AttributeLoad Call NameLoad NameLoad NameLoad attr NameLoad NameLoad decorator_list decorator_list
N/A __future__ unicode_literals django.db models django.utils.datetime_safe datetime django.utils.translation ugettext_lazy _ pgettext_lazy shop.models order Order N/A N/A order BaseOrder N/A N/A Default materialized model for Order N/A number N/A N/A models PositiveIntegerField N/A _ Order Number null True default None unique True N/A shipping_address_text N/A N/A models TextField N/A _ Shipping Address blank True null True help_text N/A _ Shipping address at the moment of purchase. N/A billing_address_text N/A N/A models TextField N/A _ Billing Address blank True null True help_text N/A _ Billing address at the moment of purchase. Meta N/A N/A N/A verbose_name N/A pgettext_lazy order_models Order N/A verbose_name_plural N/A pgettext_lazy order_models Orders N/A get_or_assign_number N/A N/A self N/A N/A N/A 
        Set a unique number to identify this Order object. The first 4 digits represent the
        current year. The last five digits represent a zero-padded incremental counter.
         N/A N/A N/A self number None N/A N/A epoch N/A N/A N/A N/A datetime now date N/A epoch N/A N/A epoch replace N/A epoch year 1 1 N/A aggr N/A N/A N/A N/A N/A Order objects filter number__isnull False created_at__gt epoch aggregate N/A N/A models Max number N/A N/A N/A epoc_number N/A N/A int N/A N/A str N/A aggr N/A number__max N/A 4 1 N/A N/A self number N/A int N/A N/A {0}{1:05d} format N/A epoch year epoc_number N/A N/A N/A N/A KeyError ValueError N/A N/A N/A self number N/A int N/A N/A {0}00001 format N/A epoch year N/A N/A N/A self get_number N/A get_number N/A N/A self N/A N/A N/A N/A N/A {0}-{1} format N/A N/A str N/A self number N/A 4 N/A N/A str N/A self number N/A 4 N/A populate_from_cart N/A N/A self cart request N/A N/A N/A N/A self shipping_address_text N/A N/A N/A cart shipping_address as_text N/A N/A self billing_address_text N/A N/A cart billing_address N/A N/A N/A cart billing_address as_text N/A self shipping_address_text N/A N/A N/A N/A super Order self populate_from_cart cart request N/A N/A