This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <dirent.h> | |
#include <stdio.h> | |
#include <string.h> | |
#include <time.h> | |
int main(void) { | |
DIR *main_dir; | |
FILE *temp_file; | |
struct dirent *read_dir; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class GeometryExcpetion(Exception): | |
pass | |
class GeometryField(serializers.Field): | |
geom_type = None | |
def __init__(self, *args, **kwargs): | |
if not self.geom_type: | |
raise GeometryException('You must declare a `geom_type` attribute on your field' |
NewerOlder