Changes between Version 1 and Version 2 of CookBookGenericAttribute
- Timestamp:
- Jun 25, 2010, 3:01:51 PM (14 years ago)
Legend:
- Unmodified
- Added
- Removed
- Modified
-
CookBookGenericAttribute
v1 v2 57 57 {{{ 58 58 #!python 59 >>> diamond = Mineral.objects.create(name="Diamond", hardness=10)59 >>> quartz = Mineral.objects.create(name="Quartz", hardness=10) 60 60 >>> emerald = Mineral.objects.create(name="Emerald", hardness=6) 61 61 >>> Attribute.objects.create(content_object=quartz, name='color', value='black')