OpenLayers OpenLayers

Changeset 7255

Show
Ignore:
Timestamp:
05/22/08 13:26:37 (3 months ago)
Author:
crschmidt
Message:

improved models.

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • project/gallery.openlayers.org/openlayers/gallery/models.py

    r7249 r7255  
    99    description = models.TextField() 
    1010    url = models.CharField(max_length=255) 
    11     type = models.CharField(max_length=15) 
     11    type = models.CharField(max_length=15, choices=(('Map', 'Map'), ('Academic', 'Academic Publication'), ('Non-Map Browsin', 'Non-Map Browsing'))  ) 
     12    technologies = TagField( help_text="Tag list, comma or space seperated" ) 
    1213    image = models.ImageField(upload_to='images/', blank=True) 
    1314    created = models.DateTimeField(auto_now_add=True)  
    1415    modified = models.DateTimeField(auto_now=True)  
    15     technologies = TagField() 
    1616    thumbnail = models.ImageField(upload_to="thumbnails/", editable=False, blank=True) 
    1717