mirror of
				https://github.com/django/django.git
				synced 2025-10-31 09:41:08 +00:00 
			
		
		
		
	
		
			
				
	
	
		
			12 lines
		
	
	
		
			292 B
		
	
	
	
		
			Python
		
	
	
	
	
	
			
		
		
	
	
			12 lines
		
	
	
		
			292 B
		
	
	
	
		
			Python
		
	
	
	
	
	
| from ..models import models
 | |
| 
 | |
| 
 | |
| class RasterModel(models.Model):
 | |
|     rast = models.RasterField('A Verbose Raster Name', null=True, srid=4326, spatial_index=True, blank=True)
 | |
| 
 | |
|     class Meta:
 | |
|         required_db_features = ['supports_raster']
 | |
| 
 | |
|     def __str__(self):
 | |
|         return str(self.id)
 |