Changeset 9747 for src/django_gheat/gheat/models.py
- Timestamp:
- Dec 3, 2011, 11:01:20 AM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
src/django_gheat/gheat/models.py
r9664 r9747 108 108 verbose_name_plural = 'MeetRondjes' 109 109 110 FILE_TYPES = ( 111 ( 'netxml', 'Netstumbler NetXML'), 112 ( 'gpsxml', 'Netstumbler GPSXML'), 113 ( 'droidcsv', 'DroidStumbler CSV'), 114 ) 115 110 116 class MeetBestand(models.Model): 111 117 meetrondje = models.ForeignKey(MeetRondje) 112 118 bestand = models.FileField(upload_to='scan-data/%Y/%m/%d') 113 is_imported = models.BooleanField(default=False) 119 filetype = models.CharField(max_length=64,choices=FILE_TYPES,default='netxml') 120 is_imported = models.BooleanField(default=False,help_text="This field get set the moment the data is processed into the database") 114 121 class Meta: 115 122 verbose_name_plural = 'MeetBestanden'
Note:
See TracChangeset
for help on using the changeset viewer.