Package hm :: Package db :: Module graph :: Class UPC
[hide private]
[frames] | no frames]

Class UPC

source code


Nested Classes [hide private]
  Admin
  DoesNotExist
  MultipleObjectsReturned

Inherited from django.db.models.base.Model: __metaclass__

Instance Methods [hide private]
 
__unicode__(self) source code
 
AddManipulator(...)
 
ChangeManipulator(...)
 
get_upc_image_filename(*moreargs, **morekwargs)
 
get_upc_image_size(*moreargs, **morekwargs)
 
get_upc_image_url(*moreargs, **morekwargs)
 
objects(...)
 
save_upc_image_file(instance, filename, raw_contents, save=True)

Inherited from rating.RatingMixin: add_rating, rating_by_user

Inherited from tag.TagMixin: add_tag

Inherited from django.db.models.base.Model: __eq__, __init__, __ne__, __repr__, __str__, delete, save, validate

Inherited from django.db.models.base.Model (private): _collect_sub_objects, _get_FIELD_display, _get_FIELD_filename, _get_FIELD_height, _get_FIELD_size, _get_FIELD_url, _get_FIELD_width, _get_image_dimensions, _get_next_or_previous_by_FIELD, _get_next_or_previous_in_order, _get_pk_val, _save_FIELD_file, _set_pk_val

Inherited from object: __delattr__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__

Class Methods [hide private]

Inherited from tag.TagMixin: by_tag, by_tag_id, tag_cloud

Inherited from log.ActionMixin: by_user

Inherited from django.db.models.base.Model: add_to_class

Inherited from django.db.models.base.Model (private): _prepare

Class Variables [hide private]
  _default_manager = <django.db.models.manager.Manager object at...
  _meta = <Options for UPC>
  tagging_set = <django.contrib.contenttypes.generic.ReverseGene...
Instance Variables [hide private]
  upc_code = models.CharField(max_length= 255)
The numerical sequence uniquely identifying a product.
Binary image file upc_image = models.FileField(upload_to= "database/var/upc", nu...
An image of the barcode for reference.
Node node = models.ForeignKey(Node)
A foreign key to the Node this UPC is for.

Inherited from rating.RatingMixin: ratings

Inherited from log.ActionMixin: actions, log

Properties [hide private]

Inherited from rating.RatingMixin: aggregate_rating, rating_by_current_user

Inherited from tag.TagMixin: taggings, tags

Inherited from tag.SlugMixin: slug, slugs

Inherited from log.ActionMixin: action, time, user

Inherited from django.db.models.base.Model: pk

Inherited from object: __class__

Class Variable Details [hide private]

_default_manager

Value:
<django.db.models.manager.Manager object at 0x4083a8ac>

tagging_set

Value:
<django.contrib.contenttypes.generic.ReverseGenericRelatedObjectsDescr\
iptor object at 0x408d3e0c>

Instance Variable Details [hide private]

upc_code

The numerical sequence uniquely identifying a product. This will usually be numerical, but it is not limited to that by the database.
Value:
models.CharField(max_length= 255)

upc_image

An image of the barcode for reference.
Type:
Binary image file
Value:
models.FileField(upload_to= "database/var/upc", null= True)